[arch-commits] Commit in python-regex/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Tue Sep 6 15:34:56 UTC 2022
Date: Tuesday, September 6, 2022 @ 15:34:55
Author: alerque
Revision: 1294448
upgpkg: python-regex 2022.8.17-1
Modified:
python-regex/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-06 15:32:25 UTC (rev 1294447)
+++ PKGBUILD 2022-09-06 15:34:55 UTC (rev 1294448)
@@ -6,7 +6,7 @@
_pkgbase=regex
pkgname=python-regex
-pkgver=2022.6.2
+pkgver=2022.8.17
pkgrel=1
pkgdesc="Alternative python regular expression module."
arch=('x86_64')
@@ -16,8 +16,8 @@
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
-sha256sums=('f7b43acb2c46fb2cd506965b2d9cf4c5e64c9c612bac26c1187933c7296bf08c')
-b2sums=('48587a91366203301c517dc9cfe4f09e70905924484b906481bc89cf376854d406871312e154ac8b5833feeb50848636a95fdf99511df4feda4f16794a70856b')
+sha256sums=('5c77eab46f3a2b2cd8bbe06467df783543bf7396df431eb4a144cc4b89e9fb3c')
+b2sums=('c4425e01fea5c25b9ad77e645d3671d65e747a6ee9bd7b8c1870396b4bd989c3a3ec73c33b72eb5e00f24b8e9fff2cef8c229280d2b98a13df7dd8a07bd1b2c9')
build() {
cd "regex-${pkgver}"
@@ -28,7 +28,8 @@
check() {
cd "regex-${pkgver}"
- cd build/lib.linux-${CARCH}-3*/
+ local _pyver=cpython-$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
+ cd "$PWD/build/lib.linux-$CARCH-$_pyver"
python -m unittest regex/test_regex.py
}
More information about the arch-commits
mailing list