aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-setuptools
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-12-23 14:37:38 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-12-23 14:37:38 +0000
commitaddcae8f3e7d031aae8bf530ea1a7b4247c0a01c (patch)
treed204914cf6b827c7c1329a668cfcbccb522725b3 /main/py-setuptools
parent7ff01539484fbbd5c52ca7ecc0b5dd7d1ca1677f (diff)
downloadaports-addcae8f3e7d031aae8bf530ea1a7b4247c0a01c.tar.bz2
aports-addcae8f3e7d031aae8bf530ea1a7b4247c0a01c.tar.xz
main/py-setuptools: remove duplicated versioned easy_install binary
Diffstat (limited to 'main/py-setuptools')
-rw-r--r--main/py-setuptools/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/main/py-setuptools/APKBUILD b/main/py-setuptools/APKBUILD
index 71a1ff3c0e..1c3b22d794 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=1
+pkgrel=2
pkgdesc="A collection of enhancements to the Python distutils"
url="https://pypi.python.org/pypi/setuptools"
arch="noarch"
@@ -48,11 +48,8 @@ _py() {
cd "$builddir"
$python setup.py --quiet install --prefix=/usr --root="$subpkgdir"
- #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
+ # remove unversioned binary
+ rm -f "$subpkgdir"/usr/bin/easy_install
}
sha512sums="f06badd27f0b797482bf42314edb7ffde7fa80556825b0ef27b125a3fc876b9d2ec26bf2b540f88b39f52fb58536e762c5bef24d9a92115b5f5decdf01f00c6c setuptools-38.2.4.tar.gz"