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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 13:42:46 UTC 2021


    Date: Tuesday, November 30, 2021 @ 13:42:46
  Author: felixonmars
Revision: 429534

upgpkg: python-setuptools 1:57.4.0-4: rebuild with ensurepip to generate proper metadata

Modified:
  python-setuptools/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-30 12:58:40 UTC (rev 429533)
+++ PKGBUILD	2021-11-30 13:42:46 UTC (rev 429534)
@@ -4,7 +4,7 @@
 
 pkgname=python-setuptools
 pkgver=57.4.0
-pkgrel=3
+pkgrel=4
 epoch=1
 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
 arch=('any')
@@ -25,8 +25,8 @@
 export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
 
 prepare() {
-  # Workaround "error: cannot copy tree 'build/scripts-3.10': not a directory"
-  mkdir -p setuptools-$pkgver/build/scripts-3.10
+  # Bootstrap for proper metadata
+  python -m ensurepip
 
   # rm -r setuptools-$pkgver/{pkg_resources,setuptools}/{extern,_vendor}
 



More information about the arch-commits mailing list