Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2006 22:17:21 +0800 (CST)
From:      Dryice Liu <dryice@dryice.name>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101920: [new port]: databases/py-sqlalchemy A Python ORM
Message-ID:  <200608121417.k7CEHLp2000437@readonline.info>
Resent-Message-ID: <200608121420.k7CEK9pP021472@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101920
>Category:       ports
>Synopsis:       [new port]: databases/py-sqlalchemy A Python ORM
>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:   Sat Aug 12 14:20:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dryice Liu
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Dec 1 15:59:44 CST 2005


	
>Description:

	Attached is the shar file for databases/py-sqlalchemy, which
	is a Python SQL tool kit and Object Relational Mapper

>How-To-Repeat:
	
>Fix:

	

--- attached file begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/databases/py-sqlalchemy
#	/usr/ports/databases/py-sqlalchemy/distinfo
#	/usr/ports/databases/py-sqlalchemy/Makefile
#	/usr/ports/databases/py-sqlalchemy/pkg-descr
#	/usr/ports/databases/py-sqlalchemy/pkg-plist
#
echo c - /usr/ports/databases/py-sqlalchemy
mkdir -p /usr/ports/databases/py-sqlalchemy > /dev/null 2>&1
echo x - /usr/ports/databases/py-sqlalchemy/distinfo
sed 's/^X//' >/usr/ports/databases/py-sqlalchemy/distinfo << 'END-of-/usr/ports/databases/py-sqlalchemy/distinfo'
XMD5 (SQLAlchemy-0.2.6.tar.gz) = feb6c89b24a6b9b20ece9a1f78bccda4
XSHA256 (SQLAlchemy-0.2.6.tar.gz) = 31a03b1099e99ab5b54c637b38db84c06777c6067d568c23892c0841c6eac07f
XSIZE (SQLAlchemy-0.2.6.tar.gz) = 614870
END-of-/usr/ports/databases/py-sqlalchemy/distinfo
echo x - /usr/ports/databases/py-sqlalchemy/Makefile
sed 's/^X//' >/usr/ports/databases/py-sqlalchemy/Makefile << 'END-of-/usr/ports/databases/py-sqlalchemy/Makefile'
X# Ports collection makefile for:	py-sqlalchemy
X# Date created:				12 Auguest 2004
X# Whom:					Dryice Dong Liu <dryice@dryice.name>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sqlalchemy
XPORTVERSION=	0.2.6
XCATEGORIES=	databases python
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
X		http://cheeseshop.python.org/packages/source/S/SQLAlchemy/ \
X		http://dryice.name/computer/FreeBSD/distfiles/
XDISTNAME=	SQLAlchemy-${PORTVERSION}
X
XMAINTAINER=	dryice@dryice.name
XCOMMENT=	A Python SQL toolkit and Object Relational Mapper
X
XUSE_PYTHON=	2.3+
XPLIST_SUB+=	PORTVERSION=${PORTVERSION} \
X		PYTHONVERSION=${_PYTHON_VERSION} \
X		EXAMPLEDIR=share/examples/${PORTNAME}
XUSE_PYDISTUTILS=	yes
X
XOPTIONS=	FIREBIRD "support FireBird" off
XOPTIONS+=	MSSQL "support MS SQL Server" off
XOPTIONS+=	MYSQL "support MySql" on
XOPTIONS+=	POSTGRE "support PostGreSQL" on
XOPTIONS+=	SQLITE "support Sqlite" on
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	adv_datamapping.html alphaapi.html \
X		alphaimplementation.html datamapping.html \
X		dbengine.html docs.css docstrings.html \
X		documentation.html index.html metadata.html \
X		plugins.html pooling.html scripts.js \
X		sqlconstruction.html style.css syntaxhighlight.css \
X		tutorial.html types.html unitofwork.html
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_FIREBIRD)
XRUN_DEPENDS+=	${PYTHON_SITELIBDIR}/kinterbasdb/__init__.py:${PORTSDIR}/databases/kinterbasdb
X.endif
X
X.if defined(WITH_MSSQL)
XRUN_DEPENDS+=	${PYTHON_SITELIBDIR}/pymssql.py:${PORTSDIR}/databases/py-mssql
X.endif
X
X.if !defined(WITHOUT_MYSQL)
XRUN_DEPENDS+=	${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb
X.endif
X
X.if !defined(WITHOUT_POSTGRE)
XRUN_DEPENDS+=	${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2
X.endif
X
X.if !defined(WITHOUT_SQLITE)
XRUN_DEPENDS+=	${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for i in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
X.endfor
X.endif
X
X	${MKDIR} ${EXAMPLESDIR}
X.for i in adjacencytree backref polymorph vertical
X	${CP} -r ${WRKSRC}/examples/${i} ${EXAMPLESDIR}
X.endfor
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/databases/py-sqlalchemy/Makefile
echo x - /usr/ports/databases/py-sqlalchemy/pkg-descr
sed 's/^X//' >/usr/ports/databases/py-sqlalchemy/pkg-descr << 'END-of-/usr/ports/databases/py-sqlalchemy/pkg-descr'
XThe Python SQL Toolkit and Object Relational Mapper
X
XSQLAlchemy is the Python SQL toolkit and Object Relational Mapper that
Xgives application developers the full power and flexibility of SQL.
X
XIt provides a full suite of well known enterprise-level persistence
Xpatterns, designed for efficient and high-performing database access,
Xadapted into a simple and Pythonic domain language.
X
XWWW: http://www.sqlalchemy.org/
END-of-/usr/ports/databases/py-sqlalchemy/pkg-descr
echo x - /usr/ports/databases/py-sqlalchemy/pkg-plist
sed 's/^X//' >/usr/ports/databases/py-sqlalchemy/pkg-plist << 'END-of-/usr/ports/databases/py-sqlalchemy/pkg-plist'
X%%PYTHON_SITELIBDIR%%/SQLAlchemy-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg
X%%EXAMPLEDIR%%/adjacencytree/basic_tree.py
X%%EXAMPLEDIR%%/adjacencytree/byroot_tree.py
X%%EXAMPLEDIR%%/backref/backref_tree.py
X%%EXAMPLEDIR%%/polymorph/concrete.py
X%%EXAMPLEDIR%%/polymorph/polymorph.py
X%%EXAMPLEDIR%%/polymorph/single.py
X%%EXAMPLEDIR%%/vertical/vertical.py
X@dirrm %%EXAMPLEDIR%%/adjacencytree
X@dirrm %%EXAMPLEDIR%%/backref
X@dirrm %%EXAMPLEDIR%%/polymorph
X@dirrm %%EXAMPLEDIR%%/vertical
X@dirrm %%EXAMPLEDIR%%
END-of-/usr/ports/databases/py-sqlalchemy/pkg-plist
exit

--- attached file ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608121417.k7CEHLp2000437>