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

Kyle Keen kkeen at archlinux.org
Sun Oct 23 23:35:41 UTC 2016


    Date: Sunday, October 23, 2016 @ 23:35:40
  Author: kkeen
Revision: 193118

archrelease: copy trunk to community-any

Added:
  python-more-itertools/repos/community-any/
  python-more-itertools/repos/community-any/PKGBUILD
    (from rev 193117, python-more-itertools/trunk/PKGBUILD)

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

Copied: python-more-itertools/repos/community-any/PKGBUILD (from rev 193117, python-more-itertools/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-10-23 23:35:40 UTC (rev 193118)
@@ -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:



More information about the arch-commits mailing list