diff --git a/recipes/shared-memory-dict/build_base.sh b/recipes/shared-memory-dict/build_base.sh new file mode 100644 index 0000000000000..50997370e2fd3 --- /dev/null +++ b/recipes/shared-memory-dict/build_base.sh @@ -0,0 +1 @@ +${PYTHON} -m pip install . --no-deps --no-build-isolation -vv diff --git a/recipes/shared-memory-dict/meta.yaml b/recipes/shared-memory-dict/meta.yaml new file mode 100644 index 0000000000000..f0603839c3cda --- /dev/null +++ b/recipes/shared-memory-dict/meta.yaml @@ -0,0 +1,81 @@ +{% set name = "shared-memory-dict" %} +{% set version = "0.7.2" %} + +package: + name: {{ name|lower }}-meta + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/shared-memory-dict-{{ version }}.tar.gz + sha256: 8294257e1a2466afb5e19a878a8c446325b8913d57d6d9578ccba905564a974d + +build: + number: 0 + +outputs: + - name: shared-memory-dict + build: + noarch: python + script: build_base.sh + requirements: + host: + - pip + - python >=3.8,<4.0 + - poetry + run: + - python >=3.8,<4.0 + run_constrained: + - aiocache >=0.11.1,<0.12.0 + - django >=3.0.8,<4.0.0 + test: + imports: + - shared_memory_dict + commands: + - pip check + requires: + - pip + + - name: shared-memory-dict-aiocache + build: + noarch: generic + requirements: + run: + - {{ pin_subpackage('shared-memory-dict', exact=True) }} + - aiocache + test: + imports: + - shared_memory_dict + + - name: shared-memory-dict-django + build: + noarch: generic + requirements: + run: + - {{ pin_subpackage('shared-memory-dict', exact=True) }} + - django + test: + imports: + - shared_memory_dict + + - name: shared-memory-dict-all + build: + noarch: generic + requirements: + run: + - {{ pin_subpackage('shared-memory-dict-aiocache', exact=True) }} + - {{ pin_subpackage('shared-memory-dict-django', exact=True) }} + test: + imports: + - shared_memory_dict + +about: + home: https://github.com/luizalabs/shared-memory-dict + summary: A very simple shared memory dict implementation + license: MIT + license_file: + - LICENSE + +extra: + recipe-maintainers: + - maxb2 + feedstock-name: shared-memory-dict