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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 14:10:01 UTC 2019


    Date: Friday, October 25, 2019 @ 14:10:00
  Author: felixonmars
Revision: 365555

bootstrap, 2 try

Modified:
  python-setuptools/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-25 14:03:05 UTC (rev 365554)
+++ PKGBUILD	2019-10-25 14:10:00 UTC (rev 365555)
@@ -30,14 +30,14 @@
   # https://github.com/pypa/setuptools/issues/1383
   # The simplest fix is to simply rewrite import paths to use the canonical
   # location in the first place
-  for _module in setuptools pkg_resources '' ; do
-      find setuptools-$pkgver -name \*.py -exec sed -i \
-          -e 's/from '$_module.extern' import/import/' \
-          -e 's/from '$_module.extern'./from /' \
-          -e 's/import '$_module.extern'./import /' \
-          -e "s/__import__('$_module.extern./__import__('/" \
-          {} +
-    done
+  #for _module in setuptools pkg_resources '' ; do
+  #    find setuptools-$pkgver -name \*.py -exec sed -i \
+  #        -e 's/from '$_module.extern' import/import/' \
+  #        -e 's/from '$_module.extern'./from /' \
+  #        -e 's/import '$_module.extern'./import /' \
+  #        -e "s/__import__('$_module.extern./__import__('/" \
+  #        {} +
+  #  done
 
   # Remove post-release tag since we are using stable tags
   sed -e '/tag_build = .post/d' \



More information about the arch-commits mailing list