aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-03-03 20:44:50 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-17 13:37:51 +0000
commitddba23565b38e2d26dae475a2ed3377b2b95aed5 (patch)
treef1c38155b3044b4a38a54b1d135c4954f31af5d9
parente87132aaa331ac8ac7bac094cccb4863ddbed588 (diff)
downloadaports-ddba23565b38e2d26dae475a2ed3377b2b95aed5.tar.bz2
aports-ddba23565b38e2d26dae475a2ed3377b2b95aed5.tar.xz
testing/py-psycopg2: new aport
Python-PostgreSQL Database Adapter http://initd.org/psycopg/
-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"