Skip to content

Commit

Permalink
Merge pull request #19855 from maxb2/shared-memory-dict
Browse files Browse the repository at this point in the history
Add shared-memory-dict
  • Loading branch information
carterbox authored Aug 28, 2022
2 parents 6333ae3 + dbdf871 commit b7110e5
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipes/shared-memory-dict/build_base.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
${PYTHON} -m pip install . --no-deps --no-build-isolation -vv
81 changes: 81 additions & 0 deletions recipes/shared-memory-dict/meta.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b7110e5

Please sign in to comment.