mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
d8a1496c2d
* fix(libcython) closes #3694 * sigh
27 lines
No EOL
846 B
YAML
27 lines
No EOL
846 B
YAML
distributable:
|
|
url: https://github.com/cython/cython/archive/{{version}}.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
github: cython/cython
|
|
dependencies:
|
|
python.org: ~3.11
|
|
runtime:
|
|
env:
|
|
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages"
|
|
build:
|
|
script:
|
|
- python -m pip install --prefix={{prefix}}/libexec .
|
|
- run: |
|
|
ln -s ../libexec/lib/python{{deps.python.org.version.marketing}} python{{deps.python.org.version.marketing}}
|
|
ln -s ../libexec/lib/python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
|
working-directory: "{{prefix}}/lib"
|
|
test:
|
|
dependencies:
|
|
llvm.org: '*'
|
|
env:
|
|
linux:
|
|
CC: clang
|
|
AS: llvm-as
|
|
script:
|
|
- python setup.py build_ext --inplace
|
|
- python -c "import package_manager" | grep "You are using tea" |