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


Commits:
df0986b4 by loqs at 2026-02-04T23:21:07+00:00
SPDX license identifier

https://github.com/box/flaky/blob/v3.8.1/LICENSE

- - - - -
d4054f0b by loqs at 2026-02-04T23:21:38+00:00
Use PEP 517 for building

Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -4,10 +4,13 @@ pkgbase = python-flaky
        pkgrel = 3
        url = https://github.com/box/flaky
        arch = any
-       license = Apache
+       license = Apache-2.0
        checkdepends = python-pytest
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
        source = git+https://github.com/box/flaky.git#tag=v3.8.1
        sha512sums = 
43e3479659daa5a67449bd9defb2ffab71232fcfc7d876e4e3ef1540932203a7357b35a200b69f735b93105aaacc6d84d31d842fd9b0f412a3498b39a7e4102b


=====================================
PKGBUILD
=====================================
@@ -5,17 +5,17 @@ pkgver=3.8.1
 pkgrel=3
 pkgdesc='Plugin for nose or py.test that automatically reruns flaky tests'
 arch=('any')
-license=('Apache')
+license=('Apache-2.0')
 url='https://github.com/box/flaky'
 depends=('python')
-makedepends=('git' 'python-setuptools')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-pytest')
 source=("git+https://github.com/box/flaky.git#tag=v$pkgver";)
 
sha512sums=('43e3479659daa5a67449bd9defb2ffab71232fcfc7d876e4e3ef1540932203a7357b35a200b69f735b93105aaacc6d84d31d842fd9b0f412a3498b39a7e4102b')
 
 build() {
   cd flaky
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -33,7 +33,7 @@ check() {
 
 package() {
   cd flaky
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flaky/-/compare/2d34f5fa3561dfb8780ae32da479e17dbd9a584f...d4054f0b8c33165139ece65e2e3556a624d150c2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-flaky/-/compare/2d34f5fa3561dfb8780ae32da479e17dbd9a584f...d4054f0b8c33165139ece65e2e3556a624d150c2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to