summaryrefslogtreecommitdiff
path: root/databases/py-psycopg2
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-04-05 09:14:41 +0000
committeradam <adam@pkgsrc.org>2019-04-05 09:14:41 +0000
commit55a6329b8136146901a0261227a5d4f2af3b6203 (patch)
tree39b360618bf46efd71f0239332594c417d5866a9 /databases/py-psycopg2
parent1d8533e8020f5a06a895525778b10e8003fe6db2 (diff)
downloadpkgsrc-55a6329b8136146901a0261227a5d4f2af3b6203.tar.gz
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 (limited to 'databases/py-psycopg2')
-rw-r--r--databases/py-psycopg2/Makefile6
-rw-r--r--databases/py-psycopg2/PLIST14
-rw-r--r--databases/py-psycopg2/distinfo11
3 files changed, 18 insertions, 13 deletions
diff --git a/databases/py-psycopg2/Makefile b/databases/py-psycopg2/Makefile
index de6541a7bf4..ea09bd1d188 100644
--- a/databases/py-psycopg2/Makefile
+++ b/databases/py-psycopg2/Makefile
@@ -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
HOMEPAGE= http://initd.org/psycopg/
diff --git a/databases/py-psycopg2/PLIST b/databases/py-psycopg2/PLIST
index c809716f139..02379741a4d 100644
--- a/databases/py-psycopg2/PLIST
+++ b/databases/py-psycopg2/PLIST
@@ -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/_ipaddress.pyo
${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/extras.pyo
${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 --git a/databases/py-psycopg2/distinfo b/databases/py-psycopg2/distinfo
index 52bc1cfa491..fb842f5160a 100644
--- a/databases/py-psycopg2/distinfo
+++ b/databases/py-psycopg2/distinfo
@@ -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