mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
96c2d17152
closes #4491
31 lines
710 B
YAML
31 lines
710 B
YAML
distributable:
|
|
url: https://github.com/lxml/lxml/releases/download/lxml-{{version}}/lxml-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: lxml/lxml
|
|
strip: /^lxml-/
|
|
|
|
dependencies:
|
|
python.org: ^3.10
|
|
gnome.org/libxml2: ~2.11
|
|
gnome.org/libxslt: ^1
|
|
|
|
runtime:
|
|
env:
|
|
PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'
|
|
|
|
build:
|
|
script:
|
|
- python -m pip install --prefix={{prefix}} .
|
|
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
|
working-directory: '{{prefix}}/lib'
|
|
env:
|
|
linux:
|
|
CC: clang
|
|
CXX: clang++
|
|
LD: clang
|
|
|
|
test:
|
|
script:
|
|
- python -c "import lxml"
|