diff options
Diffstat (limited to 'main/py-setuptools')
-rw-r--r-- | main/py-setuptools/APKBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/main/py-setuptools/APKBUILD b/main/py-setuptools/APKBUILD index a863d22766..ccea69cd49 100644 --- a/main/py-setuptools/APKBUILD +++ b/main/py-setuptools/APKBUILD @@ -8,20 +8,21 @@ 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" +provides="py2-setuptools" +depends="python2" +makedepends="python2-dev" source="${_pkgname}-${pkgver}.tar.gz::https://github.com/pypa/${_pkgname}/archive/v${pkgver}.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" - python bootstrap.py || return 1 - python setup.py build || return 1 + python2 bootstrap.py || return 1 + python2 setup.py build || return 1 } package() { cd "$builddir" - python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 # we don't provide a non-suffixed easy_install rm -f "$pkgdir"/usr/bin/easy_install || return 1 |