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

Eli Schwartz eschwartz at archlinux.org
Mon Aug 19 23:33:33 UTC 2019


    Date: Monday, August 19, 2019 @ 23:33:33
  Author: eschwartz
Revision: 500229

archrelease: copy trunk to community-x86_64

Added:
  python-regex/repos/community-x86_64/PKGBUILD
    (from rev 500228, 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-08-19 23:33:17 UTC (rev 500228)
+++ PKGBUILD	2019-08-19 23:33:33 UTC (rev 500229)
@@ -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.06.02
-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=('95796000d83bfc6dbd8ad4c244fcfa5801ae1e0ac7c4893efff122b351ec0ee3')
-b2sums=('952b4962a05abcad1792b4c29ee666c382a61ed868c6463f1eec9df6b9e6ad5504bfb458a06c6a996529692b4587720204dbc94d30875d02f279953bf4fc3210')
-
-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 500228, python-regex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-19 23:33:33 UTC (rev 500229)
@@ -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.08.19
+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=('587b62d48ca359d2d4f02d486f1f0aa9a20fbaf23a9d4198c4bed72ab2f6c849')
+b2sums=('fb8c49856236e119fd125b18d0e82cdca418b6c911780a7301af09fc023e9b2e92b13ece62956b5de38b90d10b17a885ceb75e836e5e416b40d4c7e5092a202f')
+
+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