aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/py-setuptools/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/py-setuptools/APKBUILD b/main/py-setuptools/APKBUILD
index 1c3b22d794..71a1ff3c0e 100644
--- a/main/py-setuptools/APKBUILD
+++ b/main/py-setuptools/APKBUILD
@@ -3,7 +3,7 @@
pkgname=py-setuptools
_pkgname=${pkgname#py-}
pkgver=38.2.4
-pkgrel=2
+pkgrel=1
pkgdesc="A collection of enhancements to the Python distutils"
url="https://pypi.python.org/pypi/setuptools"
arch="noarch"
@@ -48,8 +48,11 @@ _py() {
cd "$builddir"
$python setup.py --quiet install --prefix=/usr --root="$subpkgdir"
- # remove unversioned binary
- rm -f "$subpkgdir"/usr/bin/easy_install
+ #Add version suffix to executable files.
+ local path; for path in "$subpkgdir"/usr/bin/*; do
+ mv -f "$path" "${path%%}"
+ mv -f "${path%%}" "${path%%}-$pyver"
+ done
}
sha512sums="f06badd27f0b797482bf42314edb7ffde7fa80556825b0ef27b125a3fc876b9d2ec26bf2b540f88b39f52fb58536e762c5bef24d9a92115b5f5decdf01f00c6c setuptools-38.2.4.tar.gz"