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

Eli Schwartz eschwartz at archlinux.org
Fri Sep 25 05:59:10 UTC 2020


    Date: Friday, September 25, 2020 @ 05:59:09
  Author: eschwartz
Revision: 711973

archrelease: copy trunk to community-x86_64

Added:
  python-regex/repos/community-x86_64/PKGBUILD
    (from rev 711972, python-regex/trunk/PKGBUILD)
Deleted:
  python-regex/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 39 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-25 05:58:56 UTC (rev 711972)
+++ PKGBUILD	2020-09-25 05:59:09 UTC (rev 711973)
@@ -1,58 +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.7.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=('3a3af27a8d23143c49a3420efe5b3f8cf1a48c6fc8bc6856b03f638abc1833bb')
-b2sums=('d77f40c5dc4ced1e66dc385e6f203cb2479ee016d8c5ec6987c839b5b1ae576eda04d1d53268188ffe91c9cdf9e60e5b789ad698a680311362ecc7f4cb09d498')
-
-build() {
-  cd "regex-${pkgver}"
-
-  python setup.py build
-  python2 setup.py build
-}
-
-check() {
-  cd "regex-${pkgver}"
-
-  pushd build/lib.linux-${CARCH}-3*/
-  python -m unittest regex/test_regex.py
-  popd
-
-  pushd build/lib.linux-${CARCH}-2*/
-  python2 -m unittest regex.test_regex
-  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 711972, python-regex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-25 05:59:09 UTC (rev 711973)
@@ -0,0 +1,39 @@
+# 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
+pkgname=python-regex
+pkgver=2020.7.14
+pkgrel=2
+pkgdesc="Alternative python regular expression module."
+arch=('x86_64')
+url="https://bitbucket.org/mrabarnett/mrab-regex"
+license=('Python')
+depends=('python')
+makedepends=('python-setuptools')
+options=(!emptydirs)
+source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
+sha256sums=('3a3af27a8d23143c49a3420efe5b3f8cf1a48c6fc8bc6856b03f638abc1833bb')
+b2sums=('d77f40c5dc4ced1e66dc385e6f203cb2479ee016d8c5ec6987c839b5b1ae576eda04d1d53268188ffe91c9cdf9e60e5b789ad698a680311362ecc7f4cb09d498')
+
+build() {
+  cd "regex-${pkgver}"
+
+  python setup.py build
+}
+
+check() {
+  cd "regex-${pkgver}"
+
+  cd build/lib.linux-${CARCH}-3*/
+  python -m unittest regex/test_regex.py
+}
+
+package() {
+  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