contrib/python3-lxml/Pkgfile

20 lines
540 B
Plaintext
Raw Normal View History

2019-08-08 15:41:36 +02:00
# Description: A pythonic binding for the libxml2 and libxslt libraries.
2020-06-01 17:45:48 +02:00
# URL: https://lxml.de/
2019-08-08 15:41:36 +02:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-beautifulsoup4 python3-cssselect python3-cython python3-html5lib libxslt
name=python3-lxml
2021-03-22 08:35:45 +01:00
_name=${name#*-}
2022-12-15 14:51:52 +01:00
version=4.9.2
2019-08-08 15:41:36 +02:00
release=1
2021-03-22 08:35:45 +01:00
source=(https://github.com/$_name/$_name/archive/refs/tags/$_name-$version.tar.gz)
2019-08-08 15:41:36 +02:00
build() {
2021-03-22 08:35:45 +01:00
cd $_name-$_name-$version
2019-08-08 15:41:36 +02:00
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
}