new file: projects/github.com/benjaminp/six/package.yml

new file:   projects/github.com/benjaminp/six/test.py
This commit is contained in:
Andrii Riabchenko 2023-09-04 18:04:03 +03:00 committed by Jacob Heider
parent ea19959ac8
commit 89dfd08079
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,16 @@
distributable:
url: https://github.com/benjaminp/six/archive/{{version}}.tar.gz
strip-components: 1
versions:
github: benjaminp/six/tags
dependencies:
python.org: ^3.11
runtime:
env:
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages/six-{{version}}-py{{deps.python.org.version.marketing}}.egg:$PYTHONPATH"
build:
script:
- python setup.py install --prefix={{prefix}}
test:
script:
- python test.py

View file

@ -0,0 +1,3 @@
import six
assert not six.PY2
assert six.PY3