diff options
author | Alastair Tse <liquidx@gentoo.org> | 2006-09-02 11:42:52 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2006-09-02 11:42:52 +0000 |
commit | 77fd29bbb073464f23910a91f7f67074add1265e (patch) | |
tree | c93167a7b69df369d1a40080168bd5b0f8a260cd /dev-python/sqlalchemy | |
parent | Add patch to build on FreeBSD, and re add ~x86-fbsd keyword. (diff) | |
download | gentoo-2-77fd29bbb073464f23910a91f7f67074add1265e.tar.gz gentoo-2-77fd29bbb073464f23910a91f7f67074add1265e.tar.bz2 gentoo-2-77fd29bbb073464f23910a91f7f67074add1265e.zip |
initial ebuild for sqlalchemy (#132037)
(Portage version: 2.1-r2)
Diffstat (limited to 'dev-python/sqlalchemy')
-rw-r--r-- | dev-python/sqlalchemy/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/sqlalchemy/Manifest | 16 | ||||
-rw-r--r-- | dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.7 | 3 | ||||
-rw-r--r-- | dev-python/sqlalchemy/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-0.2.7.ebuild | 57 |
5 files changed, 92 insertions, 0 deletions
diff --git a/dev-python/sqlalchemy/ChangeLog b/dev-python/sqlalchemy/ChangeLog new file mode 100644 index 000000000000..c3b33f43da8a --- /dev/null +++ b/dev-python/sqlalchemy/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/sqlalchemy +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/ChangeLog,v 1.1 2006/09/02 11:42:52 liquidx Exp $ + +*sqlalchemy-0.2.7 (02 Sep 2006) + + 02 Sep 2006; Alastair Tse <liquidx@gentoo.org> +metadata.xml, + +sqlalchemy-0.2.7.ebuild: + initial ebuild. based on ebuild from gentoo-sunrise submitted by Tiziano + Müller (dev-zero) (#132037) + diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest new file mode 100644 index 000000000000..5db8ce562717 --- /dev/null +++ b/dev-python/sqlalchemy/Manifest @@ -0,0 +1,16 @@ +DIST SQLAlchemy-0.2.7.tar.gz 626974 RMD160 8f89568714b27331ee6b88b02bbafe67f599a7a6 SHA1 298fa253960318b4631bc0285e55b35b768e682a SHA256 d12ff098ae9206114d0d024469b3f93cc4c9dc5febfd92390391c6155642f19e +EBUILD sqlalchemy-0.2.7.ebuild 1237 RMD160 db11727ea7eafb7ea40fc9c4424fed051007b8e7 SHA1 dac36ec07dd6b5368da379f84ad9973ef24cabe8 SHA256 c118fb9784dfa40b354d0249fa1b1ebf03f6f7056af62ab471640c6e74694b9d +MD5 f0952b770fbaef404e340fc132288d1b sqlalchemy-0.2.7.ebuild 1237 +RMD160 db11727ea7eafb7ea40fc9c4424fed051007b8e7 sqlalchemy-0.2.7.ebuild 1237 +SHA256 c118fb9784dfa40b354d0249fa1b1ebf03f6f7056af62ab471640c6e74694b9d sqlalchemy-0.2.7.ebuild 1237 +MISC ChangeLog 354 RMD160 92012c748869ba25a9bd62e23d5c7d8e57d74aa3 SHA1 d8720d23a4ae6068af0c77fe9c385dde3211d51e SHA256 af54d2ddd828da8ac86ef4241ba0f2a52b19d409c04f820f1b1182f1f4f59539 +MD5 ba1db01787480f27b8e5ddee9c028073 ChangeLog 354 +RMD160 92012c748869ba25a9bd62e23d5c7d8e57d74aa3 ChangeLog 354 +SHA256 af54d2ddd828da8ac86ef4241ba0f2a52b19d409c04f820f1b1182f1f4f59539 ChangeLog 354 +MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 +MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 +RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 +SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159 +MD5 a442be07ba64d56f34a792d5f40e2f91 files/digest-sqlalchemy-0.2.7 250 +RMD160 582312d2f8081a436064f29108863dbf7480c454 files/digest-sqlalchemy-0.2.7 250 +SHA256 b9c63c31d3f9ccf52c0a4cb1c62dce4459337d85cff2d9d4fdb41fa2f0dc28e5 files/digest-sqlalchemy-0.2.7 250 diff --git a/dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.7 b/dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.7 new file mode 100644 index 000000000000..4592e0f9d02b --- /dev/null +++ b/dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.7 @@ -0,0 +1,3 @@ +MD5 d1c4e9f4c512d6d68e3e453f10df896e SQLAlchemy-0.2.7.tar.gz 626974 +RMD160 8f89568714b27331ee6b88b02bbafe67f599a7a6 SQLAlchemy-0.2.7.tar.gz 626974 +SHA256 d12ff098ae9206114d0d024469b3f93cc4c9dc5febfd92390391c6155642f19e SQLAlchemy-0.2.7.tar.gz 626974 diff --git a/dev-python/sqlalchemy/metadata.xml b/dev-python/sqlalchemy/metadata.xml new file mode 100644 index 000000000000..de483c53568f --- /dev/null +++ b/dev-python/sqlalchemy/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +</pkgmetadata> diff --git a/dev-python/sqlalchemy/sqlalchemy-0.2.7.ebuild b/dev-python/sqlalchemy/sqlalchemy-0.2.7.ebuild new file mode 100644 index 000000000000..cbb6a9b8ef30 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-0.2.7.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.2.7.ebuild,v 1.1 2006/09/02 11:42:52 liquidx Exp $ + +inherit distutils python + +MY_P=SQLAlchemy-${PV} +DESCRIPTION="Python SQL toolkit and Object Relational Mapper." +HOMEPAGE="http://www.sqlalchemy.org/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +LICENSE="MIT" +SLOT="0" +IUSE="firebird mysql postgres sqlite" +KEYWORDS="~amd64 ~x86" + +# note: if you use psycopg-1, then you need egenix-mx-base +RDEPEND=">=dev-lang/python-2.4 + firebird? ( dev-python/kinterbasdb ) + mssql? ( dev-python/pymssql ) + mysql? ( dev-python/mysql-python ) + postgres? ( + || ( ( >=dev-python/psycopg-2 ) + ( <dev-python/psycopg-1 dev-python/egenix-mx-base ) + ) + ) + sqlite? ( dev-python/pysqlite )" + +DEPEND="dev-python/setuptools" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + + cd "${S}/test" + sed -e 's/\\\.p/.p/g' \ + -i sql/testtypes.py || die "sed failed" +} + +src_install() { + distutils_src_install + dohtml doc/* + + insinto /usr/share/doc/${PV} + doins -r examples +} + +src_test() { + if use sqlite; then + python_version + export PYTHONPATH="${PYTHONPATH}:../lib/" + cd "${S}/lib/${PN}" + python "/usr/lib/python${PYVER}/compileall.py" . + cd "${S}/test" + python alltests.py + fi +} |