[arch-commits] Commit in python-pyparsing/repos (testing-any testing-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jul 25 04:19:51 UTC 2019


    Date: Thursday, July 25, 2019 @ 04:19:51
  Author: felixonmars
Revision: 358566

archrelease: copy trunk to testing-any

Added:
  python-pyparsing/repos/testing-any/
  python-pyparsing/repos/testing-any/PKGBUILD
    (from rev 358565, python-pyparsing/trunk/PKGBUILD)

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Copied: python-pyparsing/repos/testing-any/PKGBUILD (from rev 358565, python-pyparsing/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2019-07-25 04:19:51 UTC (rev 358566)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at aur.archlinux.org>
+# Contributor: Arvid Ephraim Picciani <aep at exys.org>
+# Contributor: Michael Krauss <hippodriver at gmx.net>
+
+pkgname=python-pyparsing
+pkgname=('python-pyparsing' 'python2-pyparsing')
+pkgver=2.4.1.1
+pkgrel=1
+pkgdesc='General parsing module for Python'
+arch=('any')
+url='https://github.com/pyparsing/pyparsing/'
+makedepends=('python-setuptools' 'python2-setuptools')
+license=('MIT')
+source=("https://github.com/pyparsing/pyparsing/archive/pyparsing_$pkgver.tar.gz")
+sha512sums=('f0145ea891c53d36a56e40479a3cb8c985b618822a4c9e38116975d746516f6454fe7f6de295a2941b8125d3063dafb83fb167a31ecfed3d7da22061534a0537')
+
+build() {
+  cd pyparsing-pyparsing_$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd pyparsing-pyparsing_$pkgver
+  python unitTests.py
+  python2 unitTests.py
+}
+
+package_python-pyparsing() {
+  depends=('python')
+
+  cd pyparsing-pyparsing_$pkgver
+
+  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pyparsing() {
+  depends=('python2')
+
+  cd pyparsing-pyparsing_$pkgver
+
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list