Date: Monday, September 7, 2020 @ 18:01:15 Author: foxboron Revision: 700177
archrelease: copy trunk to community-x86_64 Added: python-psycopg2/repos/community-x86_64/PKGBUILD (from rev 700176, python-psycopg2/trunk/PKGBUILD) Deleted: python-psycopg2/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-07 18:01:08 UTC (rev 700176) +++ PKGBUILD 2020-09-07 18:01:15 UTC (rev 700177) @@ -1,40 +0,0 @@ -# Maintainer: Andrew Crerar <cre...@archlinux.org> -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> -# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> - -pkgbase=python-psycopg2 -pkgname=('python-psycopg2' 'python2-psycopg2') -pkgver=2.8.5 -pkgrel=1 -pkgdesc="A PostgreSQL database adapter for the Python programming language." -arch=('x86_64') -url="http://initd.org/psycopg/" -license=('LGPL3') -makedepends=('python2' 'python2-setuptools' - 'python' 'python-setuptools' 'postgresql-libs') -source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-$pkgver.tar.gz{,.asc}) -validpgpkeys=('8AD609956CF1899418E19A856013BD3AFCF957DE') -sha512sums=('d4cf9b94573b90fe56555ea5cf841aa0c4c806770f92f35a7ef2531999bb50f98eb1276e56f1540b5f2695e443bac7e9cb8bbfbd24ed82164f99663259d2da3e' - 'SKIP') -build(){ - cd "$srcdir/psycopg2-$pkgver" - sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg - python setup.py build - python2 setup.py build -} - -package_python-psycopg2() { - depends=('python' 'postgresql-libs') - - cd "$srcdir/psycopg2-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} - -package_python2-psycopg2() { - depends=('python2' 'postgresql-libs') - - cd "$srcdir/psycopg2-$pkgver" - python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build -} Copied: python-psycopg2/repos/community-x86_64/PKGBUILD (from rev 700176, python-psycopg2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-07 18:01:15 UTC (rev 700177) @@ -0,0 +1,40 @@ +# Maintainer: Andrew Crerar <cre...@archlinux.org> +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: Douglas Soares de Andrade <d...@aur.archlinux.org> + +pkgbase=python-psycopg2 +pkgname=('python-psycopg2' 'python2-psycopg2') +pkgver=2.8.6 +pkgrel=1 +pkgdesc="A PostgreSQL database adapter for the Python programming language." +arch=('x86_64') +url="http://initd.org/psycopg/" +license=('LGPL3') +makedepends=('python2' 'python2-setuptools' + 'python' 'python-setuptools' 'postgresql-libs') +source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-$pkgver.tar.gz{,.asc}) +validpgpkeys=('8AD609956CF1899418E19A856013BD3AFCF957DE') +sha512sums=('1e1d5d8755c6d1a153d84210bf29902afafe853659d709e13abc6bc5772def13779d2394690af1c544384c9c607edc0fe5cf2763244fb346febf9a9e0032b45f' + 'SKIP') +build(){ + cd "$srcdir/psycopg2-$pkgver" + sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg + python setup.py build + python2 setup.py build +} + +package_python-psycopg2() { + depends=('python' 'postgresql-libs') + + cd "$srcdir/psycopg2-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} + +package_python2-psycopg2() { + depends=('python2' 'postgresql-libs') + + cd "$srcdir/psycopg2-$pkgver" + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build +}