Skip to content
Snippets Groups Projects
Commit 0c4931fe authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

upgpkg: 2022.8.17-1

parent 48f8a3d4
No related branches found
No related tags found
No related merge requests found
......@@ -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 @@ depends=('python')
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 @@ build() {
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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment