[arch-commits] Commit in python-pg8000/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Jul 4 13:13:28 UTC 2021


    Date: Sunday, July 4, 2021 @ 13:13:28
  Author: yan12125
Revision: 972046

upgpkg: python-pg8000 1.20.0-1; drop unneeded patching

Since [1], upstream no longer uses a fixed version for dependencies

[1] https://github.com/tlocke/pg8000/issues/74

Modified:
  python-pg8000/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-04 13:09:11 UTC (rev 972045)
+++ PKGBUILD	2021-07-04 13:13:28 UTC (rev 972046)
@@ -2,7 +2,7 @@
 # Contributor: quomoow <quomoow at gmail.com>
 
 pkgname=python-pg8000
-pkgver=1.19.5
+pkgver=1.20.0
 pkgrel=1
 pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible"
 arch=(any)
@@ -13,20 +13,12 @@
               python-pytz postgresql)
 depends=(python python-scramp)
 source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz"{,.asc})
-sha256sums=('dcb9afb9cb87acc79388ae633c45cf7f806aabe3bb5d8cf154572b699393f937'
+sha256sums=('490ec22a92601f0454b3ed4c8d4ecddc30f66c0e3f783f0ecc581037749a8c55'
             'SKIP')
 validpgpkeys=(
   'D5681B7EC7292511C4CC1450892B00AB699851E8'  # Tony Locke <tlocke at tlocke.org.uk>, proven by https://keybase.io/tlocke
 )
 
-prepare() {
-  cd pg8000-$pkgver
-
-  # Remove upper bounds of dependencies
-  sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
-  diff -u setup.py{.orig,} || true
-}
-
 build() {
   cd pg8000-$pkgver
   python setup.py build




More information about the arch-commits mailing list