Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-calver


Commits:
d426db0a by loqs at 2024-03-10T15:49:39+00:00
Change to a PEP 517 based workflow

- - - - -
106e80cd by loqs at 2024-03-10T15:50:49+00:00
Use SPDX license

https://github.com/di/calver/blob/2022.06.26/LICENSE

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -5,10 +5,10 @@ pkgver=2022.06.26
 pkgrel=2
 pkgdesc="Setuptools extension for CalVer package versions"
 url="https://github.com/di/calver";
-license=('Apache')
+license=('Apache-2.0')
 arch=('any')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
 checkdepends=('python-pytest' 'python-pretend')
 source=("https://github.com/di/calver/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
 
sha512sums=('4d436cead8930cae1a71eddef9f0ecd2881f8cb632c3814dc75390b061a909e7ca969a604a5fded1c66647947856d540e2180bd3ce4bed5087b4dbc9d5edb393')
@@ -20,7 +20,7 @@ prepare() {
 
 build() {
   cd calver-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -32,5 +32,5 @@ check() {
 
 package() {
   cd calver-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-calver/-/compare/6f042ff0f2d44b251e4ec3aa9aae47588fdfe7ee...106e80cd8a5476ba3c8d51f89503e7176330db75

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-calver/-/compare/6f042ff0f2d44b251e4ec3aa9aae47588fdfe7ee...106e80cd8a5476ba3c8d51f89503e7176330db75
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to