diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-03-23 19:05:58 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-03-23 19:05:58 (GMT) |
commit | 330018295b48edb9eddd47b0f636c2286a41fe57 (patch) | |
tree | e1d07148c608528034ee46ca69cfaeaa21680ab1 /abs/core/python_modules/python-more-itertools | |
parent | 02dee59e945870414039b4edb03a8bfd20aeb42b (diff) | |
download | linhes_pkgbuild-330018295b48edb9eddd47b0f636c2286a41fe57.zip linhes_pkgbuild-330018295b48edb9eddd47b0f636c2286a41fe57.tar.gz linhes_pkgbuild-330018295b48edb9eddd47b0f636c2286a41fe57.tar.bz2 |
python-more-itertools: dep of python-pytest
Diffstat (limited to 'abs/core/python_modules/python-more-itertools')
-rw-r--r-- | abs/core/python_modules/python-more-itertools/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-more-itertools/PKGBUILD b/abs/core/python_modules/python-more-itertools/PKGBUILD new file mode 100644 index 0000000..3a07dda --- /dev/null +++ b/abs/core/python_modules/python-more-itertools/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Kyle Keen <keenerd@gmail.com> +# Contributor: Germán Osella Massa <gosella@gmail.com> + +pkgbase=python-more-itertools +pkgname=('python-more-itertools' 'python2-more-itertools') +pkgver=3.1.0 +pkgrel=1 +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' 'python2-six') +source=("https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-$pkgver.tar.gz") +md5sums=('e3dad64e30d0220039d0cb036ae7532c') + +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' 'python2-six') + 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: |