[arch-commits] Commit in python-aioitertools/repos/community-any (PKGBUILD PKGBUILD)

2020-11-10 Thread Chih-Hsuan Yen via arch-commits
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
===
--- PKGBUILD2020-11-10 14:52:13 UTC (rev 749553)
+++ PKGBUILD2020-11-10 14:52:31 UTC (rev 749554)
@@ -1,38 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-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)
+++ PKGBUILD2020-11-10 14:52:31 UTC (rev 749554)
@@ -0,0 +1,38 @@
+# Maintainer: Chih-Hsuan Yen 
+
+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
+}


[arch-commits] Commit in python-aioitertools/repos/community-any (PKGBUILD PKGBUILD)

2020-06-03 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, June 4, 2020 @ 01:29:16
  Author: yan12125
Revision: 638656

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   76 ++---
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-04 01:28:52 UTC (rev 638655)
+++ PKGBUILD2020-06-04 01:29:16 UTC (rev 638656)
@@ -1,38 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-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 638655, 
python-aioitertools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-06-04 01:29:16 UTC (rev 638656)
@@ -0,0 +1,38 @@
+# Maintainer: Chih-Hsuan Yen 
+
+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
+}


[arch-commits] Commit in python-aioitertools/repos/community-any (PKGBUILD PKGBUILD)

2020-06-03 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, June 4, 2020 @ 01:28:52
  Author: yan12125
Revision: 638655

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   69 +
 1 file changed, 38 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-04 01:28:34 UTC (rev 638654)
+++ PKGBUILD2020-06-04 01:28:52 UTC (rev 638655)
@@ -1,31 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-aioitertools
-_pkgname=aioitertools
-pkgver=0.7.0
-pkgrel=2
-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-build python-install python-flit)
-source=("https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz;)
-sha256sums=('341cb05a0903177ef1b73d4cc12c92aee18e81c364e0138f4efc7ec3c47b8177')
-
-build() {
-  cd $_pkgname-$pkgver
-  python -m build
-  python -m install --cache dist/*.whl
-}
-
-check() {
-  cd $_pkgname-$pkgver
-  python -m unittest -v aioitertools.tests
-}
-
-package() {
-  cd $_pkgname-$pkgver
-  python -m install --skip-build -d "$pkgdir"
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-aioitertools/repos/community-any/PKGBUILD (from rev 638654, 
python-aioitertools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-06-04 01:28:52 UTC (rev 638655)
@@ -0,0 +1,38 @@
+# Maintainer: Chih-Hsuan Yen 
+
+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
+}


[arch-commits] Commit in python-aioitertools/repos/community-any (PKGBUILD PKGBUILD)

2020-05-29 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, May 30, 2020 @ 02:58:07
  Author: yan12125
Revision: 637309

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   69 +++--
 1 file changed, 31 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-30 02:57:46 UTC (rev 637308)
+++ PKGBUILD2020-05-30 02:58:07 UTC (rev 637309)
@@ -1,38 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-aioitertools
-_pkgname=aioitertools
-pkgver=0.7.0
-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 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 637308, 
python-aioitertools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-30 02:58:07 UTC (rev 637309)
@@ -0,0 +1,31 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-aioitertools
+_pkgname=aioitertools
+pkgver=0.7.0
+pkgrel=2
+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-build python-install python-flit)
+source=("https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz;)
+sha256sums=('341cb05a0903177ef1b73d4cc12c92aee18e81c364e0138f4efc7ec3c47b8177')
+
+build() {
+  cd $_pkgname-$pkgver
+  python -m build
+  python -m install --cache dist/*.whl
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  python -m unittest -v aioitertools.tests
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python -m install --skip-build -d "$pkgdir"
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}


[arch-commits] Commit in python-aioitertools/repos/community-any (PKGBUILD PKGBUILD)

2020-05-06 Thread Chih-Hsuan Yen via arch-commits
Date: Wednesday, May 6, 2020 @ 13:26:12
  Author: yan12125
Revision: 625047

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-06 13:25:51 UTC (rev 625046)
+++ PKGBUILD2020-05-06 13:26:12 UTC (rev 625047)
@@ -1,30 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-aioitertools
-_pkgname=aioitertools
-pkgver=0.6.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=('27411653e28c391f2caa79476cc719591da88540278c53e7d6925d5b2fafa162')
-
-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 625046, 
python-aioitertools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-06 13:26:12 UTC (rev 625047)
@@ -0,0 +1,38 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-aioitertools
+_pkgname=aioitertools
+pkgver=0.7.0
+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 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
+}


[arch-commits] Commit in python-aioitertools/repos/community-any (PKGBUILD PKGBUILD)

2020-04-24 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, April 24, 2020 @ 07:40:21
  Author: yan12125
Revision: 618985

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-24 07:40:08 UTC (rev 618984)
+++ PKGBUILD2020-04-24 07:40:21 UTC (rev 618985)
@@ -1,30 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-pkgname=python-aioitertools
-_pkgname=aioitertools
-pkgver=0.6.0
-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=('3684a9e5626664169ee31bc6e40d30d1ad86d9a1832d251652fda2cf3e3e74ae')
-
-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 618984, 
python-aioitertools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-24 07:40:21 UTC (rev 618985)
@@ -0,0 +1,30 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-aioitertools
+_pkgname=aioitertools
+pkgver=0.6.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=('27411653e28c391f2caa79476cc719591da88540278c53e7d6925d5b2fafa162')
+
+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
+}


[arch-commits] Commit in python-aioitertools/repos/community-any (PKGBUILD PKGBUILD)

2020-04-10 Thread Chih-Hsuan Yen via arch-commits
Date: Friday, April 10, 2020 @ 12:19:32
  Author: yan12125
Revision: 613084

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-10 12:19:12 UTC (rev 613083)
+++ PKGBUILD2020-04-10 12:19:32 UTC (rev 613084)
@@ -1,30 +0,0 @@
-# Maintainer: Chih-Hsuan Yen 
-
-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
-}

Copied: python-aioitertools/repos/community-any/PKGBUILD (from rev 613083, 
python-aioitertools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-10 12:19:32 UTC (rev 613084)
@@ -0,0 +1,30 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=python-aioitertools
+_pkgname=aioitertools
+pkgver=0.6.0
+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=('3684a9e5626664169ee31bc6e40d30d1ad86d9a1832d251652fda2cf3e3e74ae')
+
+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
+}