summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2006-09-02 11:42:52 +0000
committerAlastair Tse <liquidx@gentoo.org>2006-09-02 11:42:52 +0000
commitb41305b19f797f98cf8af5f2c3b236868bbfca37 (patch)
treed1eb961fa40f8c74078cd40812f9ab82d8cc87ed /dev-python
parentAdd patch to build on FreeBSD, and re add ~x86-fbsd keyword. (diff)
downloadhistorical-b41305b19f797f98cf8af5f2c3b236868bbfca37.tar.gz
historical-b41305b19f797f98cf8af5f2c3b236868bbfca37.tar.bz2
historical-b41305b19f797f98cf8af5f2c3b236868bbfca37.zip
initial ebuild for sqlalchemy (#132037)
Package-Manager: portage-2.1-r2
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/sqlalchemy/ChangeLog11
-rw-r--r--dev-python/sqlalchemy/Manifest26
-rw-r--r--dev-python/sqlalchemy/files/digest-sqlalchemy-0.2.73
-rw-r--r--dev-python/sqlalchemy/metadata.xml5
-rw-r--r--dev-python/sqlalchemy/sqlalchemy-0.2.7.ebuild57
5 files changed, 102 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..cbb6535a798f
--- /dev/null
+++ b/dev-python/sqlalchemy/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST SQLAlchemy-0.2.7.tar.gz 626974 RMD160 8f89568714b27331ee6b88b02bbafe67f599a7a6 SHA1 298fa253960318b4631bc0285e55b35b768e682a SHA256 d12ff098ae9206114d0d024469b3f93cc4c9dc5febfd92390391c6155642f19e
+EBUILD sqlalchemy-0.2.7.ebuild 1345 RMD160 1962d5cf80fcaa482c261eac300853146ace053b SHA1 eb428849c880f266a5b4740a804a1bbbca46e963 SHA256 61e1f09aab8236941d3c78d0b989f1f0d200a3a05fd4da4f42997686583de0ce
+MD5 f01c4a7c16d64ef094d33720b3c27e8b sqlalchemy-0.2.7.ebuild 1345
+RMD160 1962d5cf80fcaa482c261eac300853146ace053b sqlalchemy-0.2.7.ebuild 1345
+SHA256 61e1f09aab8236941d3c78d0b989f1f0d200a3a05fd4da4f42997686583de0ce sqlalchemy-0.2.7.ebuild 1345
+MISC ChangeLog 448 RMD160 5db3bc5a31d3402c820b3e6e4da6d316967c4df6 SHA1 ff44b060c392768eb85a02da465e321c34deeb25 SHA256 79368d5c44ec9f66eeb09da3f16877f9f57ae81c04f8727a70172078f1e06485
+MD5 498ebb84145ae1c1282a249a32415c20 ChangeLog 448
+RMD160 5db3bc5a31d3402c820b3e6e4da6d316967c4df6 ChangeLog 448
+SHA256 79368d5c44ec9f66eeb09da3f16877f9f57ae81c04f8727a70172078f1e06485 ChangeLog 448
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.4 (GNU/Linux)
+
+iD8DBQFE+W5ouB6ZT1m7QRERAnroAJ9lwEJYmTx3Y/4VHcLBfZUTghxH0gCgmSVN
+WoJaRrt/ONCyXz4afxvN5Bg=
+=zFpx
+-----END PGP SIGNATURE-----
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
+}