diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-12-23 14:37:38 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-12-23 14:37:38 +0000 |
commit | addcae8f3e7d031aae8bf530ea1a7b4247c0a01c (patch) | |
tree | d204914cf6b827c7c1329a668cfcbccb522725b3 /main/py-setuptools/APKBUILD | |
parent | 7ff01539484fbbd5c52ca7ecc0b5dd7d1ca1677f (diff) | |
download | aports-addcae8f3e7d031aae8bf530ea1a7b4247c0a01c.tar.bz2 aports-addcae8f3e7d031aae8bf530ea1a7b4247c0a01c.tar.xz |
main/py-setuptools: remove duplicated versioned easy_install binary
Diffstat (limited to 'main/py-setuptools/APKBUILD')
-rw-r--r-- | main/py-setuptools/APKBUILD | 9 |
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" |