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/
|
2023-03-03 21:53:16 +01:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2019-08-08 15:41:36 +02:00
|
|
|
# Depends on: python3-beautifulsoup4 python3-cssselect python3-cython python3-html5lib libxslt
|
|
|
|
|
|
|
|
name=python3-lxml
|
2023-11-09 19:33:58 +01:00
|
|
|
_name=${name#python3-}
|
2024-01-06 11:02:48 +01:00
|
|
|
version=5.1.0
|
2023-12-20 13:34:52 +01:00
|
|
|
release=1
|
2023-03-03 21:53:16 +01:00
|
|
|
source=(https://github.com/$_name/$_name/releases/download/$_name-$version/$_name-$version.tar.gz)
|
2019-08-08 15:41:36 +02:00
|
|
|
|
|
|
|
build() {
|
2023-11-09 19:33:58 +01:00
|
|
|
cd $_name-$version
|
2019-08-08 15:41:36 +02:00
|
|
|
|
2023-11-09 19:33:58 +01:00
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2019-08-08 15:41:36 +02:00
|
|
|
}
|