2023-11-04 22:43:12 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/lxml/lxml/releases/download/lxml-{{version}}/lxml-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
2023-12-19 21:36:48 +03:00
|
|
|
|
2023-11-04 22:43:12 +03:00
|
|
|
versions:
|
|
|
|
github: lxml/lxml
|
|
|
|
strip: /^lxml-/
|
2023-12-19 21:36:48 +03:00
|
|
|
|
2023-11-04 22:43:12 +03:00
|
|
|
dependencies:
|
|
|
|
python.org: ^3.10
|
2023-12-19 21:36:48 +03:00
|
|
|
gnome.org/libxml2: ~2.11
|
|
|
|
gnome.org/libxslt: ^1
|
|
|
|
|
2023-11-04 22:43:12 +03:00
|
|
|
runtime:
|
|
|
|
env:
|
2023-12-19 21:36:48 +03:00
|
|
|
PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'
|
|
|
|
|
2023-11-04 22:43:12 +03:00
|
|
|
build:
|
|
|
|
script:
|
|
|
|
- python -m pip install --prefix={{prefix}} .
|
|
|
|
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
|
2023-12-19 21:36:48 +03:00
|
|
|
working-directory: '{{prefix}}/lib'
|
2023-11-04 22:43:12 +03:00
|
|
|
env:
|
|
|
|
linux:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
|
|
|
LD: clang
|
2023-12-19 21:36:48 +03:00
|
|
|
|
2023-11-04 22:43:12 +03:00
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- python -c "import lxml"
|