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

Eli Schwartz eschwartz at archlinux.org
Tue May 12 05:14:58 UTC 2020


    Date: Tuesday, May 12, 2020 @ 05:14:55
  Author: eschwartz
Revision: 626575

archrelease: copy trunk to community-x86_64

Added:
  python-regex/repos/community-x86_64/PKGBUILD
    (from rev 626574, 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-12 05:14:21 UTC (rev 626574)
+++ PKGBUILD	2020-05-12 05:14:55 UTC (rev 626575)
@@ -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.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
-}

Copied: python-regex/repos/community-x86_64/PKGBUILD (from rev 626574, python-regex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 05:14:55 UTC (rev 626575)
@@ -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.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
+}



More information about the arch-commits mailing list