[arch-commits] Commit in python-psycopg-pool/repos (2 files)

George Rawlinson grawlinson at gemini.archlinux.org
Wed Jun 8 01:32:38 UTC 2022


    Date: Wednesday, June 8, 2022 @ 01:32:38
  Author: grawlinson
Revision: 1228607

archrelease: copy trunk to community-any

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

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

Copied: python-psycopg-pool/repos/community-any/PKGBUILD (from rev 1228606, python-psycopg-pool/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2022-06-08 01:32:38 UTC (rev 1228607)
@@ -0,0 +1,35 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgname=python-psycopg-pool
+# source is shared with python-psycopg package, hence the weird naming
+_pkgname=python-psycopg
+pkgver=3.1.1
+pkgrel=2
+pkgdesc='Connection pool for psycopg'
+arch=('any')
+url='https://www.psycopg.org/psycopg3/'
+license=('LGPL3')
+depends=('python' 'python-psycopg')
+makedepends=('git' 'python-setuptools')
+_commit='fe5d33d573724fc80945fca1d1c7da22d822dab5'
+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
+}



More information about the arch-commits mailing list