[arch-commits] Commit in (4 files)

Kyle Keen kkeen at archlinux.org
Sun Oct 18 23:59:55 UTC 2015


    Date: Monday, October 19, 2015 @ 01:59:55
  Author: kkeen
Revision: 144346

pkginit: python-path 8.1.2

Added:
  python-path/
  python-path/repos/
  python-path/trunk/
  python-path/trunk/PKGBUILD

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

Added: python-path/trunk/PKGBUILD
===================================================================
--- python-path/trunk/PKGBUILD	                        (rev 0)
+++ python-path/trunk/PKGBUILD	2015-10-18 23:59:55 UTC (rev 144346)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-path
+pkgname=(python-path python2-path)
+pkgver=8.1.2
+pkgrel=1
+pkgdesc="Aka path.py, implements path objects as first-class entities"
+arch=('any')
+url="http://ipython.org"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/p/path.py/path.py-$pkgver.tar.gz")
+md5sums=('31d07ac861284f8148a9041064852371')
+
+
+prepare() {
+  cd "$srcdir"
+  cp -r path.py-$pkgver python2-path.py-$pkgver
+}
+
+package_python-path() {
+  cd "$srcdir/path.py-$pkgver"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
+  head -n 21 path.py > "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+}
+
+package_python2-path() {
+  depends=('python2')
+  cd "$srcdir/python2-path.py-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
+  head -n 21 path.py > "$pkgdir/usr/share/licenses/$pkgname/license.txt"
+}
+


Property changes on: python-path/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list