Date: Tuesday, February 25, 2020 @ 06:23:31 Author: yan12125 Revision: 580931
python-aioitertools: new package, dependency of the latest python-aiobotocore Added: python-aioitertools/ python-aioitertools/repos/ python-aioitertools/trunk/ python-aioitertools/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: python-aioitertools/trunk/PKGBUILD =================================================================== --- python-aioitertools/trunk/PKGBUILD (rev 0) +++ python-aioitertools/trunk/PKGBUILD 2020-02-25 06:23:31 UTC (rev 580931) @@ -0,0 +1,30 @@ +# Maintainer: Chih-Hsuan Yen <[email protected]> + +pkgname=python-aioitertools +_pkgname=aioitertools +pkgver=0.5.1 +pkgrel=1 +pkgdesc='Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables' +arch=(any) +url='https://github.com/jreese/aioitertools' +license=(MIT) +depends=(python) +makedepends=(python-setuptools) +source=("https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=('1609c66e6ab1a98c3bb1b1e4acb7bf632a4d78818042cf827f73d31e6caf0d39') + +build() { + cd $_pkgname-$pkgver + python setup.py build +} + +check() { + cd $_pkgname-$pkgver + python -m unittest -v aioitertools.tests +} + +package() { + cd $_pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +}
