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: do not install test...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/942846d674d5
branches:  trunk
changeset: 382371:942846d674d5
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jul 03 03:57:16 2018 +0000

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

diffstat:

 databases/py-psycopg2/Makefile               |   3 +-
 databases/py-psycopg2/PLIST                  |  92 +---------------------------
 databases/py-psycopg2/distinfo               |   3 +-
 databases/py-psycopg2/patches/patch-setup.py |  15 ++++
 4 files changed, 20 insertions(+), 93 deletions(-)

diffs (149 lines):

diff -r 328e3ac38241 -r 942846d674d5 databases/py-psycopg2/Makefile
--- a/databases/py-psycopg2/Makefile    Tue Jul 03 03:55:40 2018 +0000
+++ b/databases/py-psycopg2/Makefile    Tue Jul 03 03:57:16 2018 +0000
@@ -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/
diff -r 328e3ac38241 -r 942846d674d5 databases/py-psycopg2/PLIST
--- a/databases/py-psycopg2/PLIST       Tue Jul 03 03:55:40 2018 +0000
+++ b/databases/py-psycopg2/PLIST       Tue Jul 03 03:57:16 2018 +0000
@@ -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/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
diff -r 328e3ac38241 -r 942846d674d5 databases/py-psycopg2/distinfo
--- a/databases/py-psycopg2/distinfo    Tue Jul 03 03:55:40 2018 +0000
+++ b/databases/py-psycopg2/distinfo    Tue Jul 03 03:57:16 2018 +0000
@@ -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
diff -r 328e3ac38241 -r 942846d674d5 databases/py-psycopg2/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-psycopg2/patches/patch-setup.py      Tue Jul 03 03:57:16 2018 +0000
@@ -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