[arch-commits] Commit in python-regex/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Apr 19 17:02:24 UTC 2020
Date: Sunday, April 19, 2020 @ 17:02:23
Author: eschwartz
Revision: 616519
archrelease: copy trunk to community-x86_64
Added:
python-regex/repos/community-x86_64/PKGBUILD
(from rev 616518, 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-04-19 17:02:04 UTC (rev 616518)
+++ PKGBUILD 2020-04-19 17:02:23 UTC (rev 616519)
@@ -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.2.20
-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=('9e9624440d754733eddbcd4614378c18713d2d9d0dc647cf9c72f64e39671be5')
-b2sums=('cc23ec03dc83068320155e4e660ee27e00935d179566d007e21879506f80dd67b2c1abdd6a4dac789a239474a8b3358f1fcbcee53af91b3d2b7ef71ce19c7ab1')
-
-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 616518, python-regex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-19 17:02:23 UTC (rev 616519)
@@ -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.4.4
+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=('295badf61a51add2d428a46b8580309c520d8b26e769868b922750cf3ce67142')
+b2sums=('0dc41e1f1464014bcdc10b7209f7ac0506aeb6a3e09c16b4ca302619aaa8271cb06138627e8ed7f64ff80cf661eb83f07b4514828cf7fa94f21211fc42ae9f7c')
+
+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