diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-19 10:00:09 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-19 10:00:09 +0200 |
commit | b2055137c428ca6c6d5ebe7abe3568ba1312a020 (patch) | |
tree | 5fdb008bde89b62d7f79dad3318b3cf6f7b753a8 /main | |
parent | 55942f458a5cc6e5d93ccf7efdcd385502e0bfa3 (diff) | |
download | aports-b2055137c428ca6c6d5ebe7abe3568ba1312a020.tar.bz2 aports-b2055137c428ca6c6d5ebe7abe3568ba1312a020.tar.xz |
Revert "main/py-setuptools: add python3 support"
This reverts commit 1e7ce356eaf00a2fefbd608380335f6d357680e2.
Diffstat (limited to 'main')
-rw-r--r-- | main/py-setuptools/APKBUILD | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/main/py-setuptools/APKBUILD b/main/py-setuptools/APKBUILD index 628bcf96e5..09e69f5af5 100644 --- a/main/py-setuptools/APKBUILD +++ b/main/py-setuptools/APKBUILD @@ -3,15 +3,15 @@ pkgname=py-setuptools _pkgname=${pkgname#py-} pkgver=24.0.3 -pkgrel=2 +pkgrel=1 pkgdesc="A collection of enhancements to the Python distutils" url="http://pypi.python.org/pypi/setuptools" arch="noarch" license="PSF" depends="python" -makedepends="python-dev python3-dev" +makedepends="python-dev" install="" -subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" +subpackages="" source="${_pkgname}-${pkgver}.tar.gz::https://github.com/pypa/${_pkgname}/archive/v${pkgver}.tar.gz " @@ -21,36 +21,16 @@ build() { cd "$builddir" python bootstrap.py || return 1 python setup.py build || return 1 - # python 3 - python3 bootstrap.py || return 1 - python3 setup.py build || return 1 } package() { - mkdir -p $pkgdir -} + cd "$builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 -_py() { - local python=$1 - pkgdesc="$pkgdesc - $python" - arch="all" - install_if="$pkgname=$pkgver-r$pkgrel $python" - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" || return 1 # we don't provide a non-suffixed easy_install - rm -f "$subpkgdir"/usr/bin/easy_install || return 1 -} - -_py2() { - _py python2 - replaces="$pkgname" + rm -f "$pkgdir"/usr/bin/easy_install || return 1 } -_py3() { - _py python3 -} - - md5sums="11472d17f777b83757681d0608ae9aee setuptools-24.0.3.tar.gz" sha256sums="b342d2d457a678d558e51aaab79640360d350b0044816259b3085e079adcbdcf setuptools-24.0.3.tar.gz" sha512sums="f664e1feb417e2eb0f8658ee0f2cb3b308b3e11d5dde6b67cefc7549b0693be268343fd508e654ea0b8080658373d260e537b54ec18499c35e078fd6b79de952 setuptools-24.0.3.tar.gz" |