2023-09-17 19:47:32 +03:00
|
|
|
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:
|
2023-10-02 03:41:57 +03:00
|
|
|
PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'
|
2023-09-17 19:47:32 +03:00
|
|
|
dependencies:
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: ~3.11
|
2023-09-17 19:47:32 +03:00
|
|
|
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}}
|
2023-10-02 03:41:57 +03:00
|
|
|
working-directory: '{{prefix}}/lib'
|
2024-03-30 21:26:52 +03:00
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
linux:
|
|
|
|
llvm.org: '*' # `cpp`
|
|
|
|
script: python {{prefix}}/pkgshare/examples/c-to-c.py {{prefix}}/pkgshare/examples/c_files/basic.c
|