Skip to content

Commit

Permalink
add warrant-lite, envs (#10413)
Browse files Browse the repository at this point in the history
* add warrant-lite + envs

* envs: noarch, warrant-lite: skip py2k

* envs: noarch, warrant-lite: skip not py36

* try noarch + pinning pip

* try noarch with warrant-lite

* warrant-lite requires py>36

* pip <19

* limit python in requirements
  • Loading branch information
benhuff authored and marcelotrevisani committed Dec 11, 2019
1 parent ade8e4e commit ac45be8
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 0 deletions.
51 changes: 51 additions & 0 deletions recipes/envs/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{% 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:
noarch: python
number: 0
entry_points:
- envs=envs.cli:envs
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python
run:
- python
- click
- jinja2
- terminaltables

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
48 changes: 48 additions & 0 deletions recipes/warrant-lite/meta.yaml
Original file line number Diff line number Diff line change
@@ -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:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- python >=3.6
- pip <19
run:
- python >=3.6
- 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

0 comments on commit ac45be8

Please sign in to comment.