mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
new file: projects/github.com/benjaminp/six/package.yml
new file: projects/github.com/benjaminp/six/test.py
This commit is contained in:
parent
ea19959ac8
commit
89dfd08079
2 changed files with 19 additions and 0 deletions
16
projects/github.com/benjaminp/six/package.yml
Normal file
16
projects/github.com/benjaminp/six/package.yml
Normal 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
|
3
projects/github.com/benjaminp/six/test.py
Normal file
3
projects/github.com/benjaminp/six/test.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
import six
|
||||
assert not six.PY2
|
||||
assert six.PY3
|
Loading…
Reference in a new issue