Massimiliano Torromeo pushed to branch main at Arch Linux / Packaging /
Packages / python-patchwork
Commits:
211de3a5 by Massimiliano Torromeo at 2026-01-31T11:50:06+01:00
upgpkg: 1.0.1-11: Use PEP 517 for building
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,14 @@
pkgbase = python-patchwork
pkgdesc = Common deployment/sysadmin operations, built on Fabric
pkgver = 1.0.1
- pkgrel = 10
+ pkgrel = 11
url = https://github.com/fabric/patchwork
arch = any
- license = BSD
+ license = BSD-2-Clause
makedepends = python-setuptools
+ makedepends = python-build
+ makedepends = python-installer
+ makedepends = python-wheel
depends = fabric
source =
https://github.com/fabric/patchwork/archive/1.0.1/python-patchwork-1.0.1.tar.gz
source = invoke-devendor.patch
=====================================
PKGBUILD
=====================================
@@ -2,13 +2,13 @@
pkgname=python-patchwork
pkgver=1.0.1
-pkgrel=10
+pkgrel=11
pkgdesc="Common deployment/sysadmin operations, built on Fabric"
arch=(any)
url="https://github.com/fabric/patchwork"
-license=('BSD')
+license=('BSD-2-Clause')
depends=('fabric')
-makedepends=('python-setuptools')
+makedepends=(python-setuptools python-build python-installer python-wheel)
source=("https://github.com/fabric/patchwork/archive/$pkgver/$pkgname-$pkgver.tar.gz"
"invoke-devendor.patch")
sha256sums=('0fda64a68a26a8acab897742773894fb765e1cc0049971675f50d7d5f8ae4fd7'
@@ -21,11 +21,11 @@ prepare() {
build() {
cd "$srcdir"/patchwork-$pkgver
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
cd "$srcdir"/patchwork-$pkgver
- python setup.py install -O1 --skip-build --root="$pkgdir"
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-patchwork/-/commit/211de3a5cb1500dc8be6f693524ab2e863b102fa
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-patchwork/-/commit/211de3a5cb1500dc8be6f693524ab2e863b102fa
You're receiving this email because of your account on gitlab.archlinux.org.