Date: Friday, August 17, 2018 @ 19:43:14 Author: felixonmars Revision: 332120
upgpkg: python-setuptools 1:40.1.0-1 Modified: python-setuptools/trunk/PKGBUILD ----------+ PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-08-17 18:15:53 UTC (rev 332119) +++ PKGBUILD 2018-08-17 19:43:14 UTC (rev 332120) @@ -5,7 +5,7 @@ pkgbase=python-setuptools pkgname=('python-setuptools' 'python2-setuptools') -pkgver=40.0.0 +pkgver=40.1.0 pkgrel=1 epoch=1 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages" @@ -18,7 +18,7 @@ 'pytest-runner' 'pytest-virtualenv' 'wheel') checkdepends=("${_checkdeps[@]/#/python-}" "${_checkdeps[@]/#/python2-}" 'python-paver' 'git') source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz") -sha512sums=('c0e956ea87cbb4608be6c76182113000997a986c10a8c44f24f329237b0b0ff1770a140bbd7d6dc4736e4e652d99637e3adb07a3dc080aa7597413c7d7dd503e') +sha512sums=('b9d9c6752aac5879a128054394c764fe14900114a0922153a09d8cf3d7492526dde3faac52482e250493573b2898e395868ec4577d8418ab81567dcab2974f0a') export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0 @@ -31,7 +31,7 @@ # 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 + for _module in setuptools pkg_resources '' ; do find setuptools-$pkgver/$_module -name \*.py -exec sed -i \ -e 's/from '$_module.extern' import/import/' \ -e 's/from '$_module.extern'./from /' \