diff options
author | Max Rees <maxcrees@me.com> | 2018-09-15 21:27:33 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2018-09-17 15:51:25 -0400 |
commit | 4c945103914cdd7091fe9aa1878923582f2e9972 (patch) | |
tree | e437e482646900b4c71bede4abc19b597b97daa7 | |
parent | c4d41702f49cd014f5f5fab9dbc52bcad5cc9908 (diff) | |
download | packages-4c945103914cdd7091fe9aa1878923582f2e9972.tar.gz packages-4c945103914cdd7091fe9aa1878923582f2e9972.tar.bz2 packages-4c945103914cdd7091fe9aa1878923582f2e9972.tar.xz packages-4c945103914cdd7091fe9aa1878923582f2e9972.zip |
user/py3-more-itertools: new package
-rw-r--r-- | user/py3-more-itertools/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/py3-more-itertools/APKBUILD b/user/py3-more-itertools/APKBUILD new file mode 100644 index 000000000..46baffedb --- /dev/null +++ b/user/py3-more-itertools/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Max Rees <maxcrees@me.com> +# Maintainer: Max Rees <maxcrees@me.com> +pkgname=py3-more-itertools +_pkgname=more-itertools +pkgver=4.3.0 +pkgrel=0 +pkgdesc="More routines for operating on iterables, beyond itertools" +url="https://pypi.org/project/more-itertools" +options="!check" # Circular dependency with py3-pytest. Passes on x86_64 +arch="noarch" +license="MIT" +depends="python3" +makedepends="" +#checkdepends="py3-tox" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/m/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + tox -e py36 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="5fee3d99fd796b0f0f6b5aa99a8db22e219d3dced71fef6f4b16286fe67061dce280389b3638c55c6e5f6c828ef1286cee845d76a6861d2af66d90e995d5aa4e py3-more-itertools-4.3.0.tar.gz" |