Date: Monday, January 2, 2023 @ 03:01:03
Author: grawlinson
Revision: 1372856
archrelease: copy trunk to community-any
Added:
python-psycopg-pool/repos/community-any/PKGBUILD
(from rev 1372855, python-psycopg-pool/trunk/PKGBUILD)
Deleted:
python-psycopg-pool/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 41 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-02 02:54:50 UTC (rev 1372855)
+++ PKGBUILD 2023-01-02 03:01:03 UTC (rev 1372856)
@@ -1,35 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Guillaume Horel <[email protected]>
-
-pkgname=python-psycopg-pool
-# source is shared with python-psycopg package, hence the weird naming
-_pkgname=python-psycopg
-pkgver=3.1.4
-pkgrel=1
-pkgdesc='Connection pool for psycopg'
-arch=('any')
-url='https://www.psycopg.org/psycopg3/'
-license=('LGPL3')
-depends=('python' 'python-psycopg')
-makedepends=('git' 'python-setuptools')
-_commit='8892e35409791a9318744be0965c4cea956b3fa6'
-source=("$_pkgname::git+https://github.com/psycopg/psycopg.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$_pkgname"
-
- git describe --tags | sed 's/^pool-//'
-}
-
-build(){
- cd "$_pkgname/psycopg_pool"
-
- python setup.py build
-}
-
-package(){
- cd "$_pkgname/psycopg_pool"
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-psycopg-pool/repos/community-any/PKGBUILD (from rev 1372855,
python-psycopg-pool/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-02 03:01:03 UTC (rev 1372856)
@@ -0,0 +1,41 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Guillaume Horel <[email protected]>
+
+pkgname=python-psycopg-pool
+# source is shared with python-psycopg package, hence the weird naming
+_pkgname=python-psycopg
+pkgver=3.1.5
+pkgrel=1
+pkgdesc='Connection pool for psycopg'
+arch=('any')
+url='https://www.psycopg.org/psycopg3/'
+license=('LGPL3')
+depends=('python' 'python-psycopg')
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-setuptools'
+)
+_commit='151a0938fbfda7896f21b7182a74b892a8fb74bc'
+source=("$_pkgname::git+https://github.com/psycopg/psycopg.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$_pkgname"
+
+ git describe --tags | sed 's/^pool-//'
+}
+
+build(){
+ cd "$_pkgname/psycopg_pool"
+
+ python -m build --wheel --no-isolation
+}
+
+package(){
+ cd "$_pkgname/psycopg_pool"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}