pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-psycopg2



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jul  3 03:57:16 UTC 2018

Modified Files:
        pkgsrc/databases/py-psycopg2: Makefile PLIST distinfo
Added Files:
        pkgsrc/databases/py-psycopg2/patches: patch-setup.py

Log Message:
py-psycopg2: do not install tests (fix for Python 3.7)


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/databases/py-psycopg2/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/py-psycopg2/PLIST
cvs rdiff -u -r1.32 -r1.33 pkgsrc/databases/py-psycopg2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/py-psycopg2/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-psycopg2/Makefile
diff -u pkgsrc/databases/py-psycopg2/Makefile:1.41 pkgsrc/databases/py-psycopg2/Makefile:1.42
--- pkgsrc/databases/py-psycopg2/Makefile:1.41  Mon Jun 18 07:46:16 2018
+++ pkgsrc/databases/py-psycopg2/Makefile       Tue Jul  3 03:57:16 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2018/06/18 07:46:16 adam Exp $
+# $NetBSD: Makefile,v 1.42 2018/07/03 03:57:16 adam Exp $
 
 DISTNAME=      psycopg2-2.7.5
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  http://initd.org/psycopg/tarballs/PSYCOPG-2-7/

Index: pkgsrc/databases/py-psycopg2/PLIST
diff -u pkgsrc/databases/py-psycopg2/PLIST:1.11 pkgsrc/databases/py-psycopg2/PLIST:1.12
--- pkgsrc/databases/py-psycopg2/PLIST:1.11     Sun Mar  5 14:19:07 2017
+++ pkgsrc/databases/py-psycopg2/PLIST  Tue Jul  3 03:57:16 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2017/03/05 14:19:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2018/07/03 03:57:16 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -34,96 +34,6 @@ ${PYSITELIB}/psycopg2/psycopg1.pyo
 ${PYSITELIB}/psycopg2/sql.py
 ${PYSITELIB}/psycopg2/sql.pyc
 ${PYSITELIB}/psycopg2/sql.pyo
-${PYSITELIB}/psycopg2/tests/__init__.py
-${PYSITELIB}/psycopg2/tests/__init__.pyc
-${PYSITELIB}/psycopg2/tests/__init__.pyo
-${PYSITELIB}/psycopg2/tests/dbapi20.py
-${PYSITELIB}/psycopg2/tests/dbapi20.pyc
-${PYSITELIB}/psycopg2/tests/dbapi20.pyo
-${PYSITELIB}/psycopg2/tests/dbapi20_tpc.py
-${PYSITELIB}/psycopg2/tests/dbapi20_tpc.pyc
-${PYSITELIB}/psycopg2/tests/dbapi20_tpc.pyo
-${PYSITELIB}/psycopg2/tests/test_async.py
-${PYSITELIB}/psycopg2/tests/test_async.pyc
-${PYSITELIB}/psycopg2/tests/test_async.pyo
-${PYSITELIB}/psycopg2/tests/test_async_keyword.py
-${PYSITELIB}/psycopg2/tests/test_async_keyword.pyc
-${PYSITELIB}/psycopg2/tests/test_async_keyword.pyo
-${PYSITELIB}/psycopg2/tests/test_bugX000.py
-${PYSITELIB}/psycopg2/tests/test_bugX000.pyc
-${PYSITELIB}/psycopg2/tests/test_bugX000.pyo
-${PYSITELIB}/psycopg2/tests/test_bug_gc.py
-${PYSITELIB}/psycopg2/tests/test_bug_gc.pyc
-${PYSITELIB}/psycopg2/tests/test_bug_gc.pyo
-${PYSITELIB}/psycopg2/tests/test_cancel.py
-${PYSITELIB}/psycopg2/tests/test_cancel.pyc
-${PYSITELIB}/psycopg2/tests/test_cancel.pyo
-${PYSITELIB}/psycopg2/tests/test_connection.py
-${PYSITELIB}/psycopg2/tests/test_connection.pyc
-${PYSITELIB}/psycopg2/tests/test_connection.pyo
-${PYSITELIB}/psycopg2/tests/test_copy.py
-${PYSITELIB}/psycopg2/tests/test_copy.pyc
-${PYSITELIB}/psycopg2/tests/test_copy.pyo
-${PYSITELIB}/psycopg2/tests/test_cursor.py
-${PYSITELIB}/psycopg2/tests/test_cursor.pyc
-${PYSITELIB}/psycopg2/tests/test_cursor.pyo
-${PYSITELIB}/psycopg2/tests/test_dates.py
-${PYSITELIB}/psycopg2/tests/test_dates.pyc
-${PYSITELIB}/psycopg2/tests/test_dates.pyo
-${PYSITELIB}/psycopg2/tests/test_errcodes.py
-${PYSITELIB}/psycopg2/tests/test_errcodes.pyc
-${PYSITELIB}/psycopg2/tests/test_errcodes.pyo
-${PYSITELIB}/psycopg2/tests/test_extras_dictcursor.py
-${PYSITELIB}/psycopg2/tests/test_extras_dictcursor.pyc
-${PYSITELIB}/psycopg2/tests/test_extras_dictcursor.pyo
-${PYSITELIB}/psycopg2/tests/test_fast_executemany.py
-${PYSITELIB}/psycopg2/tests/test_fast_executemany.pyc
-${PYSITELIB}/psycopg2/tests/test_fast_executemany.pyo
-${PYSITELIB}/psycopg2/tests/test_green.py
-${PYSITELIB}/psycopg2/tests/test_green.pyc
-${PYSITELIB}/psycopg2/tests/test_green.pyo
-${PYSITELIB}/psycopg2/tests/test_ipaddress.py
-${PYSITELIB}/psycopg2/tests/test_ipaddress.pyc
-${PYSITELIB}/psycopg2/tests/test_ipaddress.pyo
-${PYSITELIB}/psycopg2/tests/test_lobject.py
-${PYSITELIB}/psycopg2/tests/test_lobject.pyc
-${PYSITELIB}/psycopg2/tests/test_lobject.pyo
-${PYSITELIB}/psycopg2/tests/test_module.py
-${PYSITELIB}/psycopg2/tests/test_module.pyc
-${PYSITELIB}/psycopg2/tests/test_module.pyo
-${PYSITELIB}/psycopg2/tests/test_notify.py
-${PYSITELIB}/psycopg2/tests/test_notify.pyc
-${PYSITELIB}/psycopg2/tests/test_notify.pyo
-${PYSITELIB}/psycopg2/tests/test_psycopg2_dbapi20.py
-${PYSITELIB}/psycopg2/tests/test_psycopg2_dbapi20.pyc
-${PYSITELIB}/psycopg2/tests/test_psycopg2_dbapi20.pyo
-${PYSITELIB}/psycopg2/tests/test_quote.py
-${PYSITELIB}/psycopg2/tests/test_quote.pyc
-${PYSITELIB}/psycopg2/tests/test_quote.pyo
-${PYSITELIB}/psycopg2/tests/test_replication.py
-${PYSITELIB}/psycopg2/tests/test_replication.pyc
-${PYSITELIB}/psycopg2/tests/test_replication.pyo
-${PYSITELIB}/psycopg2/tests/test_sql.py
-${PYSITELIB}/psycopg2/tests/test_sql.pyc
-${PYSITELIB}/psycopg2/tests/test_sql.pyo
-${PYSITELIB}/psycopg2/tests/test_transaction.py
-${PYSITELIB}/psycopg2/tests/test_transaction.pyc
-${PYSITELIB}/psycopg2/tests/test_transaction.pyo
-${PYSITELIB}/psycopg2/tests/test_types_basic.py
-${PYSITELIB}/psycopg2/tests/test_types_basic.pyc
-${PYSITELIB}/psycopg2/tests/test_types_basic.pyo
-${PYSITELIB}/psycopg2/tests/test_types_extras.py
-${PYSITELIB}/psycopg2/tests/test_types_extras.pyc
-${PYSITELIB}/psycopg2/tests/test_types_extras.pyo
-${PYSITELIB}/psycopg2/tests/test_with.py
-${PYSITELIB}/psycopg2/tests/test_with.pyc
-${PYSITELIB}/psycopg2/tests/test_with.pyo
-${PYSITELIB}/psycopg2/tests/testconfig.py
-${PYSITELIB}/psycopg2/tests/testconfig.pyc
-${PYSITELIB}/psycopg2/tests/testconfig.pyo
-${PYSITELIB}/psycopg2/tests/testutils.py
-${PYSITELIB}/psycopg2/tests/testutils.pyc
-${PYSITELIB}/psycopg2/tests/testutils.pyo
 ${PYSITELIB}/psycopg2/tz.py
 ${PYSITELIB}/psycopg2/tz.pyc
 ${PYSITELIB}/psycopg2/tz.pyo

