aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-psycopg2/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-03-25 09:43:15 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-03-25 09:43:15 +0000
commit33a6b2b1852d5bb4c305489cc10e7b67417899a0 (patch)
tree77ec38759bd355dfccaa929ea14dec2892138cde /main/py-psycopg2/APKBUILD
parent86c3735d496d64b62e2cdb5565d77980e9be0cd6 (diff)
downloadaports-33a6b2b1852d5bb4c305489cc10e7b67417899a0.tar.bz2
aports-33a6b2b1852d5bb4c305489cc10e7b67417899a0.tar.xz
main/py-psycopg2: changed builddir variable
Diffstat (limited to 'main/py-psycopg2/APKBUILD')
-rw-r--r--main/py-psycopg2/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/py-psycopg2/APKBUILD b/main/py-psycopg2/APKBUILD
index b938afb47..8fe4cfdc7 100644
--- a/main/py-psycopg2/APKBUILD
+++ b/main/py-psycopg2/APKBUILD
@@ -15,14 +15,14 @@ install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$_pkgname-$pkgver
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" --skip-build || return 1
}