Date: Monday, July 18, 2022 @ 20:25:38 Author: arojas Revision: 1254462
archrelease: copy trunk to community-any Added: python-listparser/repos/community-any/PKGBUILD (from rev 1254461, python-listparser/trunk/PKGBUILD) Deleted: python-listparser/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-18 20:25:30 UTC (rev 1254461) +++ PKGBUILD 2022-07-18 20:25:38 UTC (rev 1254462) @@ -1,30 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Gabriele Musco <gab...@disroot.org> - -_pkgname=listparser -pkgname=python-listparser -pkgver=0.18 -pkgrel=5 -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') -source=("https://github.com/kurtmckee/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('cee2d369b8e494142e045ac72848727543f3391ad8b8489ff8a3e8a53b6b0a48') - -build() { - cd $_pkgname-$pkgver - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - python lptest.py -} - -package() { - cd $_pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-listparser/repos/community-any/PKGBUILD (from rev 1254461, python-listparser/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-18 20:25:38 UTC (rev 1254462) @@ -0,0 +1,32 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Gabriele Musco <gab...@disroot.org> + +_pkgname=listparser +pkgname=python-listparser +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-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=('0a64a286ae5b65c565174fb4fd7b7944aa8bfc7754e0328603af9ebad6b03945') + +build() { + cd $_pkgname-$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd $_pkgname-$pkgver + PYTHONPATH="$PWD"/src \ + pytest -v +} + +package() { + cd $_pkgname-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl +}