diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-10-24 15:11:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-05 15:33:51 +0000 |
commit | 1f6b1466d22c52903bfef6a3745cc0350f924309 (patch) | |
tree | d600e5851e9180925eedf309eaf26f7cc04b6518 /community/py3-psycopg2/APKBUILD | |
parent | 3f2c64b521dce448e0bb5cf73ab771cdb4ffc699 (diff) | |
download | aports-1f6b1466d22c52903bfef6a3745cc0350f924309.tar.bz2 aports-1f6b1466d22c52903bfef6a3745cc0350f924309.tar.xz |
community/py3-psycopg2: move from main
Diffstat (limited to 'community/py3-psycopg2/APKBUILD')
-rw-r--r-- | community/py3-psycopg2/APKBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/py3-psycopg2/APKBUILD b/community/py3-psycopg2/APKBUILD new file mode 100644 index 0000000000..550490a107 --- /dev/null +++ b/community/py3-psycopg2/APKBUILD @@ -0,0 +1,23 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-psycopg2 +_pkgname=psycopg2 +pkgver=2.8.4 +pkgrel=0 +pkgdesc="PostgreSQL adapter for python" +url="http://initd.org/psycopg" +arch="all" +license="LGPL-2.0-or-later" +makedepends="postgresql-dev python3-dev py-egenix-mx-base-dev" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="d4590c6e4e310d280b6b341cb23427b56b04c1ef08e877f0d99a79c6b00b959307bb18defaf1d9cea58482fb974a78760c5f26a3ece8c1f34ae1840570a71a28 psycopg2-2.8.4.tar.gz" |