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

Eli Schwartz eschwartz at archlinux.org
Wed Apr 10 21:49:29 UTC 2019


    Date: Wednesday, April 10, 2019 @ 21:49:28
  Author: eschwartz
Revision: 450918

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  135 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 68 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-10 21:49:11 UTC (rev 450917)
+++ PKGBUILD	2019-04-10 21:49:28 UTC (rev 450918)
@@ -1,67 +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.03.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=('4b08704a5939c698d2d5950b5dc950597613216cc8c01048efc0da860a0c3db9')
-
-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.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.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-regex/repos/community-x86_64/PKGBUILD (from rev 450917, python-regex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-10 21:49:28 UTC (rev 450918)
@@ -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.10
+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=('e7e54e04c4cc8d5dbacb0ad8384f39b3d55573a7890769dec5793309e1271207')
+b2sums=('be4039a98d2b90e5368249a293e1d2aec88c936fc930569d33110af718e83a75ceab11282c3937880a18e3c9a4d81107d3b835a750b4d6e7ad36b8a284022270')
+
+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