mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
2cc0602c12
commit
abb50e27a6
1 changed files with 29 additions and 0 deletions
29
projects/lxml.de/package.yml
Normal file
29
projects/lxml.de/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
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: '*'
|
||||
gnome.org/libxslt: '*'
|
||||
runtime:
|
||||
env:
|
||||
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH"
|
||||
build:
|
||||
dependencies:
|
||||
linux:
|
||||
llvm.org: '*'
|
||||
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"
|
Loading…
Reference in a new issue