David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-pyrss2gen


Commits:
fa2bae75 by David Runge at 2024-04-05T21:32:54+02:00
Add nvchecker integration

Signed-off-by: David Runge <[email protected]>

- - - - -
01debdc3 by David Runge at 2024-04-05T21:34:48+02:00
Remove unnecessary quotes and curly braces

Signed-off-by: David Runge <[email protected]>

- - - - -
7704ff7f by David Runge at 2024-04-05T21:35:03+02:00
Switch to correct SPDX license identifier

Signed-off-by: David Runge <[email protected]>

- - - - -
dd0af208 by David Runge at 2024-04-05T21:36:06+02:00
Remove comment about sdist tarballs

Signed-off-by: David Runge <[email protected]>

- - - - -
55912ba6 by David Runge at 2024-04-05T21:36:39+02:00
Update maintainer info

Signed-off-by: David Runge <[email protected]>

- - - - -
9a6c27f8 by David Runge at 2024-04-05T21:38:38+02:00
Switch to PEP517

Signed-off-by: David Runge <[email protected]>

- - - - -
4dad4167 by David Runge at 2024-04-05T21:39:00+02:00
upgpkg: 1.1-16: Rebuild against Python 3.12

- - - - -


3 changed files:

- + .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,17 @@
+pkgbase = python-pyrss2gen
+       pkgdesc = Generate RSS2 using a Python data structure
+       pkgver = 1.1
+       pkgrel = 16
+       url = http://www.dalkescientific.com/Python/PyRSS2Gen.html
+       arch = any
+       license = BSD-3-Clause
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-setuptools
+       makedepends = python-wheel
+       depends = python
+       source = http://www.dalkescientific.com/Python/PyRSS2Gen-1.1.tar.gz
+       sha512sums = 
2240686914c87984626eb739676927fcd53488158bdebf589e07e8a778e6d24305964e032581c61836f0fabc1264e42d05c88eac8f4c5f6536c31c775434ce02
+       b2sums = 
1f388e8616c79d8b5436f69191d479c529e1348308d69782a833bec714da6289fc459ea2b554a1e660027a25d0581c441a0e75a623add3c42c8c33c5cc8518e1
+
+pkgname = python-pyrss2gen


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,3 @@
+[python-pyrss2gen]
+source = "pypi"
+pypi = "pyrss2gen"


=====================================
PKGBUILD
=====================================
@@ -1,30 +1,32 @@
-# Maintainer: David Runge <[email protected]>
+# Maintainer: David Runge <[email protected]>
+
 _name=PyRSS2Gen
 pkgname=python-pyrss2gen
 pkgver=1.1
-pkgrel=15
+pkgrel=16
 pkgdesc="Generate RSS2 using a Python data structure"
-arch=('any')
+arch=(any)
 url="http://www.dalkescientific.com/Python/PyRSS2Gen.html";
-license=('BSD')
-depends=('python')
-makedepends=('python-setuptools')
-# pypi source doesn't contain LICENSE
-#source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
-source=("http://www.dalkescientific.com/Python/${_name}-${pkgver}.tar.gz";)
+license=(BSD-3-Clause)
+depends=(python)
+makedepends=(
+  python-build
+  python-installer
+  python-setuptools
+  python-wheel
+)
+source=(http://www.dalkescientific.com/Python/$_name-$pkgver.tar.gz)
 
sha512sums=('2240686914c87984626eb739676927fcd53488158bdebf589e07e8a778e6d24305964e032581c61836f0fabc1264e42d05c88eac8f4c5f6536c31c775434ce02')
+b2sums=('1f388e8616c79d8b5436f69191d479c529e1348308d69782a833bec714da6289fc459ea2b554a1e660027a25d0581c441a0e75a623add3c42c8c33c5cc8518e1')
 
 build() {
-  cd "${_name}-$pkgver"
-  python setup.py build
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
 }
 
 package() {
-  cd "${_name}-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 README -t "$pkgdir/usr/share/doc/$pkgname/"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyrss2gen/-/compare/44a109993783f1f41d14f960f271c49897b663ea...4dad4167b87102c60f0fcbb843de6d9a3f6cdc18

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyrss2gen/-/compare/44a109993783f1f41d14f960f271c49897b663ea...4dad4167b87102c60f0fcbb843de6d9a3f6cdc18
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to