Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 'cinemagoerng' and 'typedload' #28537

Merged
merged 5 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions recipes/cinemagoerng/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python_min: '3.10'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to have this defined in the recipe itself, making it easier to remove/update when the time comes.

49 changes: 49 additions & 0 deletions recipes/cinemagoerng/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% set name = "cinemagoerng" %}
{% set version = "0.4" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/cinemagoer/cinemagoerng/archive/v{{ version }}.tar.gz
sha256: 44e90d7c13e6bbcef81ed3ba1125228d8b7e5aede12e007d7b0ce967daa88018

build:
entry_points:
- cinemagoerng = cinemagoerng:cli.main
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- setuptools
- pip
run:
- python >={{ python_min }},<4.dev0
- typedload
- lxml
- jmespath

test:
imports:
- cinemagoerng
commands:
- pip check
- cinemagoerng --help
requires:
- pip
- python {{ python_min }}

about:
summary: Retrieve data from the IMDb.
license: GPL-2.0-or-later
license_file: LICENSE.txt
dev_url: https://github.com/cinemagoer/cinemagoerng
home: https://github.com/cinemagoer/cinemagoerng

extra:
recipe-maintainers:
- HeavyTony2
44 changes: 44 additions & 0 deletions recipes/typedload/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{% set name = "typedload" %}
{% set version = "2.37" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/typedload-{{ version }}.tar.gz
sha256: 0cd60fb9fb2119e00643bc302ece6700da3146d145a6c45a39e2ec8151d740b1

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- setuptools
- wheel
- pip
run:
- python >={{ python_min }}

test:
imports:
- typedload
commands:
- pip check
requires:
- pip
- python {{ python_min }}

about:
home: https://ltworf.codeberg.page/typedload/
summary: Load and dump data from json-like format into typed data structures
license: GPL-3.0-or-later
license_file: LICENSE
dev_url: https://codeberg.org/ltworf/typedload

extra:
recipe-maintainers:
- HeavyTony2
Loading