fix(lxml)

closes #4491
This commit is contained in:
Jacob Heider 2023-12-19 13:36:48 -05:00 committed by Jacob Heider
parent 3f18331478
commit 96c2d17152

View file

@ -1,29 +1,31 @@
distributable: distributable:
url: https://github.com/lxml/lxml/releases/download/lxml-{{version}}/lxml-{{version}}.tar.gz url: https://github.com/lxml/lxml/releases/download/lxml-{{version}}/lxml-{{version}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
github: lxml/lxml github: lxml/lxml
strip: /^lxml-/ strip: /^lxml-/
dependencies: dependencies:
python.org: ^3.10 python.org: ^3.10
gnome.org/libxml2: '*' gnome.org/libxml2: ~2.11
gnome.org/libxslt: '*' gnome.org/libxslt: ^1
runtime: runtime:
env: env:
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH" PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'
build: build:
dependencies:
linux:
llvm.org: '*'
script: script:
- python -m pip install --prefix={{prefix}} . - python -m pip install --prefix={{prefix}} .
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: "{{prefix}}/lib" working-directory: '{{prefix}}/lib'
env: env:
linux: linux:
CC: clang CC: clang
CXX: clang++ CXX: clang++
LD: clang LD: clang
test: test:
script: script:
- python -c "import lxml" - python -c "import lxml"