[arch-commits] Commit in python-pg8000/trunk (PKGBUILD postgresql-12.diff)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sat Jul 18 13:55:54 UTC 2020
Date: Saturday, July 18, 2020 @ 13:55:53
Author: yan12125
Revision: 664416
upgpkg: python-pg8000 1.16.1-1; the test issue is fixed upstream
Modified:
python-pg8000/trunk/PKGBUILD
Deleted:
python-pg8000/trunk/postgresql-12.diff
--------------------+
PKGBUILD | 11 +++--------
postgresql-12.diff | 17 -----------------
2 files changed, 3 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-18 13:43:42 UTC (rev 664415)
+++ PKGBUILD 2020-07-18 13:55:53 UTC (rev 664416)
@@ -2,7 +2,7 @@
# Contributor: quomoow <quomoow at gmail.com>
pkgname=python-pg8000
-pkgver=1.16.0
+pkgver=1.16.1
pkgrel=1
pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible"
arch=(any)
@@ -11,17 +11,12 @@
makedepends=(python-setuptools)
checkdepends=(python-pytest python-pytest-mock python-pytz pifpaf postgresql)
depends=(python python-scramp)
-source=("https://github.com/tlocke/pg8000/archive/$pkgver/pg8000-$pkgver.tar.gz"
- postgresql-12.diff)
-sha256sums=('dbba2061f4e5f7a405bdd7839ddfd1e180b1a4844279f21eb77bed3808bee4af'
- '31693ddabeb8d772949ecbfd0f917223802be85039a613e083ecdeee417576db')
+source=("https://github.com/tlocke/pg8000/archive/$pkgver/pg8000-$pkgver.tar.gz")
+sha256sums=('8af9ba3e1edf249b50b13f9f654aa6d39dd66c959fbbf041a4b66cefeb05c7d9')
prepare() {
cd pg8000-$pkgver
- # https://github.com/tlocke/pg8000/issues/46
- patch -Np1 -i ../postgresql-12.diff
-
# 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
Deleted: postgresql-12.diff
===================================================================
--- postgresql-12.diff 2020-07-18 13:43:42 UTC (rev 664415)
+++ postgresql-12.diff 2020-07-18 13:55:53 UTC (rev 664416)
@@ -1,17 +0,0 @@
-diff --git a/test/test_copy.py b/test/test_copy.py
-index e46b8d2..847fef3 100644
---- a/test/test_copy.py
-+++ b/test/test_copy.py
-@@ -71,10 +71,10 @@ def test_copy_from_with_error(db_table):
- arg = {
- 'S': 'ERROR',
- 'C': '22P02',
-- 'M': 'invalid input syntax for integer: ""',
-+ 'M': 'invalid input syntax for type integer: ""',
- 'W': 'COPY t1, line 2, column f1: ""',
- 'F': 'numutils.c',
-- 'R': 'pg_atoi'
-+ 'R': 'pg_strtoint32'
- }
- earg = e.value.args[0]
- for k, v in arg.items():
More information about the arch-commits
mailing list