Hi all-

I'd like to commit this[0] (and below) py-sqlalchemy update soonish.
Substantially similar to one by Robert 
(thanks!). Note that regress requires nose as well as an invocation
of setup.py develop now.

Works fine on i386 for me -- anyone else want to test?

Thanks!

-- 

o--------------------------{ Will Maier }--------------------------o
| web:.......http://www.lfod.us/ | email.........willma...@ml1.net |
*---------------------[ BSD: Live Free or Die ]--------------------*

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/py-sqlalchemy/Makefile,v
retrieving revision 1.16
diff -u Makefile
--- Makefile    4 Jun 2009 19:49:17 -0000       1.16
+++ Makefile    11 Jan 2010 22:13:44 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =              database toolkit for Python
 
-MODPY_EGG_VERSION =    0.5.4p2
+MODPY_EGG_VERSION =    0.5.7
 DISTNAME =             SQLAlchemy-${MODPY_EGG_VERSION}
 PKGNAME =              py-sqlalchemy-${MODPY_EGG_VERSION:S/p/./}
 
@@ -24,8 +24,11 @@
 MODPY_SETUPTOOLS =     Yes
 PKG_ARCH =             *
 
+MAKE_ENV +=            PYTHONPATH=.
+
 # Other DB connectors would work, too.
-REGRESS_DEPENDS =      ::databases/py-sqlite2
+REGRESS_DEPENDS =      ::databases/py-sqlite2 \
+                       ::devel/py-nose
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-sqlalchemy
@@ -35,7 +38,7 @@
                pax -rw * ${PREFIX}/share/examples/py-sqlalchemy
 
 do-regress:
-       @cd ${WRKSRC} && ${MAKE_ENV} \
-           PYTHONPATH=test ${MODPY_BIN} test/alltests.py --db sqlite
+       ${_MODPY_CMD} develop -d.
+       @cd ${WRKSRC} && ${MAKE_ENV} nosetests
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/py-sqlalchemy/distinfo,v
retrieving revision 1.12
diff -u distinfo
--- distinfo    4 Jun 2009 19:49:17 -0000       1.12
+++ distinfo    11 Jan 2010 22:13:44 -0000
@@ -1,5 +1,5 @@
-MD5 (SQLAlchemy-0.5.4p2.tar.gz) = QI37CGgBirwWVLF6L6+vcA==
-RMD160 (SQLAlchemy-0.5.4p2.tar.gz) = aHnRTLNonlX4mSMcV8m7ZndqgyQ=
-SHA1 (SQLAlchemy-0.5.4p2.tar.gz) = oszKW82eRKFL8YDDmPmPjSwAP8Y=
-SHA256 (SQLAlchemy-0.5.4p2.tar.gz) = 
jRmJ4nAE5OB7PxdJhYfGl93Ke3bhc/Vk8uQl+xwU08g=
-SIZE (SQLAlchemy-0.5.4p2.tar.gz) = 1471063
+MD5 (SQLAlchemy-0.5.7.tar.gz) = tqdhXsZ2H2YLIzWfOp2QKw==
+RMD160 (SQLAlchemy-0.5.7.tar.gz) = aJB/Gt6E9+BZ+5GmW37Qmq1c4xo=
+SHA1 (SQLAlchemy-0.5.7.tar.gz) = difN5Va9eVfU5p00LPsQFgOICCE=
+SHA256 (SQLAlchemy-0.5.7.tar.gz) = l+/zsAaM0PdqAppk3vqQjKaG3i15BPph8JmSfl9Djas=
+SIZE (SQLAlchemy-0.5.7.tar.gz) = 1542756
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/databases/py-sqlalchemy/pkg/PLIST,v
retrieving revision 1.8
diff -u pkg/PLIST
--- pkg/PLIST   4 Jun 2009 19:49:17 -0000       1.8
+++ pkg/PLIST   11 Jan 2010 22:13:44 -0000
@@ -3,11 +3,13 @@
 
lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 
lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
 
lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
 
lib/python${MODPY_VERSION}/site-packages/SQLAlchemy-${MODPY_EGG_VERSION}-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
@@ -35,6 +37,8 @@
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/oracle.pyc
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/postgres.py
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/postgres.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/postgresql.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/postgresql.pyc
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/sqlite.py
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/sqlite.pyc
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/databases/sybase.py
@@ -137,6 +141,29 @@
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/sql/util.pyc
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/sql/visitors.py
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/sql/visitors.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/__init__.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/__init__.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/assertsql.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/assertsql.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/config.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/config.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/engines.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/engines.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/noseplugin.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/noseplugin.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/orm.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/orm.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/pickleable.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/pickleable.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/profiling.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/profiling.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/requires.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/requires.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/schema.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/schema.pyc
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/testing.py
+lib/python${MODPY_VERSION}/site-packages/sqlalchemy/test/testing.pyc
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/topological.py
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/topological.pyc
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/types.py
@@ -144,6 +171,8 @@
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/util.py
 lib/python${MODPY_VERSION}/site-packages/sqlalchemy/util.pyc
 share/doc/py-sqlalchemy/
