From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 10 19:40:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACCB1106564A for ; Tue, 10 Apr 2012 19:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7F86F8FC12 for ; Tue, 10 Apr 2012 19:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3AJe1iU008693 for ; Tue, 10 Apr 2012 19:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3AJe1dN008692; Tue, 10 Apr 2012 19:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 10 Apr 2012 19:40:01 GMT Resent-Message-Id: <201204101940.q3AJe1dN008692@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olivier Duchateau Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27ADF106564A for ; Tue, 10 Apr 2012 19:36:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 08A588FC0A for ; Tue, 10 Apr 2012 19:36:19 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3AJaIxA028838 for ; Tue, 10 Apr 2012 19:36:18 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q3AJaIOr028836; Tue, 10 Apr 2012 19:36:18 GMT (envelope-from nobody) Message-Id: <201204101936.q3AJaIOr028836@red.freebsd.org> Date: Tue, 10 Apr 2012 19:36:18 GMT From: Olivier Duchateau To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/166827: [UPDATE] databases/py-sqlalchemy to 0.7.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2012 19:40:01 -0000 >Number: 166827 >Category: ports >Synopsis: [UPDATE] databases/py-sqlalchemy to 0.7.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Apr 10 19:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olivier Duchateau >Release: FreeBSD 8.2-RELEASE-p3 i386 >Organization: >Environment: >Description: - Update to 0.7.6 - Add PR163884, http://www.FreeBSD.org/cgi/query-pr.cgi?pr=163884 and enhance support of MySQL with Python3 - Add PR166512, http://www.FreeBSD.org/cgi/query-pr.cgi?pr=166512 >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN /usr/ports/databases/py-sqlalchemy/Makefile py-sqlalchemy/Makefile --- /usr/ports/databases/py-sqlalchemy/Makefile 2011-10-22 19:38:20.000000000 +0200 +++ py-sqlalchemy/Makefile 2012-04-10 20:29:53.000000000 +0200 @@ -6,7 +6,7 @@ # PORTNAME= sqlalchemy -PORTVERSION= 0.7.3 +PORTVERSION= 0.7.6 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -27,9 +27,9 @@ OPTIONS= FIREBIRD "support FireBird" off OPTIONS+= MSSQL "support MS SQL Server" off -OPTIONS+= MYSQL "support MySql" on +OPTIONS+= MYSQL "support MySQL" on OPTIONS+= NOSE "install Nose for unit tests" off -OPTIONS+= POSTGRE "support PostGreSQL" on +OPTIONS+= PGSQL "support PostGreSQL" on OPTIONS+= SQLITE "support Sqlite" on OPTIONS+= SYBASE "support Sybase" off @@ -52,14 +52,18 @@ .endif .if !defined(WITHOUT_MYSQL) +.if ${PYTHON_VER} < 3.0 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb +.else +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pymysql/__init__.py:${PORTSDIR}/databases/py-pymysql +.endif .endif .if defined(WITH_NOSE) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}nose-1.0.0:${PORTSDIR}/devel/py-nose .endif -.if !defined(WITHOUT_POSTGRE) +.if !defined(WITHOUT_PGSQL) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:${PORTSDIR}/databases/py-psycopg2 .endif diff -urN /usr/ports/databases/py-sqlalchemy/distinfo py-sqlalchemy/distinfo --- /usr/ports/databases/py-sqlalchemy/distinfo 2011-10-22 19:38:20.000000000 +0200 +++ py-sqlalchemy/distinfo 2012-04-10 20:29:53.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (SQLAlchemy-0.7.3.tar.gz) = 54e6e9fb30bef740b036c69cffbcb369cae2e61f95b69af4c086fca9c15308fa -SIZE (SQLAlchemy-0.7.3.tar.gz) = 2463979 +SHA256 (SQLAlchemy-0.7.6.tar.gz) = 606a48a2d53ad959043347dec1d9f9cc561d9b66d79f463a7a8fe302058119e5 +SIZE (SQLAlchemy-0.7.6.tar.gz) = 2597214 diff -urN /usr/ports/databases/py-sqlalchemy/files/patch-setup.py py-sqlalchemy/files/patch-setup.py --- /usr/ports/databases/py-sqlalchemy/files/patch-setup.py 1970-01-01 01:00:00.000000000 +0100 +++ py-sqlalchemy/files/patch-setup.py 2012-04-10 20:29:53.000000000 +0200 @@ -0,0 +1,11 @@ +--- setup.py.orig 2012-03-15 05:23:20.000000000 +0100 ++++ setup.py 2012-04-10 19:19:38.000000000 +0200 +@@ -128,7 +128,7 @@ + package_dir={'': 'lib'}, + license="MIT License", + cmdclass=cmdclass, +- ++ zip_safe=False, + tests_require=['nose >= 0.11'], + test_suite="sqla_nose", + long_description=readme, diff -urN /usr/ports/databases/py-sqlalchemy/pkg-plist py-sqlalchemy/pkg-plist --- /usr/ports/databases/py-sqlalchemy/pkg-plist 2011-08-10 17:55:20.000000000 +0200 +++ py-sqlalchemy/pkg-plist 2012-04-10 20:29:53.000000000 +0200 @@ -295,6 +295,9 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/mapper.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/mapper.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/mapper.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/persistence.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/persistence.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/persistence.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/properties.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/properties.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sqlalchemy/orm/properties.pyo @@ -455,6 +458,8 @@ %%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom_attributes/__init__.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom_attributes/custom_management.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom_attributes/listen_for_events.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/declarative_reflection/__init__.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/declarative_reflection/declarative_reflection.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic_dict/__init__.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dynamic_dict/dynamic_dict.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/elementtree/__init__.py @@ -500,6 +505,7 @@ %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/generic_associations %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/elementtree %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/dynamic_dict +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/declarative_reflection %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/custom_attributes %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/beaker_caching %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/association >Release-Note: >Audit-Trail: >Unformatted: