[arch-commits] Commit in python-aioitertools/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Wed May 6 13:25:52 UTC 2020


    Date: Wednesday, May 6, 2020 @ 13:25:51
  Author: yan12125
Revision: 625046

upgpkg: python-aioitertools 0.7.0-1

Hacking with PEP517! Hope no more messy stuffs :/

Modified:
  python-aioitertools/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-06 13:00:51 UTC (rev 625045)
+++ PKGBUILD	2020-05-06 13:25:51 UTC (rev 625046)
@@ -2,17 +2,25 @@
 
 pkgname=python-aioitertools
 _pkgname=aioitertools
-pkgver=0.6.1
+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)
+depends=(python python-typing_extensions)
 makedepends=(python-setuptools)
 source=("https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz")
-sha256sums=('27411653e28c391f2caa79476cc719591da88540278c53e7d6925d5b2fafa162')
+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



More information about the arch-commits mailing list