[arch-commits] Commit in (4 files)

Kyle Keen kkeen at archlinux.org
Sun Oct 23 23:34:36 UTC 2016


    Date: Sunday, October 23, 2016 @ 23:34:36
  Author: kkeen
Revision: 193117

pkginig: python-more-itertools

Added:
  python-more-itertools/
  python-more-itertools/repos/
  python-more-itertools/trunk/
  python-more-itertools/trunk/PKGBUILD

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

Added: python-more-itertools/trunk/PKGBUILD
===================================================================
--- python-more-itertools/trunk/PKGBUILD	                        (rev 0)
+++ python-more-itertools/trunk/PKGBUILD	2016-10-23 23:34:36 UTC (rev 193117)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Germán Osella Massa <gosella at gmail.com>
+
+pkgbase=python-more-itertools
+pkgname=('python-more-itertools' 'python2-more-itertools')
+pkgver=2.2
+pkgrel=6
+pkgdesc='More routines for operating on iterables, beyond itertools'
+arch=('any')
+url='https://github.com/erikrose/more-itertools'
+#url='https://pypi.python.org/pypi/more-itertools'
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/m/more-itertools/more-itertools-$pkgver.tar.gz")
+md5sums=('b8d328a33f966bf40bb829bcf8da35ce')
+
+prepare() {
+  cp -R "more-itertools-$pkgver" "py2-more-itertools-$pkgver"
+}
+
+package_python-more-itertools() {
+  cd "$srcdir/more-itertools-$pkgver"
+  python3 setup.py install --root="$pkgdir/" --optimize=0
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-more-itertools() {
+  depends=('python2')
+  cd "$srcdir/py2-more-itertools-$pkgver"
+  python2 setup.py install --root="$pkgdir/" --optimize=0
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:


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



More information about the arch-commits mailing list