diff options
author | tonnerre <tonnerre@pkgsrc.org> | 2008-09-04 20:42:28 +0000 |
---|---|---|
committer | tonnerre <tonnerre@pkgsrc.org> | 2008-09-04 20:42:28 +0000 |
commit | 15f8c1c4347a71ee9ce0d2bbc7a24373c098457c (patch) | |
tree | 02f3d09e68d1e831f1812830452ecc7f2183291e /databases/py-sqlalchemy | |
parent | 6301bb0de2d4656bcb729aec18e2412bc9984b73 (diff) | |
download | pkgsrc-15f8c1c4347a71ee9ce0d2bbc7a24373c098457c.tar.gz |
Import the SQLAlchemy Python module. SQLAlchemy is a customizable object
oriented interface to databases like DBIx-Class is for Perl. It is quite
extensible and widely deployed.
It contains compilers for a number of database engines which are used
only if they're requested explicitly, nevertheless the package offers to
depend on some of them explicitly as requested by
PKG_OPTIONS.py-sqlalchemy.
Diffstat (limited to 'databases/py-sqlalchemy')
-rw-r--r-- | databases/py-sqlalchemy/DESCR | 6 | ||||
-rw-r--r-- | databases/py-sqlalchemy/Makefile | 23 | ||||
-rw-r--r-- | databases/py-sqlalchemy/PLIST | 206 | ||||
-rw-r--r-- | databases/py-sqlalchemy/distinfo | 5 | ||||
-rw-r--r-- | databases/py-sqlalchemy/options.mk | 18 |
5 files changed, 258 insertions, 0 deletions
diff --git a/databases/py-sqlalchemy/DESCR b/databases/py-sqlalchemy/DESCR new file mode 100644 index 00000000000..4a790323235 --- /dev/null +++ b/databases/py-sqlalchemy/DESCR @@ -0,0 +1,6 @@ +SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that +gives application developers the full power and flexibility of SQL. + +It provides a full suite of well known enterprise-level persistence +patterns, designed for efficient and high-performing database access, +adapted into a simple and Pythonic domain language. diff --git a/databases/py-sqlalchemy/Makefile b/databases/py-sqlalchemy/Makefile new file mode 100644 index 00000000000..72b1ddb810b --- /dev/null +++ b/databases/py-sqlalchemy/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/09/04 20:42:28 tonnerre Exp $ + +SQLALCHEMYVERS= 0.4.7p1 +DISTNAME= SQLAlchemy-${SQLALCHEMYVERS} +PKGNAME= ${PYPKGPREFIX}-sqlalchemy-${SQLALCHEMYVERS} +EGG_NAME= ${DISTNAME} +CATEGORIES= databases python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqlalchemy/} + +MAINTAINER= tonnerre@NetBSD.org +HOMEPAGE= http://www.sqlalchemy.org/ +COMMENT= Python SQL toolkit and Object Relational Mapper + +PKG_DESTDIR_SUPPORT= user-destdir + +PYDISTUTILSPKG= yes + +.include "options.mk" + +PLIST_SUBST+= SQLALCHEMYVERS=${SQLALCHEMYVERS:Q} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/py-sqlalchemy/PLIST b/databases/py-sqlalchemy/PLIST new file mode 100644 index 00000000000..07fe50cf781 --- /dev/null +++ b/databases/py-sqlalchemy/PLIST @@ -0,0 +1,206 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/04 20:42:28 tonnerre Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/sqlalchemy/__init__.py +${PYSITELIB}/sqlalchemy/__init__.pyc +${PYSITELIB}/sqlalchemy/__init__.pyo +${PYSITELIB}/sqlalchemy/databases/__init__.py +${PYSITELIB}/sqlalchemy/databases/__init__.pyc +${PYSITELIB}/sqlalchemy/databases/__init__.pyo +${PYSITELIB}/sqlalchemy/databases/access.py +${PYSITELIB}/sqlalchemy/databases/access.pyc +${PYSITELIB}/sqlalchemy/databases/access.pyo +${PYSITELIB}/sqlalchemy/databases/firebird.py +${PYSITELIB}/sqlalchemy/databases/firebird.pyc +${PYSITELIB}/sqlalchemy/databases/firebird.pyo +${PYSITELIB}/sqlalchemy/databases/information_schema.py +${PYSITELIB}/sqlalchemy/databases/information_schema.pyc +${PYSITELIB}/sqlalchemy/databases/information_schema.pyo +${PYSITELIB}/sqlalchemy/databases/informix.py +${PYSITELIB}/sqlalchemy/databases/informix.pyc +${PYSITELIB}/sqlalchemy/databases/informix.pyo +${PYSITELIB}/sqlalchemy/databases/maxdb.py +${PYSITELIB}/sqlalchemy/databases/maxdb.pyc +${PYSITELIB}/sqlalchemy/databases/maxdb.pyo +${PYSITELIB}/sqlalchemy/databases/mssql.py +${PYSITELIB}/sqlalchemy/databases/mssql.pyc +${PYSITELIB}/sqlalchemy/databases/mssql.pyo +${PYSITELIB}/sqlalchemy/databases/mxODBC.py +${PYSITELIB}/sqlalchemy/databases/mxODBC.pyc +${PYSITELIB}/sqlalchemy/databases/mxODBC.pyo +${PYSITELIB}/sqlalchemy/databases/mysql.py +${PYSITELIB}/sqlalchemy/databases/mysql.pyc +${PYSITELIB}/sqlalchemy/databases/mysql.pyo +${PYSITELIB}/sqlalchemy/databases/oracle.py +${PYSITELIB}/sqlalchemy/databases/oracle.pyc +${PYSITELIB}/sqlalchemy/databases/oracle.pyo +${PYSITELIB}/sqlalchemy/databases/postgres.py +${PYSITELIB}/sqlalchemy/databases/postgres.pyc +${PYSITELIB}/sqlalchemy/databases/postgres.pyo +${PYSITELIB}/sqlalchemy/databases/sqlite.py +${PYSITELIB}/sqlalchemy/databases/sqlite.pyc +${PYSITELIB}/sqlalchemy/databases/sqlite.pyo +${PYSITELIB}/sqlalchemy/databases/sybase.py +${PYSITELIB}/sqlalchemy/databases/sybase.pyc +${PYSITELIB}/sqlalchemy/databases/sybase.pyo +${PYSITELIB}/sqlalchemy/engine/__init__.py +${PYSITELIB}/sqlalchemy/engine/__init__.pyc +${PYSITELIB}/sqlalchemy/engine/__init__.pyo +${PYSITELIB}/sqlalchemy/engine/base.py +${PYSITELIB}/sqlalchemy/engine/base.pyc +${PYSITELIB}/sqlalchemy/engine/base.pyo +${PYSITELIB}/sqlalchemy/engine/default.py +${PYSITELIB}/sqlalchemy/engine/default.pyc +${PYSITELIB}/sqlalchemy/engine/default.pyo +${PYSITELIB}/sqlalchemy/engine/strategies.py +${PYSITELIB}/sqlalchemy/engine/strategies.pyc +${PYSITELIB}/sqlalchemy/engine/strategies.pyo +${PYSITELIB}/sqlalchemy/engine/threadlocal.py +${PYSITELIB}/sqlalchemy/engine/threadlocal.pyc +${PYSITELIB}/sqlalchemy/engine/threadlocal.pyo +${PYSITELIB}/sqlalchemy/engine/url.py +${PYSITELIB}/sqlalchemy/engine/url.pyc +${PYSITELIB}/sqlalchemy/engine/url.pyo +${PYSITELIB}/sqlalchemy/exceptions.py +${PYSITELIB}/sqlalchemy/exceptions.pyc +${PYSITELIB}/sqlalchemy/exceptions.pyo +${PYSITELIB}/sqlalchemy/ext/__init__.py +${PYSITELIB}/sqlalchemy/ext/__init__.pyc +${PYSITELIB}/sqlalchemy/ext/__init__.pyo +${PYSITELIB}/sqlalchemy/ext/activemapper.py +${PYSITELIB}/sqlalchemy/ext/activemapper.pyc +${PYSITELIB}/sqlalchemy/ext/activemapper.pyo +${PYSITELIB}/sqlalchemy/ext/assignmapper.py +${PYSITELIB}/sqlalchemy/ext/assignmapper.pyc +${PYSITELIB}/sqlalchemy/ext/assignmapper.pyo +${PYSITELIB}/sqlalchemy/ext/associationproxy.py +${PYSITELIB}/sqlalchemy/ext/associationproxy.pyc +${PYSITELIB}/sqlalchemy/ext/associationproxy.pyo +${PYSITELIB}/sqlalchemy/ext/declarative.py +${PYSITELIB}/sqlalchemy/ext/declarative.pyc +${PYSITELIB}/sqlalchemy/ext/declarative.pyo +${PYSITELIB}/sqlalchemy/ext/orderinglist.py +${PYSITELIB}/sqlalchemy/ext/orderinglist.pyc +${PYSITELIB}/sqlalchemy/ext/orderinglist.pyo +${PYSITELIB}/sqlalchemy/ext/selectresults.py +${PYSITELIB}/sqlalchemy/ext/selectresults.pyc +${PYSITELIB}/sqlalchemy/ext/selectresults.pyo +${PYSITELIB}/sqlalchemy/ext/sessioncontext.py +${PYSITELIB}/sqlalchemy/ext/sessioncontext.pyc +${PYSITELIB}/sqlalchemy/ext/sessioncontext.pyo +${PYSITELIB}/sqlalchemy/ext/sqlsoup.py +${PYSITELIB}/sqlalchemy/ext/sqlsoup.pyc +${PYSITELIB}/sqlalchemy/ext/sqlsoup.pyo +${PYSITELIB}/sqlalchemy/interfaces.py +${PYSITELIB}/sqlalchemy/interfaces.pyc +${PYSITELIB}/sqlalchemy/interfaces.pyo +${PYSITELIB}/sqlalchemy/logging.py +${PYSITELIB}/sqlalchemy/logging.pyc +${PYSITELIB}/sqlalchemy/logging.pyo +${PYSITELIB}/sqlalchemy/mods/__init__.py +${PYSITELIB}/sqlalchemy/mods/__init__.pyc +${PYSITELIB}/sqlalchemy/mods/__init__.pyo +${PYSITELIB}/sqlalchemy/mods/selectresults.py +${PYSITELIB}/sqlalchemy/mods/selectresults.pyc +${PYSITELIB}/sqlalchemy/mods/selectresults.pyo +${PYSITELIB}/sqlalchemy/orm/__init__.py +${PYSITELIB}/sqlalchemy/orm/__init__.pyc +${PYSITELIB}/sqlalchemy/orm/__init__.pyo +${PYSITELIB}/sqlalchemy/orm/attributes.py +${PYSITELIB}/sqlalchemy/orm/attributes.pyc +${PYSITELIB}/sqlalchemy/orm/attributes.pyo +${PYSITELIB}/sqlalchemy/orm/collections.py +${PYSITELIB}/sqlalchemy/orm/collections.pyc +${PYSITELIB}/sqlalchemy/orm/collections.pyo +${PYSITELIB}/sqlalchemy/orm/dependency.py +${PYSITELIB}/sqlalchemy/orm/dependency.pyc +${PYSITELIB}/sqlalchemy/orm/dependency.pyo +${PYSITELIB}/sqlalchemy/orm/dynamic.py +${PYSITELIB}/sqlalchemy/orm/dynamic.pyc +${PYSITELIB}/sqlalchemy/orm/dynamic.pyo +${PYSITELIB}/sqlalchemy/orm/interfaces.py +${PYSITELIB}/sqlalchemy/orm/interfaces.pyc +${PYSITELIB}/sqlalchemy/orm/interfaces.pyo +${PYSITELIB}/sqlalchemy/orm/mapper.py +${PYSITELIB}/sqlalchemy/orm/mapper.pyc +${PYSITELIB}/sqlalchemy/orm/mapper.pyo +${PYSITELIB}/sqlalchemy/orm/properties.py +${PYSITELIB}/sqlalchemy/orm/properties.pyc +${PYSITELIB}/sqlalchemy/orm/properties.pyo +${PYSITELIB}/sqlalchemy/orm/query.py +${PYSITELIB}/sqlalchemy/orm/query.pyc +${PYSITELIB}/sqlalchemy/orm/query.pyo +${PYSITELIB}/sqlalchemy/orm/scoping.py +${PYSITELIB}/sqlalchemy/orm/scoping.pyc +${PYSITELIB}/sqlalchemy/orm/scoping.pyo +${PYSITELIB}/sqlalchemy/orm/session.py +${PYSITELIB}/sqlalchemy/orm/session.pyc +${PYSITELIB}/sqlalchemy/orm/session.pyo +${PYSITELIB}/sqlalchemy/orm/shard.py +${PYSITELIB}/sqlalchemy/orm/shard.pyc +${PYSITELIB}/sqlalchemy/orm/shard.pyo +${PYSITELIB}/sqlalchemy/orm/strategies.py +${PYSITELIB}/sqlalchemy/orm/strategies.pyc +${PYSITELIB}/sqlalchemy/orm/strategies.pyo +${PYSITELIB}/sqlalchemy/orm/sync.py +${PYSITELIB}/sqlalchemy/orm/sync.pyc +${PYSITELIB}/sqlalchemy/orm/sync.pyo +${PYSITELIB}/sqlalchemy/orm/unitofwork.py +${PYSITELIB}/sqlalchemy/orm/unitofwork.pyc +${PYSITELIB}/sqlalchemy/orm/unitofwork.pyo +${PYSITELIB}/sqlalchemy/orm/uowdumper.py +${PYSITELIB}/sqlalchemy/orm/uowdumper.pyc +${PYSITELIB}/sqlalchemy/orm/uowdumper.pyo +${PYSITELIB}/sqlalchemy/orm/util.py +${PYSITELIB}/sqlalchemy/orm/util.pyc +${PYSITELIB}/sqlalchemy/orm/util.pyo +${PYSITELIB}/sqlalchemy/pool.py +${PYSITELIB}/sqlalchemy/pool.pyc +${PYSITELIB}/sqlalchemy/pool.pyo +${PYSITELIB}/sqlalchemy/queue.py +${PYSITELIB}/sqlalchemy/queue.pyc +${PYSITELIB}/sqlalchemy/queue.pyo +${PYSITELIB}/sqlalchemy/schema.py +${PYSITELIB}/sqlalchemy/schema.pyc +${PYSITELIB}/sqlalchemy/schema.pyo +${PYSITELIB}/sqlalchemy/sql/__init__.py +${PYSITELIB}/sqlalchemy/sql/__init__.pyc +${PYSITELIB}/sqlalchemy/sql/__init__.pyo +${PYSITELIB}/sqlalchemy/sql/compiler.py +${PYSITELIB}/sqlalchemy/sql/compiler.pyc +${PYSITELIB}/sqlalchemy/sql/compiler.pyo +${PYSITELIB}/sqlalchemy/sql/expression.py +${PYSITELIB}/sqlalchemy/sql/expression.pyc +${PYSITELIB}/sqlalchemy/sql/expression.pyo +${PYSITELIB}/sqlalchemy/sql/functions.py +${PYSITELIB}/sqlalchemy/sql/functions.pyc +${PYSITELIB}/sqlalchemy/sql/functions.pyo +${PYSITELIB}/sqlalchemy/sql/operators.py +${PYSITELIB}/sqlalchemy/sql/operators.pyc +${PYSITELIB}/sqlalchemy/sql/operators.pyo +${PYSITELIB}/sqlalchemy/sql/util.py +${PYSITELIB}/sqlalchemy/sql/util.pyc +${PYSITELIB}/sqlalchemy/sql/util.pyo +${PYSITELIB}/sqlalchemy/sql/visitors.py +${PYSITELIB}/sqlalchemy/sql/visitors.pyc +${PYSITELIB}/sqlalchemy/sql/visitors.pyo +${PYSITELIB}/sqlalchemy/topological.py +${PYSITELIB}/sqlalchemy/topological.pyc +${PYSITELIB}/sqlalchemy/topological.pyo +${PYSITELIB}/sqlalchemy/types.py +${PYSITELIB}/sqlalchemy/types.pyc +${PYSITELIB}/sqlalchemy/types.pyo +${PYSITELIB}/sqlalchemy/util.py +${PYSITELIB}/sqlalchemy/util.pyc +${PYSITELIB}/sqlalchemy/util.pyo +@dirrm ${PYSITELIB}/sqlalchemy/sql +@dirrm ${PYSITELIB}/sqlalchemy/orm +@dirrm ${PYSITELIB}/sqlalchemy/mods +@dirrm ${PYSITELIB}/sqlalchemy/ext +@dirrm ${PYSITELIB}/sqlalchemy/engine +@dirrm ${PYSITELIB}/sqlalchemy/databases +@dirrm ${PYSITELIB}/sqlalchemy +@dirrm ${PYSITELIB}/${EGG_INFODIR} diff --git a/databases/py-sqlalchemy/distinfo b/databases/py-sqlalchemy/distinfo new file mode 100644 index 00000000000..3423bfdaa2a --- /dev/null +++ b/databases/py-sqlalchemy/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/09/04 20:42:28 tonnerre Exp $ + +SHA1 (SQLAlchemy-0.4.7p1.tar.gz) = b4f158cf7930234b8be8794e481a79ebcbf3fbf0 +RMD160 (SQLAlchemy-0.4.7p1.tar.gz) = da2006ceb80c0d3ddb3ed68dd3c0c0fc7eede2bf +Size (SQLAlchemy-0.4.7p1.tar.gz) = 1318273 bytes diff --git a/databases/py-sqlalchemy/options.mk b/databases/py-sqlalchemy/options.mk new file mode 100644 index 00000000000..19980a88f72 --- /dev/null +++ b/databases/py-sqlalchemy/options.mk @@ -0,0 +1,18 @@ +# $NetBSD: options.mk,v 1.1.1.1 2008/09/04 20:42:28 tonnerre Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.py-sqlalchemy +PKG_SUPPORTED_OPTIONS= mysql sqlite pgsql + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mmysql) +DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb +.endif + +.if !empty(PKG_OPTIONS:Msqlite) +DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2 +.endif + +.if !empty(PKG_OPTIONS:Mpgsql) +DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2 +.endif |