From 09cad7887cf983dbaa9f8923eac1a8be32f06bb7 Mon Sep 17 00:00:00 2001 From: benhuff Date: Tue, 10 Dec 2019 15:22:20 -0500 Subject: [PATCH 1/8] add warrant-lite + envs --- recipes/envs/meta.yaml | 47 +++++++++++++++++++++++++++++++++ recipes/warrant-lite/meta.yaml | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 recipes/envs/meta.yaml create mode 100644 recipes/warrant-lite/meta.yaml diff --git a/recipes/envs/meta.yaml b/recipes/envs/meta.yaml new file mode 100644 index 0000000000000..64fe920791cf5 --- /dev/null +++ b/recipes/envs/meta.yaml @@ -0,0 +1,47 @@ +{% set name = "envs" %} +{% set version = "1.3" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: ccf5cd85ddb8ed335e39ed8a22e0d23658f5a6d7da430f225e6f750c6f50ae42 + +build: + number: 0 + entry_points: + - envs=envs.cli:envs + script: {{ PYTHON }} -m pip install . -vv + +requirements: + host: + - pip + - python + run: + - python + +test: + requires: + - click + - jinja2 + - terminaltables + imports: + - envs + commands: + - envs --help + +about: + home: https://github.com/bjinwright/envs + license: Apache-2.0 + license_family: Apache + license_file: LICENSE + summary: Easy access of environment variables from Python with support for strings, booleans, list, tuples, and dicts. + dev_url: https://github.com/bjinwright/envs + +extra: + recipe-maintainers: + - benhuff + - oblute + - rluria14 diff --git a/recipes/warrant-lite/meta.yaml b/recipes/warrant-lite/meta.yaml new file mode 100644 index 0000000000000..9c0383e09d436 --- /dev/null +++ b/recipes/warrant-lite/meta.yaml @@ -0,0 +1,48 @@ +{% set name = "warrant-lite" %} +{% set version = "1.0.4" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: 16e9d6a2c9599f7a345877addbe2ed8203b76db6ded942cc5d6f77ab4ec6c49e + +build: + noarch: python + number: 0 + script: {{ PYTHON }} -m pip install . -vv + +requirements: + host: + - python + - pip + run: + - python + - boto3 + - envs + - python-jose + - requests + +test: + imports: + - warrant_lite + +about: + home: https://github.com/capless/warrant-lite + license: Apache-2.0 + license_family: Apache + license_file: LICENSE + summary: | + Small Python library for process SRP requests for AWS Cognito. This library was + initially included in the [Warrant](https://www.github.com/capless/warrant) library. + We decided to separate it because not all projects and workfows need all of the + helper classes and functions in Warrant. + dev_url: https://github.com/capless/warrant-lite + +extra: + recipe-maintainers: + - benhuff + - rluria14 + - oblute From 08c6bbc8382fc3ae946bce039a7459ce9a5b13e0 Mon Sep 17 00:00:00 2001 From: benhuff Date: Tue, 10 Dec 2019 15:33:32 -0500 Subject: [PATCH 2/8] envs: noarch, warrant-lite: skip py2k --- recipes/envs/meta.yaml | 1 + recipes/warrant-lite/meta.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/envs/meta.yaml b/recipes/envs/meta.yaml index 64fe920791cf5..749487643bb03 100644 --- a/recipes/envs/meta.yaml +++ b/recipes/envs/meta.yaml @@ -10,6 +10,7 @@ source: sha256: ccf5cd85ddb8ed335e39ed8a22e0d23658f5a6d7da430f225e6f750c6f50ae42 build: + noarch: python number: 0 entry_points: - envs=envs.cli:envs diff --git a/recipes/warrant-lite/meta.yaml b/recipes/warrant-lite/meta.yaml index 9c0383e09d436..cdf6a8875f9ba 100644 --- a/recipes/warrant-lite/meta.yaml +++ b/recipes/warrant-lite/meta.yaml @@ -10,8 +10,8 @@ source: sha256: 16e9d6a2c9599f7a345877addbe2ed8203b76db6ded942cc5d6f77ab4ec6c49e build: - noarch: python number: 0 + skip: True # [py2k] script: {{ PYTHON }} -m pip install . -vv requirements: From 1a925836bb88f056b32bb1b47742ab2e4f581e7e Mon Sep 17 00:00:00 2001 From: benhuff Date: Tue, 10 Dec 2019 15:43:35 -0500 Subject: [PATCH 3/8] envs: noarch, warrant-lite: skip not py36 --- recipes/warrant-lite/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/warrant-lite/meta.yaml b/recipes/warrant-lite/meta.yaml index cdf6a8875f9ba..1ffe26f58bcc9 100644 --- a/recipes/warrant-lite/meta.yaml +++ b/recipes/warrant-lite/meta.yaml @@ -11,7 +11,7 @@ source: build: number: 0 - skip: True # [py2k] + skip: True # [not py36] script: {{ PYTHON }} -m pip install . -vv requirements: From 060871f39b884a580131fd32abf0efd975501b5b Mon Sep 17 00:00:00 2001 From: benhuff Date: Tue, 10 Dec 2019 16:01:52 -0500 Subject: [PATCH 4/8] try noarch + pinning pip --- recipes/envs/meta.yaml | 3 +++ recipes/warrant-lite/meta.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/envs/meta.yaml b/recipes/envs/meta.yaml index 749487643bb03..4e98b9095ffb6 100644 --- a/recipes/envs/meta.yaml +++ b/recipes/envs/meta.yaml @@ -22,6 +22,9 @@ requirements: - python run: - python + - click + - jinja2 + - terminaltables test: requires: diff --git a/recipes/warrant-lite/meta.yaml b/recipes/warrant-lite/meta.yaml index 1ffe26f58bcc9..d18f595b70a19 100644 --- a/recipes/warrant-lite/meta.yaml +++ b/recipes/warrant-lite/meta.yaml @@ -17,7 +17,7 @@ build: requirements: host: - python - - pip + - pip ==18.1 run: - python - boto3 From 8a1ea8014a460e5d58c88d13795fd743037bd908 Mon Sep 17 00:00:00 2001 From: benhuff Date: Tue, 10 Dec 2019 16:13:33 -0500 Subject: [PATCH 5/8] try noarch with warrant-lite --- recipes/warrant-lite/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/warrant-lite/meta.yaml b/recipes/warrant-lite/meta.yaml index d18f595b70a19..93a96b475974b 100644 --- a/recipes/warrant-lite/meta.yaml +++ b/recipes/warrant-lite/meta.yaml @@ -10,8 +10,8 @@ source: sha256: 16e9d6a2c9599f7a345877addbe2ed8203b76db6ded942cc5d6f77ab4ec6c49e build: + noarch: python number: 0 - skip: True # [not py36] script: {{ PYTHON }} -m pip install . -vv requirements: From d2f5a85cc1f5efced7acfdf24ffe1b02e0209dcd Mon Sep 17 00:00:00 2001 From: benhuff Date: Tue, 10 Dec 2019 16:21:14 -0500 Subject: [PATCH 6/8] warrant-lite requires py>36 --- recipes/warrant-lite/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/warrant-lite/meta.yaml b/recipes/warrant-lite/meta.yaml index 93a96b475974b..89ddd58d83572 100644 --- a/recipes/warrant-lite/meta.yaml +++ b/recipes/warrant-lite/meta.yaml @@ -10,8 +10,8 @@ source: sha256: 16e9d6a2c9599f7a345877addbe2ed8203b76db6ded942cc5d6f77ab4ec6c49e build: - noarch: python number: 0 + skip: True # [py<36] script: {{ PYTHON }} -m pip install . -vv requirements: From 06ebf50697df5cd94a235d715e10e9fed3313a1b Mon Sep 17 00:00:00 2001 From: benhuff Date: Tue, 10 Dec 2019 17:26:18 -0500 Subject: [PATCH 7/8] pip <19 --- recipes/warrant-lite/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/warrant-lite/meta.yaml b/recipes/warrant-lite/meta.yaml index 89ddd58d83572..65a4f0ac78e4f 100644 --- a/recipes/warrant-lite/meta.yaml +++ b/recipes/warrant-lite/meta.yaml @@ -17,7 +17,7 @@ build: requirements: host: - python - - pip ==18.1 + - pip <19 run: - python - boto3 From 7f2a8e2f5caff205b56cd31bf66c3e8d19c41de1 Mon Sep 17 00:00:00 2001 From: benhuff Date: Wed, 11 Dec 2019 09:36:53 -0500 Subject: [PATCH 8/8] limit python in requirements --- recipes/warrant-lite/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/warrant-lite/meta.yaml b/recipes/warrant-lite/meta.yaml index 65a4f0ac78e4f..83e319432bc1c 100644 --- a/recipes/warrant-lite/meta.yaml +++ b/recipes/warrant-lite/meta.yaml @@ -11,15 +11,15 @@ source: build: number: 0 - skip: True # [py<36] + noarch: python script: {{ PYTHON }} -m pip install . -vv requirements: host: - - python + - python >=3.6 - pip <19 run: - - python + - python >=3.6 - boto3 - envs - python-jose