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


Commits:
c9d58d67 by loqs at 2024-03-06T23:49:21+00:00
Call pytest directly

- - - - -
ae2b9f6d by loqs at 2024-03-07T19:44:10+00:00
Change to a PEP 517 based workflow

- - - - -
e32854e6 by loqs at 2024-03-07T19:44:17+00:00
Change to SPDX license identifier

https://github.com/celery/vine/blob/v5.1.0/LICENSE

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -5,25 +5,25 @@ pkgver=5.1.0
 pkgrel=1
 pkgdesc="Promises, promises, promises"
 arch=('any')
-license=('BSD')
+license=('BSD-3-Clause')
 url="https://github.com/celery/vine";
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 
'python-wheel')
 checkdepends=('python-pytest' 'python-case')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/celery/vine/archive/v$pkgver.tar.gz";)
 
sha512sums=('9ed1f18fba76fb34ed1f083a29db5a90ccffef83dbb6c2c90f83e4136520d8a27fa8b12a7ea6923c8f73532bf174d6403484fd37e0ac26247f2108aa1faabf65')
 
 build() {
   cd "$srcdir"/vine-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
   cd "$srcdir"/vine-$pkgver
-  python setup.py test
+  pytest
 }
 
 package() {
   cd vine-$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-vine/-/compare/29c38290cbd6858368b7f0a39b41a55aa53749ba...e32854e6df308796e0b8147f8c5f844badc0ce02

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-vine/-/compare/29c38290cbd6858368b7f0a39b41a55aa53749ba...e32854e6df308796e0b8147f8c5f844badc0ce02
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to