* update python-psycopg2 to 2.9.9-2
This commit is contained in:
parent
f040d7c727
commit
6fee4d96ff
@ -7,22 +7,22 @@
|
||||
|
||||
pkgname=python-psycopg2
|
||||
pkgver=2.9.9
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A PostgreSQL database adapter for the Python programming language."
|
||||
arch=(x86_64 powerpc64le powerpc riscv64)
|
||||
url="https://www.psycopg.org/"
|
||||
license=('LGPL3')
|
||||
depends=('python' 'postgresql-libs')
|
||||
makedepends=('python-setuptools' 'postgresql-libs')
|
||||
license=('LGPL-3.0-or-later')
|
||||
depends=('python' 'glibc' 'postgresql-libs')
|
||||
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
|
||||
source=("https://github.com/psycopg/psycopg2/archive/refs/tags/${pkgver}.tar.gz")
|
||||
b2sums=('0bf4c9e7b07915c52b7581d02c100ca1539b63ce46ec92cc299d4998112f6146a45a7c5a5806c99d5483f1b91cea9e577402a920690b1ada3ac5560e0fcc743e')
|
||||
build(){
|
||||
cd "psycopg2-${pkgver}"
|
||||
sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg
|
||||
python setup.py build
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "psycopg2-${pkgver}"
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user