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

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Nov 29 22:20:26 UTC 2021


    Date: Monday, November 29, 2021 @ 22:20:26
  Author: foutrelis
Revision: 429513

archrelease: copy trunk to staging-any

Added:
  python-pyparsing/repos/staging-any/
  python-pyparsing/repos/staging-any/PKGBUILD
    (from rev 429512, python-pyparsing/trunk/PKGBUILD)

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

Copied: python-pyparsing/repos/staging-any/PKGBUILD (from rev 429512, python-pyparsing/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-11-29 22:20:26 UTC (rev 429513)
@@ -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.7
+pkgrel=4
+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=('c7a546729f86a2b5176e2482b566b9fd715b03e495aaef4d720b21307bb03f385dbc849247f8d266cb3d92be0a83c34ce4995b655ce85318355d5a0d42d6991e')
+
+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