From bc557aabd5252542ee14567c48948de3edb95498 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 18 Nov 2024 15:56:57 +0100 Subject: upgpkg: python-html-text 0.6.2-1 Change upstream source to up-to-date fork https://github.com/zytedata/html-text --- python-html-text/.SRCINFO | 12 +++++++----- python-html-text/PKGBUILD | 14 +++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/python-html-text/.SRCINFO b/python-html-text/.SRCINFO index 5922460..f2ecb42 100644 --- a/python-html-text/.SRCINFO +++ b/python-html-text/.SRCINFO @@ -1,13 +1,15 @@ pkgbase = python-html-text pkgdesc = Python library to extract text from HTML - pkgver = 0.5.2 + pkgver = 0.6.2 pkgrel = 1 - url = https://github.com/TeamHG-Memex/html-text + url = https://github.com/zytedata/html-text arch = any license = MIT - makedepends = python-setuptools + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel depends = python-lxml - source = python-html-text-0.5.2.tar.gz::https://github.com/TeamHG-Memex/html-text/archive/0.5.2.tar.gz - sha256sums = c75a1da10d649f55162446de57f98374059a998071110a343815841286a442f9 + source = python-html-text-0.6.2.tar.gz::https://github.com/zytedata/html-text/archive/0.6.2.tar.gz + sha256sums = 2bda73192e3009bacb626c8feacc9ab5f0685947eb5847e181fb1d330410bcc3 pkgname = python-html-text diff --git a/python-html-text/PKGBUILD b/python-html-text/PKGBUILD index 140450d..1cb0452 100644 --- a/python-html-text/PKGBUILD +++ b/python-html-text/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