diff options
Diffstat (limited to 'main/py-psycopg2')
-rw-r--r-- | main/py-psycopg2/APKBUILD | 31 |
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" |