Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-readability-lxml


Commits:
3a7b87e0 by Antonio Rojas at 2023-09-02T10:19:50+02:00
upgpkg: 0.8.1-7: Add missing cssselect dependency (FS#73374), switch to PEP 517

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -4,22 +4,22 @@
 _pkgname=python-readability
 pkgname=python-readability-lxml
 pkgver=0.8.1
-pkgrel=6
+pkgrel=7
 pkgdesc='Fast html to text parser (article readability tool) python library'
 arch=('any')
 url='https://github.com/buriy/python-readability'
 license=('Apache')
-depends=('python-chardet' 'python-lxml')
-makedepends=('python-setuptools')
+depends=('python-chardet' 'python-lxml' 'python-cssselect')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 
source=("https://github.com/buriy/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
 sha256sums=('e6650d608174fde8e9feb07cb86c16f5d42e09e0dd446093d1b529d55f2b939a')
 
 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 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-readability-lxml/-/commit/3a7b87e082e78d14dec1d3e0e77a11ba74e48fb5

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-readability-lxml/-/commit/3a7b87e082e78d14dec1d3e0e77a11ba74e48fb5
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to