+share/doc/py-sqlalchemy/_images/
+share/doc/py-sqlalchemy/_images/sqla_arch_small.jpg
 share/doc/py-sqlalchemy/_sources/
 share/doc/py-sqlalchemy/_sources/copyright.txt
 share/doc/py-sqlalchemy/_sources/dbengine.txt
@@ -254,6 +283,7 @@
 share/doc/py-sqlalchemy/build/reference/sqlalchemy/schema.rst
 share/doc/py-sqlalchemy/build/reference/sqlalchemy/types.rst
 share/doc/py-sqlalchemy/build/session.rst
+share/doc/py-sqlalchemy/build/sqla_arch_small.jpg
 share/doc/py-sqlalchemy/build/sqlexpression.rst
 share/doc/py-sqlalchemy/build/static/
 share/doc/py-sqlalchemy/build/static/docs.css
@@ -320,21 +350,29 @@
 share/doc/py-sqlalchemy/sqlexpression.html
 share/examples/py-sqlalchemy/
 share/examples/py-sqlalchemy/README
+share/examples/py-sqlalchemy/__init__.py
 share/examples/py-sqlalchemy/adjacencytree/
+share/examples/py-sqlalchemy/adjacencytree/__init__.py
 share/examples/py-sqlalchemy/adjacencytree/basic_tree.py
 share/examples/py-sqlalchemy/association/
+share/examples/py-sqlalchemy/association/__init__.py
 share/examples/py-sqlalchemy/association/basic_association.py
 share/examples/py-sqlalchemy/association/proxied_association.py
 share/examples/py-sqlalchemy/collections/
+share/examples/py-sqlalchemy/collections/__init__.py
 share/examples/py-sqlalchemy/collections/large_collection.py
 share/examples/py-sqlalchemy/custom_attributes/
+share/examples/py-sqlalchemy/custom_attributes/__init__.py
 share/examples/py-sqlalchemy/custom_attributes/custom_management.py
 share/examples/py-sqlalchemy/custom_attributes/listen_for_events.py
 share/examples/py-sqlalchemy/derived_attributes/
+share/examples/py-sqlalchemy/derived_attributes/__init__.py
 share/examples/py-sqlalchemy/derived_attributes/attributes.py
 share/examples/py-sqlalchemy/dynamic_dict/
+share/examples/py-sqlalchemy/dynamic_dict/__init__.py
 share/examples/py-sqlalchemy/dynamic_dict/dynamic_dict.py
 share/examples/py-sqlalchemy/elementtree/
+share/examples/py-sqlalchemy/elementtree/__init__.py
 share/examples/py-sqlalchemy/elementtree/adjacency_list.py
 share/examples/py-sqlalchemy/elementtree/optimized_al.py
 share/examples/py-sqlalchemy/elementtree/pickle.py
@@ -342,28 +380,37 @@
 share/examples/py-sqlalchemy/elementtree/test2.xml
 share/examples/py-sqlalchemy/elementtree/test3.xml
 share/examples/py-sqlalchemy/graphs/
+share/examples/py-sqlalchemy/graphs/__init__.py
 share/examples/py-sqlalchemy/graphs/graph1.py
 share/examples/py-sqlalchemy/nested_sets/
+share/examples/py-sqlalchemy/nested_sets/__init__.py
 share/examples/py-sqlalchemy/nested_sets/nested_sets.py
 share/examples/py-sqlalchemy/pickle/
+share/examples/py-sqlalchemy/pickle/__init__.py
 share/examples/py-sqlalchemy/pickle/custom_pickler.py
 share/examples/py-sqlalchemy/poly_assoc/
+share/examples/py-sqlalchemy/poly_assoc/__init__.py
 share/examples/py-sqlalchemy/poly_assoc/poly_assoc.py
 share/examples/py-sqlalchemy/poly_assoc/poly_assoc_fk.py
 share/examples/py-sqlalchemy/poly_assoc/poly_assoc_generic.py
 share/examples/py-sqlalchemy/polymorph/
+share/examples/py-sqlalchemy/polymorph/__init__.py
 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/postgis/
+share/examples/py-sqlalchemy/postgis/__init__.py
 share/examples/py-sqlalchemy/postgis/postgis.py
 share/examples/py-sqlalchemy/query_caching/
+share/examples/py-sqlalchemy/query_caching/__init__.py
 share/examples/py-sqlalchemy/query_caching/implicit.py
 share/examples/py-sqlalchemy/query_caching/per_session.py
 share/examples/py-sqlalchemy/query_caching/query_caching.py
 share/examples/py-sqlalchemy/sharding/
+share/examples/py-sqlalchemy/sharding/__init__.py
 share/examples/py-sqlalchemy/sharding/attribute_shard.py
 share/examples/py-sqlalchemy/vertical/
+share/examples/py-sqlalchemy/vertical/__init__.py
 share/examples/py-sqlalchemy/vertical/dictlike-polymorphic.py
 share/examples/py-sqlalchemy/vertical/dictlike.py
 share/examples/py-sqlalchemy/vertical/vertical.py

Reply via email to