[arch-commits] Commit in python-pyparsing/repos (2 files)

Felix Yan fyan at archlinux.org
Mon Feb 15 00:27:06 UTC 2016


    Date: Monday, February 15, 2016 @ 01:27:05
  Author: fyan
Revision: 161574

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyparsing/repos/community-staging-any/PKGBUILD (from rev 161573, python-pyparsing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-02-15 00:27:05 UTC (rev 161574)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# 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.1.0
+pkgrel=1
+pkgdesc='General parsing module for Python'
+arch=('any')
+url='http://pyparsing.wikispaces.com/'
+makedepends=('python-setuptools' 'python2-setuptools')
+license=('MIT')
+source=("http://downloads.sourceforge.net/pyparsing/pyparsing-$pkgver.tar.gz")
+sha256sums=('f6cb2bc85a491347c3c699db47f7ecc02903959156b4f92669ebf82395982901')
+
+prepare() {
+  cp -r "pyparsing-$pkgver" py2
+}
+
+package_python-pyparsing() {
+  depends=('python')
+  cd "pyparsing-$pkgver"
+
+  rm -rf build
+  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 py2
+
+  rm -rf build
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: pypi.python.org/pypi/pyparsing
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list