Date: Tuesday, January 17, 2023 @ 06:12:13
Author: grawlinson
Revision: 1386719
upgpkg: python-psycopg 3.1.8-1; new upstream release
Modified:
python-psycopg/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-17 06:09:20 UTC (rev 1386718)
+++ PKGBUILD 2023-01-17 06:12:13 UTC (rev 1386719)
@@ -5,13 +5,12 @@
pkgver=3.1.8
pkgrel=1
pkgdesc='PostgreSQL database adapter for Python'
-arch=('x86_64')
+arch=('any')
url='https://www.psycopg.org/psycopg3/'
license=('LGPL3')
depends=('python' 'postgresql-libs')
makedepends=(
'git'
- 'cython'
'python-build'
'python-installer'
'python-wheel'
@@ -29,21 +28,13 @@
}
build(){
- cd "$pkgname"
+ cd "$pkgname/psycopg"
- for subpackage in psycopg psycopg_c; do
- pushd "$subpackage"
- python -m build --wheel --no-isolation
- popd
- done
+ python -m build --wheel --no-isolation
}
package(){
- cd "$pkgname"
+ cd "$pkgname/psycopg"
- for subpackage in psycopg psycopg_c; do
- pushd "$subpackage"
- python -m installer --destdir="$pkgdir" dist/*.whl
- popd
- done
+ python -m installer --destdir="$pkgdir" dist/*.whl
}