[arch-commits] Commit in python-regex/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun Mar 17 05:37:36 UTC 2019


    Date: Sunday, March 17, 2019 @ 05:37:35
  Author: eschwartz
Revision: 442292

upgpkg: python-regex 2019.03.09-1

upstream release
adapt to changed layout of testsuite

Modified:
  python-regex/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-17 05:30:51 UTC (rev 442291)
+++ PKGBUILD	2019-03-17 05:37:35 UTC (rev 442292)
@@ -6,7 +6,7 @@
 _pkgbase=regex
 pkgbase=python-regex
 pkgname=('python-regex' 'python2-regex')
-pkgver=2019.02.18
+pkgver=2019.03.09
 pkgrel=1
 pkgdesc="Alternative python regular expression module."
 arch=('x86_64')
@@ -15,7 +15,7 @@
 makedepends=('python-setuptools' 'python2-setuptools')
 options=(!emptydirs)
 source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
-sha256sums=('91af69ec1b09db8bf384508dc5108c164b4e020f857aa5c124334c078d387baf')
+sha256sums=('0849077a8dfe9dba24459eb9937abe2f75a719dd6a9ab65851550765e3642aa2')
 
 build() {
   cd "regex-${pkgver}"
@@ -28,11 +28,11 @@
   cd "regex-${pkgver}"
 
   pushd build/lib.linux-${CARCH}-3*/
-  python test_regex.py
+  python -c 'from regex.test.test_regex import test_main; test_main()'
   popd
 
   pushd build/lib.linux-${CARCH}-2*/
-  python2 test_regex.py
+  python2 -c 'from regex.test.test_regex import test_main; test_main()'
   popd
 }
 



More information about the arch-commits mailing list