aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-psycopg2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-psycopg2/APKBUILD')
-rw-r--r--testing/py-psycopg2/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py-psycopg2/APKBUILD b/testing/py-psycopg2/APKBUILD
new file mode 100644
index 0000000000..f28cf6a76a
--- /dev/null
+++ b/testing/py-psycopg2/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-psycopg2
+_pkgname=psycopg2
+pkgver=2.4.4
+pkgrel=0
+pkgdesc="Python-PostgreSQL Database Adapter"
+url="http://initd.org/psycopg/"
+arch="all"
+license="GPL2+"
+depends=""
+depends_dev=""
+makedepends="python-dev postgresql-dev"
+install=""
+subpackages=""
+source="http://initd.org/psycopg/tarballs/PSYCOPG-2-4/$_pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="331255d2d44018bcef2ea192aabc1d6a psycopg2-2.4.4.tar.gz"