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

Felix Yan felixonmars at archlinux.org
Tue May 11 21:08:38 UTC 2021


    Date: Tuesday, May 11, 2021 @ 21:08:37
  Author: felixonmars
Revision: 414999

upgpkg: python-pep517 0.10.0-2: patch out --ignore-installed to workaround mysterious pip error when packaging pytest-checkdocs

Modified:
  python-pep517/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-11 20:37:26 UTC (rev 414998)
+++ PKGBUILD	2021-05-11 21:08:37 UTC (rev 414999)
@@ -3,7 +3,7 @@
 pkgbase=python-pep517
 pkgname=('python-pep517' 'python2-pep517')
 pkgver=0.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Wrappers to build Python packages using PEP 517 hooks"
 arch=('any')
 license=('MIT')
@@ -15,6 +15,12 @@
 sha512sums=('4f2b2a6d4bfb46883b769d3a11aac7ed136a835eaff025e9201b5c592f6aaa236bcc6532f94654bf6962f3df1062677daa6444dce6f95caec4e306d9fe21d426')
 
 prepare() {
+  # Copied from openSUSE: 
+  # Remove what appears to be overly cautious flag
+  # that causes tests to require internet, both here
+  # and the test suites of any dependencies. Tracking at:
+  # https://github.com/pypa/pep517/issues/101
+  sed -i "s/ '--ignore-installed',//" pep517-$pkgver/pep517/envbuild.py
   cp -a pep517-$pkgver{,-py2}
 }
 



More information about the arch-commits mailing list