Date: Tuesday, November 10, 2020 @ 14:52:31 Author: yan12125 Revision: 749554
archrelease: copy trunk to community-any Added: python-aioitertools/repos/community-any/PKGBUILD (from rev 749553, python-aioitertools/trunk/PKGBUILD) Deleted: python-aioitertools/repos/community-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-10 14:52:13 UTC (rev 749553) +++ PKGBUILD 2020-11-10 14:52:31 UTC (rev 749554) @@ -1,38 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-aioitertools -_pkgname=aioitertools -pkgver=0.7.0 -pkgrel=3 -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 python-typing_extensions) -makedepends=(python-setuptools) -source=("https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=('341cb05a0903177ef1b73d4cc12c92aee18e81c364e0138f4efc7ec3c47b8177') - -prepare() { - cd $_pkgname-$pkgver - # setup.py generated by flit uses setuptools-specific install_requires but - # imports setup() from distutils.core - # https://github.com/takluyver/flit/blob/2.3.0/flit/sdist.py#L16 - sed -i 's#distutils.core#setuptools#' setup.py -} - -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 -} Copied: python-aioitertools/repos/community-any/PKGBUILD (from rev 749553, python-aioitertools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-10 14:52:31 UTC (rev 749554) @@ -0,0 +1,38 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-aioitertools +_pkgname=aioitertools +pkgver=0.7.1 +pkgrel=1 +pkgdesc='Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables' +arch=(any) +url='https://github.com/omnilib/aioitertools' +license=(MIT) +depends=(python python-typing_extensions) +makedepends=(python-setuptools) +source=("https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=('54a56c7cf3b5290d1cb5e8974353c9f52c677612b5d69a859369a020c53414a3') + +prepare() { + cd $_pkgname-$pkgver + # setup.py generated by flit uses setuptools-specific install_requires but + # imports setup() from distutils.core + # https://github.com/takluyver/flit/blob/2.3.0/flit/sdist.py#L16 + sed -i 's#distutils.core#setuptools#' setup.py +} + +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 +}