On Sun, May 20, 2007 at 09:07:14PM +0300, Martynas Venckus wrote: > - update to 0.3.7; > - install documentation and examples;
I don't see the point in installing all of the HTML docs; they're available on the website. > - enable postgresql (needs py-psycopg2 i've just submitted); In fact, my intention with the 0.3.7 release was to remove the REGRESS_DEPEND on py-mysql as it is no longer necessary. There was a bug in <0.3.7 that broke the regress tests if py-mysql wasn't present, but that wasn't the intended behavior. Upstream accepted a patch from me which fixed this. Now that the problem is resolved, I'd like to only require py-sqlite3 for regress tests. > - RUN_DEPENDS; Why require _all_ of the backends supported by the port in RUN_DEPENDS? In most cases, users will want support for just one backend, and they'll know which backend that is. It seems better to me to let the user install the backend of their choice. Updated patch attached and available at: http://www.lfod.us/files/ports/py-sqlalchemy.diff Thanks! -- o--------------------------{ Will Maier }--------------------------o | web:.......http://www.lfod.us/ | [EMAIL PROTECTED] | *------------------[ BSD Unix: Live Free or Die ]------------------*
? .swp ? w-py-sqlalchemy-0.3.7 Index: Makefile =================================================================== RCS file: /cvs/ports/databases/py-sqlalchemy/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 2007/04/01 13:16:29 1.2 +++ Makefile 2007/05/20 19:11:09 @@ -2,7 +2,7 @@ COMMENT= "database toolkit for Python" -V= 0.3.6 +V= 0.3.7 DISTNAME= SQLAlchemy-${V} PKGNAME= py-sqlalchemy-${V} @@ -26,8 +26,13 @@ MODPY_SETUPTOOLS= Yes # Other DB connectors would work, too. -REGRESS_DEPENDS= ::databases/py-sqlite2 \ - ::databases/py-mysql +REGRESS_DEPENDS= ::databases/py-sqlite2 + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-sqlalchemy + cd ${WRKSRC}/examples && \ + find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-sqlalchemy/{} \; && \ + find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/examples/py-sqlalchemy/{} \; do-regress: @cd ${WRKSRC} && PYTHONPATH=./test/ ${MODPY_BIN} test/alltests.py --db sqlite Index: distinfo =================================================================== RCS file: /cvs/ports/databases/py-sqlalchemy/distinfo,v retrieving revision 1.3 diff -u -u -r1.3 distinfo --- distinfo 2007/04/05 15:37:51 1.3 +++ distinfo 2007/05/20 19:11:09 @@ -1,5 +1,5 @@ -MD5 (SQLAlchemy-0.3.6.tar.gz) = Bs1glQ2Pl/lGajI9P65ctQ== -RMD160 (SQLAlchemy-0.3.6.tar.gz) = UH6sscL4bA2OcYQj9Wq7FqF9l8U= -SHA1 (SQLAlchemy-0.3.6.tar.gz) = /J9zZj4n3ZMrx+G0G94opUpee/Q= -SHA256 (SQLAlchemy-0.3.6.tar.gz) = MgmbfTGQ/ixNuhSJDq6CnUA+R4D2jScN/kEMSE1SHAU= -SIZE (SQLAlchemy-0.3.6.tar.gz) = 824550 +MD5 (SQLAlchemy-0.3.7.tar.gz) = 8zFGmKJw6Pxqaf6V6YzzTg== +RMD160 (SQLAlchemy-0.3.7.tar.gz) = rrJKFCZsZ+9cn0znlbpODEhH6dQ= +SHA1 (SQLAlchemy-0.3.7.tar.gz) = 9aB9vkxr+/9u9o6vmpNBnS/Q91U= +SHA256 (SQLAlchemy-0.3.7.tar.gz) = PbK0UJVBzFaLvMERDwE8Yiy2SGcNBMxoYIX+n20cHBI= +SIZE (SQLAlchemy-0.3.7.tar.gz) = 879706 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/databases/py-sqlalchemy/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -u -r1.1.1.1 PLIST --- pkg/PLIST 2007/02/04 23:00:06 1.1.1.1 +++ pkg/PLIST 2007/05/20 19:11:09 @@ -1,13 +1,15 @@ [EMAIL PROTECTED] $OpenBSD: PLIST,v 1.1.1.1 2007/02/04 23:00:06 steven Exp $ [EMAIL PROTECTED] $OpenBSD$ lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${V}-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${V}-py${MODPY_VERSION}.egg-info/PKG-INFO lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${V}-py${MODPY_VERSION}.egg-info/SOURCES.txt lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${V}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${V}-py${MODPY_VERSION}.egg-info/entry_points.txt lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${V}-py${MODPY_VERSION}.egg-info/top_level.txt lib/python${MODPY_VERSION}/site-packages/SQLAlchemy.egg-info/ lib/python${MODPY_VERSION}/site-packages/SQLAlchemy.egg-info/PKG-INFO lib/python${MODPY_VERSION}/site-packages/SQLAlchemy.egg-info/SOURCES.txt lib/python${MODPY_VERSION}/site-packages/SQLAlchemy.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/SQLAlchemy.egg-info/entry_points.txt lib/python${MODPY_VERSION}/site-packages/SQLAlchemy.egg-info/top_level.txt lib/python${MODPY_VERSION}/site-packages/sqlalchemy/ lib/python${MODPY_VERSION}/site-packages/sqlalchemy/__init__.py @@ -21,6 +23,8 @@ lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/firebird.pyc lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/information_schema.py lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/information_schema.pyc +lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/informix.py +lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/informix.pyc lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/mssql.py lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/mssql.pyc lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/mysql.py @@ -117,3 +121,25 @@ lib/python${MODPY_VERSION}/site-packages/sqlalchemy/types.pyc lib/python${MODPY_VERSION}/site-packages/sqlalchemy/util.py lib/python${MODPY_VERSION}/site-packages/sqlalchemy/util.pyc +share/examples/py-sqlalchemy/ +share/examples/py-sqlalchemy/README +share/examples/py-sqlalchemy/adjacencytree/ +share/examples/py-sqlalchemy/adjacencytree/basic_tree.py +share/examples/py-sqlalchemy/adjacencytree/byroot_tree.py +share/examples/py-sqlalchemy/association/ +share/examples/py-sqlalchemy/association/basic_association.py +share/examples/py-sqlalchemy/association/proxied_association.py +share/examples/py-sqlalchemy/backref/ +share/examples/py-sqlalchemy/backref/backref_tree.py +share/examples/py-sqlalchemy/collections/ +share/examples/py-sqlalchemy/collections/large_collection.py +share/examples/py-sqlalchemy/graphs/ +share/examples/py-sqlalchemy/graphs/graph1.py +share/examples/py-sqlalchemy/pickle/ +share/examples/py-sqlalchemy/pickle/custom_pickler.py +share/examples/py-sqlalchemy/polymorph/ +share/examples/py-sqlalchemy/polymorph/concrete.py +share/examples/py-sqlalchemy/polymorph/polymorph.py +share/examples/py-sqlalchemy/polymorph/single.py +share/examples/py-sqlalchemy/vertical/ +share/examples/py-sqlalchemy/vertical/vertical.py