From 658adf4fe70d0a4de0ecf3a7773028d7d098bfff Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 18 Nov 2024 16:03:26 +0100 Subject: Update to 0.6.2-1 Change upstream to up-to-date fork --- PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 140450d..1cb0452 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,23 +1,23 @@ # Maintainer: Yigit Sever pkgname=python-html-text _pkgname=html-text -pkgver=0.5.2 +pkgver=0.6.2 pkgrel=1 pkgdesc="Python library to extract text from HTML" arch=('any') -url="https://github.com/TeamHG-Memex/html-text" +url="https://github.com/zytedata/html-text" license=('MIT') -depends=('python-lxml') -makedepends=('python-setuptools') +depends=(python-lxml) +makedepends=(python-build python-installer python-wheel) source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('c75a1da10d649f55162446de57f98374059a998071110a343815841286a442f9') +sha256sums=('2bda73192e3009bacb626c8feacc9ab5f0685947eb5847e181fb1d330410bcc3') build() { cd "${_pkgname}-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "${_pkgname}-${pkgver}" - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } -- cgit v1.2.3-70-g09d2