2023-09-22 16:08:01 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/cython/cython/archive/{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
versions:
|
|
|
|
github: cython/cython
|
|
|
|
dependencies:
|
2023-10-03 18:23:56 +03:00
|
|
|
python.org: ~3.11
|
2023-09-22 16:08:01 +03:00
|
|
|
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:
|
|
|
|
script:
|
|
|
|
- python setup.py build_ext --inplace
|
|
|
|
- python -c "import package_manager" | grep "You are using tea"
|