Date: Friday, April 7, 2023 @ 04:30:23
  Author: felixonmars
Revision: 1440519

archrelease: copy trunk to community-staging-any

Added:
  python-psycopg-pool/repos/community-staging-any/
  python-psycopg-pool/repos/community-staging-any/PKGBUILD
    (from rev 1440517, python-psycopg-pool/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: python-psycopg-pool/repos/community-staging-any/PKGBUILD (from rev 
1440517, python-psycopg-pool/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 04:30:23 UTC (rev 1440519)
@@ -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.6
+pkgrel=2
+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='8bdf4fe61211183ffdd14edbbab73f333f758853'
+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
+}

Reply via email to