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 --- .SRCINFO | 12 +++++++----- PKGBUILD | 14 +++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 5922460..f2ecb42 100644 --- a/.SRCINFO +++ b/.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/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