aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-psycopg2
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-03-25 09:32:13 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-03-25 09:32:13 +0000
commitbc0ba3fd5464453fe99ac6f6fa4844d2774577cc (patch)
tree8bf43d27be22e23614d70865d02b8ba31c33ccbf /main/py-psycopg2
parentf25af72a756719e0130674371c17ec97cf4fad1e (diff)
downloadaports-bc0ba3fd5464453fe99ac6f6fa4844d2774577cc.tar.bz2
aports-bc0ba3fd5464453fe99ac6f6fa4844d2774577cc.tar.xz
main/py-psycopg2: moved from testing
Diffstat (limited to 'main/py-psycopg2')
-rw-r--r--main/py-psycopg2/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/py-psycopg2/APKBUILD b/main/py-psycopg2/APKBUILD
new file mode 100644
index 0000000000..b938afb479
--- /dev/null
+++ b/main/py-psycopg2/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-psycopg2
+_pkgname=psycopg2
+pkgver=2.6.1
+pkgrel=0
+pkgdesc="A Python-PostgreSQL Database Adapter"
+url="http://initd.org/psycopg/"
+arch="all"
+license="LGPL2+"
+depends="py-egenix-mx-base"
+depends_dev=""
+makedepends="python-dev postgresql-dev py-egenix-mx-base-dev"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_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" --skip-build || return 1
+}
+
+md5sums="842b44f8c95517ed5b792081a2370da1 psycopg2-2.6.1.tar.gz"
+sha256sums="6acf9abbbe757ef75dc2ecd9d91ba749547941abaffbe69ff2086a9e37d4904c psycopg2-2.6.1.tar.gz"
+sha512sums="00705f6b417acc89e2e66b7bdc25c31d92de7610173fe41b2b35728ebb6b55ef8c7df67032c2a2e3d908d8599a1d378578ade77bd19f5f186fbf2596290eda69 psycopg2-2.6.1.tar.gz"