[arch-commits] Commit in python-listparser/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Jul 18 20:25:30 UTC 2022


    Date: Monday, July 18, 2022 @ 20:25:30
  Author: arojas
Revision: 1254461

upgpkg: python-listparser 0.19-1: Update to 0.19

Modified:
  python-listparser/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-18 20:18:44 UTC (rev 1254460)
+++ PKGBUILD	2022-07-18 20:25:30 UTC (rev 1254461)
@@ -3,28 +3,30 @@
 
 _pkgname=listparser
 pkgname=python-listparser
-pkgver=0.18
-pkgrel=5
+pkgver=0.19
+pkgrel=1
 pkgdesc='Python library that parses OPML, RDF+FOAF, and the iGoogle subscription lists'
 arch=('any')
 url='https://github.com/kurtmckee/listparser'
 license=('GPL3')
-depends=('python')
-makedepends=('python-setuptools')
+depends=('python-requests')
+makedepends=('python-build' 'python-installer' 'python-poetry')
+checkdepends=('python-pytest')
 source=("https://github.com/kurtmckee/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('cee2d369b8e494142e045ac72848727543f3391ad8b8489ff8a3e8a53b6b0a48')
+sha256sums=('0a64a286ae5b65c565174fb4fd7b7944aa8bfc7754e0328603af9ebad6b03945')
 
 build() {
   cd $_pkgname-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
   cd $_pkgname-$pkgver
-  python lptest.py
+  PYTHONPATH="$PWD"/src \
+  pytest -v
 }
 
 package() {
   cd $_pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



More information about the arch-commits mailing list