Index: pkgsrc/databases/py-psycopg2/distinfo
diff -u pkgsrc/databases/py-psycopg2/distinfo:1.32 pkgsrc/databases/py-psycopg2/distinfo:1.33
--- pkgsrc/databases/py-psycopg2/distinfo:1.32  Mon Jun 18 07:46:16 2018
+++ pkgsrc/databases/py-psycopg2/distinfo       Tue Jul  3 03:57:16 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.32 2018/06/18 07:46:16 adam Exp $
+$NetBSD: distinfo,v 1.33 2018/07/03 03:57:16 adam Exp $
 
 SHA1 (psycopg2-2.7.5.tar.gz) = 4f77e3efcf9a0970be5120352274315f7bd1c754
 RMD160 (psycopg2-2.7.5.tar.gz) = da723cedd2b1000b6af489cb4a9c614776d4dddc
 SHA512 (psycopg2-2.7.5.tar.gz) = 5bf85b6760871f904b6b570ea454f99b72cf97acf9cce10b63dc7b6b0b18913b50ad4f24c469d101c54de6ad6100f1cac3c58225076b5e584a677f5ab4170a93
 Size (psycopg2-2.7.5.tar.gz) = 426358 bytes
+SHA1 (patch-setup.py) = 030c54021120f853b209537c9b0a0f88550af563

Added files:

Index: pkgsrc/databases/py-psycopg2/patches/patch-setup.py
diff -u /dev/null pkgsrc/databases/py-psycopg2/patches/patch-setup.py:1.1
--- /dev/null   Tue Jul  3 03:57:16 2018
+++ pkgsrc/databases/py-psycopg2/patches/patch-setup.py Tue Jul  3 03:57:16 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2018/07/03 03:57:16 adam Exp $
+
+Do not install tests.
+
+--- setup.py.orig      2018-06-29 10:27:08.000000000 +0000
++++ setup.py
+@@ -675,7 +675,7 @@ setup(name="psycopg2",
+       classifiers=[x for x in classifiers.split("\n") if x],
+       data_files=data_files,
+       package_dir={'psycopg2': 'lib', 'psycopg2.tests': 'tests'},
+-      packages=['psycopg2', 'psycopg2.tests'],
++      packages=['psycopg2'],
+       cmdclass={
+           'build_ext': psycopg_build_ext,
+           'build_py': build_py, },



Home | Main Index | Thread Index | Old Index