diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-08-08 03:33:44 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-08-08 03:33:44 +0000 |
commit | addc96410e6eae47a28314aeaace3228bd70b9cd (patch) | |
tree | 3998870b58279b308d8ea678debce30da103dd5e /user/py3-psycopg2/APKBUILD | |
parent | 6e8939f34d9bcc8294a64b64e5fce9ce16668070 (diff) | |
parent | 6722ef49445b3fbe7665fc487733a8710a98fb5f (diff) | |
download | packages-addc96410e6eae47a28314aeaace3228bd70b9cd.tar.gz packages-addc96410e6eae47a28314aeaace3228bd70b9cd.tar.bz2 packages-addc96410e6eae47a28314aeaace3228bd70b9cd.tar.xz packages-addc96410e6eae47a28314aeaace3228bd70b9cd.zip |
Merge branch 'sr.2019.08.07' into 'master'
Misc changes, 2019.08.07
See merge request adelie/packages!315
Diffstat (limited to 'user/py3-psycopg2/APKBUILD')
-rw-r--r-- | user/py3-psycopg2/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-psycopg2/APKBUILD b/user/py3-psycopg2/APKBUILD new file mode 100644 index 000000000..1d78e60b8 --- /dev/null +++ b/user/py3-psycopg2/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: +pkgname=py3-psycopg2 +_pkgname=psycopg2 +_p="${_pkgname#?}" +_p="${_pkgname%"$_p"}" +pkgver=2.8.3 +pkgrel=0 +pkgdesc="PostgreSQL adapter for python" +url="http://initd.org/psycopg" # No HTTPS +arch="all" +options="!check" # Requires a running PostgreSQL server. +# Certified net clean +license="LGPL-3.0+ WITH OpenSSL-link-exception" +depends="python3" +makedepends="postgresql-dev python3-dev" +source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="74268f6d05922c968d46ad62a49b4af54dc30463daa67cc0f32d5930c366596f9a1b2f368f2b38c8a9d45bfdcffb13be469a5cbf3911c62d163bea5c7a3ad928 psycopg2-2.8.3.tar.gz" |