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

Chih-Hsuan Yen yan12125 at archlinux.org
Tue Feb 25 06:24:16 UTC 2020


    Date: Tuesday, February 25, 2020 @ 06:24:15
  Author: yan12125
Revision: 580932

archrelease: copy trunk to community-any

Added:
  python-aioitertools/repos/community-any/
  python-aioitertools/repos/community-any/PKGBUILD
    (from rev 580931, python-aioitertools/trunk/PKGBUILD)

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

Copied: python-aioitertools/repos/community-any/PKGBUILD (from rev 580931, python-aioitertools/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-02-25 06:24:15 UTC (rev 580932)
@@ -0,0 +1,30 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+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
+}



More information about the arch-commits mailing list