[arch-commits] Commit in python-regex/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun May 26 21:51:46 UTC 2019


    Date: Sunday, May 26, 2019 @ 21:51:45
  Author: eschwartz
Revision: 470858

archrelease: copy trunk to community-x86_64

Added:
  python-regex/repos/community-x86_64/PKGBUILD
    (from rev 470857, 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-05-26 21:51:28 UTC (rev 470857)
+++ PKGBUILD	2019-05-26 21:51:45 UTC (rev 470858)
@@ -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.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
-}

Copied: python-regex/repos/community-x86_64/PKGBUILD (from rev 470857, python-regex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-26 21:51:45 UTC (rev 470858)
@@ -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.05.25
+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=('0ac2ba14f1e069507eec395140c0701045340f386a7ee7adb95961b3a2d821ef')
+b2sums=('2e1a7a82efd36d47636759f0c387b756db2587d9ba33ba4b4145a6b251e59d02869b65901532430c3a2d1adc39546583a0179fd4ae303cce95ab0fd3f93cfc71')
+
+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