[arch-commits] Commit in python-regex/repos/community-x86_64 (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon Apr 15 01:59:08 UTC 2019
Date: Monday, April 15, 2019 @ 01:59:08
Author: eschwartz
Revision: 451681
archrelease: copy trunk to community-x86_64
Added:
python-regex/repos/community-x86_64/PKGBUILD
(from rev 451680, python-regex/trunk/PKGBUILD)
Deleted:
python-regex/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 136 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 68 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-15 01:58:16 UTC (rev 451680)
+++ PKGBUILD 2019-04-15 01:59:08 UTC (rev 451681)
@@ -1,68 +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=2019.04.12
-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')
-options=(!emptydirs)
-source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
-sha256sums=('7ca6e9b1d8757af3d8e23bd21391a3362a53c644d60931853da7f8d072e6b3ff')
-b2sums=('57180561d85dd6fd4a0d5ace227f8e4e1b04c684085d840a93b8813c08ffee6b96e9f1b8f9626466b116288ea390c2047e0ca033d2c2c52b68348d3601a4005b')
-
-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.test_regex import test_main; test_main()'
- popd
-
- pushd build/lib.linux-${CARCH}-2*/
- python2 -c 'from regex.test.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
-
- install -v -m755 -d "${pkgdir}/usr/share/doc/python2-regex"
- install -v -m644 ./docs/Features.html "${pkgdir}/usr/share/doc/python2-regex/"
- install -v -m644 ./docs/Features.rst "${pkgdir}/usr/share/doc/python2-regex/"
- install -v -m644 ./docs/UnicodeProperties.txt "${pkgdir}/usr/share/doc/python2-regex/"
-
- sed -n '1,/^$/p' regex_2/regex/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
-
- install -v -m755 -d "${pkgdir}/usr/share/doc/python-regex"
- install -v -m644 ./docs/Features.html "${pkgdir}/usr/share/doc/python-regex/"
- install -v -m644 ./docs/Features.rst "${pkgdir}/usr/share/doc/python-regex/"
- install -v -m644 ./docs/UnicodeProperties.txt "${pkgdir}/usr/share/doc/python-regex/"
-
- sed -n '1,/^$/p' regex_3/regex/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-regex/repos/community-x86_64/PKGBUILD (from rev 451680, python-regex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-15 01:59:08 UTC (rev 451681)
@@ -0,0 +1,68 @@
+# 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=2019.04.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')
+options=(!emptydirs)
+source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
+sha256sums=('d56ce4c7b1a189094b9bee3b81c4aeb3f1ba3e375e91627ec8561b6ab483d0a8')
+b2sums=('5807f869f3fbe7ddaecdd78a00dfa7129c23916c1da505b31f49153bf60e17b14a9c35702d001fef5fd4928278d1cd730008119087ec6041f2f83ba7c84fd10b')
+
+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.test_regex import test_main; test_main()'
+ popd
+
+ pushd build/lib.linux-${CARCH}-2*/
+ python2 -c 'from regex.test.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
+
+ install -v -m755 -d "${pkgdir}/usr/share/doc/python2-regex"
+ install -v -m644 ./docs/Features.html "${pkgdir}/usr/share/doc/python2-regex/"
+ install -v -m644 ./docs/Features.rst "${pkgdir}/usr/share/doc/python2-regex/"
+ install -v -m644 ./docs/UnicodeProperties.txt "${pkgdir}/usr/share/doc/python2-regex/"
+
+ sed -n '1,/^$/p' regex_2/regex/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
+
+ install -v -m755 -d "${pkgdir}/usr/share/doc/python-regex"
+ install -v -m644 ./docs/Features.html "${pkgdir}/usr/share/doc/python-regex/"
+ install -v -m644 ./docs/Features.rst "${pkgdir}/usr/share/doc/python-regex/"
+ install -v -m644 ./docs/UnicodeProperties.txt "${pkgdir}/usr/share/doc/python-regex/"
+
+ sed -n '1,/^$/p' regex_3/regex/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list