diff --git a/main/py-pip/APKBUILD b/main/py-pip/APKBUILD
index fb5ecbf4e0c504481d5ab794b4d2248431068396..5b69f727043851e72f6d43356f0ea5cdc028276f 100644
--- a/main/py-pip/APKBUILD
+++ b/main/py-pip/APKBUILD
@@ -8,22 +8,19 @@ pkgdesc="A tool for installing and managing Python packages"
 url="http://www.pip-installer.org"
 arch="noarch"
 license="MIT"
-depends="python py-setuptools"
-depends_dev=""
-makedepends="python-dev py-setuptools"
-install=""
-subpackages=""
+depends="python2 py-setuptools"
+makedepends="python2-dev py-setuptools"
 source="$pkgname-$pkgver.tar.gz::https://github.com/pypa/pip/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
 
-_builddir="$srcdir"/$_pkgname-$pkgver
 build() {
-	cd "$_builddir"
-	python setup.py build || return 1
+	cd "$builddir"
+	python2 setup.py build || return 1
 }
 
 package() {
-	cd "$_builddir"
-	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+	cd "$builddir"
+	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
 }
 
 md5sums="f65cbd43e06f4444ff66c25721a9ba02  py-pip-8.1.2.tar.gz"