[arch-commits] Commit in python-setproctitle/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at gemini.archlinux.org
Tue Aug 16 13:27:59 UTC 2022
Date: Tuesday, August 16, 2022 @ 13:27:59
Author: mtorromeo
Revision: 1266626
upgpkg: python-setproctitle 1.3.1-1
Modified:
python-setproctitle/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-16 13:25:52 UTC (rev 1266625)
+++ PKGBUILD 2022-08-16 13:27:59 UTC (rev 1266626)
@@ -1,7 +1,7 @@
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
pkgname=python-setproctitle
-pkgver=1.2.3
+pkgver=1.3.1
pkgrel=1
pkgdesc="Allows a python process to change its process title"
license=("BSD")
@@ -11,7 +11,7 @@
checkdepends=('python-pytest' 'procps-ng')
arch=('x86_64')
source=(https://files.pythonhosted.org/packages/source/s/setproctitle/setproctitle-$pkgver.tar.gz)
-sha256sums=('ecf28b1c07a799d76f4326e508157b71aeda07b84b90368ea451c0710dbd32c0')
+sha256sums=('3d134c2effeb945e8227f7d3d24ea8ad49c03c87ac91a8d67bf967730fa9daba')
build() {
cd "$srcdir"/setproctitle-$pkgver
@@ -19,8 +19,8 @@
}
check() {
- local _pyver=$(python -c "import sys; print('{0}.{1}'.format(*sys.version_info[:2]))")
- cd "$srcdir"/setproctitle-$pkgver/build/lib.linux-$CARCH-$_pyver
+ local _pyver=$(python -c "import sys; print('{0}{1}'.format(*sys.version_info[:2]))")
+ cd "$srcdir"/setproctitle-$pkgver/build/lib.linux-$CARCH-cpython-$_pyver
python -m pytest ../../tests
}
More information about the arch-commits
mailing list