Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-aniso8601


Commits:
f7a61cd1 by loqs at 2024-04-05T21:29:10+01:00
Change to a PEP 517 based workflow

- - - - -
72465189 by loqs at 2024-04-05T21:29:12+01:00
Change to SPDX license identifier

https://bitbucket.org/nielsenb/aniso8601/src/v9.0.1/LICENSE

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -5,10 +5,10 @@ pkgver=9.0.1
 pkgrel=7
 pkgdesc="A library for parsing ISO 8601 strings."
 url="https://bitbucket.org/nielsenb/aniso8601";
-license=('BSD')
+license=('BSD-3-Clause')
 arch=('any')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-dateutil' 'python-pytest')
 
source=("$pkgname-$pkgver.tar.gz::https://bitbucket.org/nielsenb/aniso8601/get/v$pkgver.tar.gz";)
 
sha512sums=('82b3c943fe3be845ee375e232c6aafb20d4ede560831f594e91ad75e93fd6d12316ad7285c6ebb796587ace27f56c4b0c17059d9c2d1aa9525394802ea19d00c')
@@ -19,7 +19,7 @@ prepare() {
 
 build() {
   cd "$srcdir"/aniso8601-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -29,6 +29,6 @@ check() {
 
 package() {
   cd aniso8601-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aniso8601/-/compare/bb2dca7c975725a66835983b806e28215be27c19...724651891d9ec89f29ac4a32045f48ff49672444

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-aniso8601/-/compare/bb2dca7c975725a66835983b806e28215be27c19...724651891d9ec89f29ac4a32045f48ff49672444
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to