mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/py-psycopg2: new aport
Python-PostgreSQL Database Adapter http://initd.org/psycopg/
This commit is contained in:
parent
e87132aaa3
commit
ddba23565b
29
testing/py-psycopg2/APKBUILD
Normal file
29
testing/py-psycopg2/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user