mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
github.com/eliben/pycparser (#3346)
* new file: projects/github.com/eliben/pycparser/package.yml * test deps
This commit is contained in:
parent
5525b6ebf2
commit
4500cd80ea
1 changed files with 23 additions and 0 deletions
23
projects/github.com/eliben/pycparser/package.yml
Normal file
23
projects/github.com/eliben/pycparser/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/eliben/pycparser/archive/release_v{{version.marketing}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
github: eliben/pycparser/tags
|
||||||
|
strip: /^release_v/
|
||||||
|
runtime:
|
||||||
|
env:
|
||||||
|
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH"
|
||||||
|
dependencies:
|
||||||
|
python.org: ^3.11
|
||||||
|
build:
|
||||||
|
script:
|
||||||
|
- python -m pip install --prefix={{prefix}} .
|
||||||
|
- mkdir -p {{prefix}}/pkgshare
|
||||||
|
- cp -r examples {{prefix}}/pkgshare/
|
||||||
|
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
||||||
|
working-directory: "{{prefix}}/lib"
|
||||||
|
test:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
script:
|
||||||
|
- python {{prefix}}/pkgshare/examples/c-to-c.py {{prefix}}/pkgshare/examples/c_files/basic.c
|
Loading…
Reference in a new issue