pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-psycopg2 py-psycopg2: updated to 2.8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a238664bead9
branches:  trunk
changeset: 332164:a238664bead9
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Apr 05 09:14:41 2019 +0000

description:
py-psycopg2: updated to 2.8

Psycopg 2.8 released

After about two years from the previous major release, psycopg 2.8 is finally
here!

Among the highlights, PostgreSQL errors are now mapped to Python exceptions for
a more idiomatic way to handle them. Several additions allow a better insight
of the connection status and query results.

Behind the scene, asynchronous communication and concurrency received several
improvements, and dropping support for older versions of Python gave the chance
to refactor and modernise the codebase (with the especial help from Jon
Dufresne who ruthlessly butchered our code into a streamlined pulp).

diffstat:

 databases/py-psycopg2/Makefile |   6 +++---
 databases/py-psycopg2/PLIST    |  14 ++++++++++----
 databases/py-psycopg2/distinfo |  11 +++++------
 3 files changed, 18 insertions(+), 13 deletions(-)

diffs (74 lines):

diff -r cdab3541308f -r a238664bead9 databases/py-psycopg2/Makefile
--- a/databases/py-psycopg2/Makefile    Fri Apr 05 08:23:12 2019 +0000
+++ b/databases/py-psycopg2/Makefile    Fri Apr 05 09:14:41 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.44 2019/02/05 11:39:19 adam Exp $
+# $NetBSD: Makefile,v 1.45 2019/04/05 09:14:41 adam Exp $
 
-DISTNAME=      psycopg2-2.7.7
+DISTNAME=      psycopg2-2.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
-MASTER_SITES=  http://initd.org/psycopg/tarballs/PSYCOPG-2-7/
+MASTER_SITES=  http://initd.org/psycopg/tarballs/PSYCOPG-2-8/
 
 MAINTAINER=    joerg%NetBSD.org@localhost
 HOMEPAGE=      http://initd.org/psycopg/
diff -r cdab3541308f -r a238664bead9 databases/py-psycopg2/PLIST
--- a/databases/py-psycopg2/PLIST       Fri Apr 05 08:23:12 2019 +0000
+++ b/databases/py-psycopg2/PLIST       Fri Apr 05 09:14:41 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2018/07/03 03:57:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2019/04/05 09:14:41 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -12,13 +12,22 @@
 ${PYSITELIB}/psycopg2/_json.py
 ${PYSITELIB}/psycopg2/_json.pyc
 ${PYSITELIB}/psycopg2/_json.pyo
+${PYSITELIB}/psycopg2/_lru_cache.py
+${PYSITELIB}/psycopg2/_lru_cache.pyc
+${PYSITELIB}/psycopg2/_lru_cache.pyo
 ${PYSITELIB}/psycopg2/_psycopg.so
 ${PYSITELIB}/psycopg2/_range.py
 ${PYSITELIB}/psycopg2/_range.pyc
 ${PYSITELIB}/psycopg2/_range.pyo
+${PYSITELIB}/psycopg2/compat.py
+${PYSITELIB}/psycopg2/compat.pyc
+${PYSITELIB}/psycopg2/compat.pyo
 ${PYSITELIB}/psycopg2/errorcodes.py
 ${PYSITELIB}/psycopg2/errorcodes.pyc
 ${PYSITELIB}/psycopg2/errorcodes.pyo
+${PYSITELIB}/psycopg2/errors.py
+${PYSITELIB}/psycopg2/errors.pyc
+${PYSITELIB}/psycopg2/errors.pyo
 ${PYSITELIB}/psycopg2/extensions.py
 ${PYSITELIB}/psycopg2/extensions.pyc
 ${PYSITELIB}/psycopg2/extensions.pyo
@@ -28,9 +37,6 @@
 ${PYSITELIB}/psycopg2/pool.py
 ${PYSITELIB}/psycopg2/pool.pyc
 ${PYSITELIB}/psycopg2/pool.pyo
-${PYSITELIB}/psycopg2/psycopg1.py
-${PYSITELIB}/psycopg2/psycopg1.pyc
-${PYSITELIB}/psycopg2/psycopg1.pyo
 ${PYSITELIB}/psycopg2/sql.py
 ${PYSITELIB}/psycopg2/sql.pyc
 ${PYSITELIB}/psycopg2/sql.pyo
diff -r cdab3541308f -r a238664bead9 databases/py-psycopg2/distinfo
--- a/databases/py-psycopg2/distinfo    Fri Apr 05 08:23:12 2019 +0000
+++ b/databases/py-psycopg2/distinfo    Fri Apr 05 09:14:41 2019 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.35 2019/02/05 11:39:19 adam Exp $
+$NetBSD: distinfo,v 1.36 2019/04/05 09:14:41 adam Exp $
 
-SHA1 (psycopg2-2.7.7.tar.gz) = 21de7c39df8f9bb92bda1e34f671473eaa55efd4
-RMD160 (psycopg2-2.7.7.tar.gz) = 12713d105e20d286ee57a3d820b5c7aa8101b5af
-SHA512 (psycopg2-2.7.7.tar.gz) = 032344957c00bf659ca5e46f54f827a6d79809e370d661cd349e2ce935873359bcc4f440b74c6f14658bf1cd9598b6d884abae507fd33db9e07b01fc87967fb0
-Size (psycopg2-2.7.7.tar.gz) = 427474 bytes
-SHA1 (patch-setup.py) = 030c54021120f853b209537c9b0a0f88550af563
+SHA1 (psycopg2-2.8.tar.gz) = 302368b8bdd7b8587e9e9ffb686ad66b9c7194de
+RMD160 (psycopg2-2.8.tar.gz) = 33ae54aa8fafa0f4592fe6bc4118dea17c462d91
+SHA512 (psycopg2-2.8.tar.gz) = 8ffe527be9bfeb9b907753e6c4811cf3838b1bfb115b4acd4917d4a56b90fae4a0e1efa2cbcec18cd23957ccfb3a3db6285d67332b800ffca3b075d43d1aef65
+Size (psycopg2-2.8.tar.gz) = 367485 bytes



Home | Main Index | Thread Index | Old Index