[arch-commits] Commit in python-clikit/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Wed Aug 31 08:09:19 UTC 2022
Date: Wednesday, August 31, 2022 @ 08:09:19
Author: alerque
Revision: 1289126
upgpkg: python-clikit 0.6.2-7; unpin python-crashtest, see FS#75733
Modified:
python-clikit/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-31 08:06:17 UTC (rev 1289125)
+++ PKGBUILD 2022-08-31 08:09:19 UTC (rev 1289126)
@@ -4,7 +4,7 @@
_pkgname=clikit
pkgname=python-clikit
pkgver=0.6.2
-pkgrel=6
+pkgrel=7
pkgdesc='clikit allows you to create beautiful and testable command-line interfaces'
arch=(any)
url="https://github.com/sdispater/${_pkgname}"
@@ -21,8 +21,15 @@
sha256sums=('4bb1d934e0c0a93f25429919242d11d60dcd1d9c65ac096033092d7973cbfc6e')
b2sums=('b72f245128c698375f97139cf245bdc8c017e3e2d142f6e3183a42620b23a024531e5b14f05163c6defa9ee54c52c19a64932c62484f2ec8da5c75ea1b7d3d27')
-build(){
+prepare() {
cd "$_archive"
+ # Unpin crashtest which we have packaged at 0.4.0
+ # https://bugs.archlinux.org/task/75733
+ sed -i -e '/^crashtest/s/\^/>=/' pyproject.toml
+}
+
+build() {
+ cd "$_archive"
python -m build -wn
}
More information about the arch-commits
mailing list