[arch-commits] Commit in python-regex/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Fri May 22 19:54:47 UTC 2020
Date: Friday, May 22, 2020 @ 19:54:46
Author: eschwartz
Revision: 631684
archrelease: copy trunk to community-x86_64
Added:
python-regex/repos/community-x86_64/PKGBUILD
(from rev 631683, python-regex/trunk/PKGBUILD)
Deleted:
python-regex/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-22 19:54:11 UTC (rev 631683)
+++ PKGBUILD 2020-05-22 19:54:46 UTC (rev 631684)
@@ -1,60 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Nikola Milinković <nikmil at gmail.com>
-# Submitter: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
-
-_pkgbase=regex
-pkgbase=python-regex
-pkgname=('python-regex' 'python2-regex')
-pkgver=2020.5.7
-pkgrel=1
-pkgdesc="Alternative python regular expression module."
-arch=('x86_64')
-url="https://bitbucket.org/mrabarnett/mrab-regex"
-license=('Python')
-makedepends=('python-setuptools' 'python2-setuptools')
-# https://bitbucket.org/mrabarnett/mrab-regex/issues/366/tests-use-internal-test-module-instead-of
-checkdepends=('python-tests')
-options=(!emptydirs)
-source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
-sha256sums=('73a10404867b835f1b8a64253e4621908f0d71150eb4e97ab2e7e441b53e9451')
-b2sums=('cdfebb92b5dc8a80f358f47a0a8c66fe38c4df46faf7d744e65f586be32dacc0c7d1c1de11b0838d6562c6f8c29f7fa11c902a5454d39f42e3f502be9ef3a49a')
-
-build() {
- cd "regex-${pkgver}"
-
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd "regex-${pkgver}"
-
- pushd build/lib.linux-${CARCH}-3*/
- python -c 'from regex.test_regex import test_main; test_main()'
- popd
-
- pushd build/lib.linux-${CARCH}-2*/
- python2 -c 'from regex.test_regex import test_main; test_main()'
- popd
-}
-
-package_python2-regex() {
- depends=('python2')
- pkgdesc="Alternative python regular expression module. (python2 version)"
-
- cd "regex-${pkgver}"
- python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-
- sed -n '1,/^$/p' regex_2/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python-regex() {
- depends=('python')
- pkgdesc="Alternative python regular expression module. (python3 version)"
-
- cd "regex-${pkgver}"
- python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-
- sed -n '1,/^$/p' regex_3/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-regex/repos/community-x86_64/PKGBUILD (from rev 631683, python-regex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-22 19:54:46 UTC (rev 631684)
@@ -0,0 +1,60 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Nikola Milinković <nikmil at gmail.com>
+# Submitter: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
+
+_pkgbase=regex
+pkgbase=python-regex
+pkgname=('python-regex' 'python2-regex')
+pkgver=2020.5.14
+pkgrel=1
+pkgdesc="Alternative python regular expression module."
+arch=('x86_64')
+url="https://bitbucket.org/mrabarnett/mrab-regex"
+license=('Python')
+makedepends=('python-setuptools' 'python2-setuptools')
+# https://bitbucket.org/mrabarnett/mrab-regex/issues/366/tests-use-internal-test-module-instead-of
+checkdepends=('python-tests')
+options=(!emptydirs)
+source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
+sha256sums=('ce450ffbfec93821ab1fea94779a8440e10cf63819be6e176eb1973a6017aff5')
+b2sums=('bf846ce6565053e2da25fb250b2f28c5219ca27acc8ad976c180db52ce85737e4b30919ef1f6b515690d7f1333313f251bc8e76bbfaf1b9e154b3752e6f2255b')
+
+build() {
+ cd "regex-${pkgver}"
+
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd "regex-${pkgver}"
+
+ pushd build/lib.linux-${CARCH}-3*/
+ python -c 'from regex.test_regex import test_main; test_main()'
+ popd
+
+ pushd build/lib.linux-${CARCH}-2*/
+ python2 -c 'from regex.test_regex import test_main; test_main()'
+ popd
+}
+
+package_python2-regex() {
+ depends=('python2')
+ pkgdesc="Alternative python regular expression module. (python2 version)"
+
+ cd "regex-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+
+ sed -n '1,/^$/p' regex_2/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python-regex() {
+ depends=('python')
+ pkgdesc="Alternative python regular expression module. (python3 version)"
+
+ cd "regex-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+
+ sed -n '1,/^$/p' regex_3/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list