aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-setuptools/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-20 09:12:38 +0300
committerTimo Teräs <timo.teras@iki.fi>2016-07-20 09:13:07 +0300
commitbbb7e3501baa9726e21cb8c9beb19dadbbce0ff3 (patch)
tree8a88c140da6b3acf7952d38c3e594f8993e9c5f4 /main/py-setuptools/APKBUILD
parent5f2406c524c6f398b76f71ba5fa62a20f24ddf9d (diff)
downloadaports-bbb7e3501baa9726e21cb8c9beb19dadbbce0ff3.tar.bz2
aports-bbb7e3501baa9726e21cb8c9beb19dadbbce0ff3.tar.xz
main/py-setuptools: fix building
it requires running the bootstrap script first
Diffstat (limited to 'main/py-setuptools/APKBUILD')
-rw-r--r--main/py-setuptools/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/main/py-setuptools/APKBUILD b/main/py-setuptools/APKBUILD
index ff7b9bf09c..09e69f5af5 100644
--- a/main/py-setuptools/APKBUILD
+++ b/main/py-setuptools/APKBUILD
@@ -3,7 +3,7 @@
pkgname=py-setuptools
_pkgname=${pkgname#py-}
pkgver=24.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="A collection of enhancements to the Python distutils"
url="http://pypi.python.org/pypi/setuptools"
arch="noarch"
@@ -13,12 +13,13 @@ makedepends="python-dev"
install=""
subpackages=""
source="${_pkgname}-${pkgver}.tar.gz::https://github.com/pypa/${_pkgname}/archive/v${pkgver}.tar.gz
- fix-659.patch"
+ "
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
+ python bootstrap.py || return 1
python setup.py build || return 1
}
@@ -30,9 +31,6 @@ package() {
rm -f "$pkgdir"/usr/bin/easy_install || return 1
}
-md5sums="11472d17f777b83757681d0608ae9aee setuptools-24.0.3.tar.gz
-d17f39a9f6d975d2e6e46c0aa875ed67 fix-659.patch"
-sha256sums="b342d2d457a678d558e51aaab79640360d350b0044816259b3085e079adcbdcf setuptools-24.0.3.tar.gz
-fa08bd5496d05cce655b745f6d99381153b114fb285272e07504949ec0d41077 fix-659.patch"
-sha512sums="f664e1feb417e2eb0f8658ee0f2cb3b308b3e11d5dde6b67cefc7549b0693be268343fd508e654ea0b8080658373d260e537b54ec18499c35e078fd6b79de952 setuptools-24.0.3.tar.gz
-c6495875aef65896a4017d8426b8ef6fd25c1993751e8ef531520f9ed5561d55b43b80b3e12897a598110a6190b6fa788bcd459d6c5871b83db32596b712591f fix-659.patch"
+md5sums="11472d17f777b83757681d0608ae9aee setuptools-24.0.3.tar.gz"
+sha256sums="b342d2d457a678d558e51aaab79640360d350b0044816259b3085e079adcbdcf setuptools-24.0.3.tar.gz"
+sha512sums="f664e1feb417e2eb0f8658ee0f2cb3b308b3e11d5dde6b67cefc7549b0693be268343fd508e654ea0b8080658373d260e537b54ec18499c35e078fd6b79de952 setuptools-24.0.3.tar.gz"