From 4eb1aec09b019c7984aff500a6fc4ff705a3af9c Mon Sep 17 00:00:00 2001 From: Rob Cakebread Date: Wed, 4 Jul 2007 19:04:41 +0000 Subject: Removed setuptools sed. bug# 184039 (Portage version: 2.1.3_rc6) --- dev-python/sqlobject/ChangeLog | 8 ++- dev-python/sqlobject/files/digest-sqlobject-0.9.0 | 3 -- .../sqlobject/files/digest-sqlobject-0.9.0-r1 | 3 ++ dev-python/sqlobject/sqlobject-0.9.0-r1.ebuild | 58 +++++++++++++++++++++ dev-python/sqlobject/sqlobject-0.9.0.ebuild | 60 ---------------------- 5 files changed, 68 insertions(+), 64 deletions(-) delete mode 100644 dev-python/sqlobject/files/digest-sqlobject-0.9.0 create mode 100644 dev-python/sqlobject/files/digest-sqlobject-0.9.0-r1 create mode 100644 dev-python/sqlobject/sqlobject-0.9.0-r1.ebuild delete mode 100644 dev-python/sqlobject/sqlobject-0.9.0.ebuild (limited to 'dev-python/sqlobject') diff --git a/dev-python/sqlobject/ChangeLog b/dev-python/sqlobject/ChangeLog index 9b965438940c..5097eac60f4a 100644 --- a/dev-python/sqlobject/ChangeLog +++ b/dev-python/sqlobject/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/sqlobject # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlobject/ChangeLog,v 1.22 2007/06/23 21:17:40 lucass Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlobject/ChangeLog,v 1.23 2007/07/04 19:04:41 pythonhead Exp $ + +*sqlobject-0.9.0-r1 (04 Jul 2007) + + 04 Jul 2007; Rob Cakebread + -sqlobject-0.9.0.ebuild, +sqlobject-0.9.0-r1.ebuild: + Removed setuptools sed. bug# 184039 *sqlobject-0.9.0 (23 Jun 2007) diff --git a/dev-python/sqlobject/files/digest-sqlobject-0.9.0 b/dev-python/sqlobject/files/digest-sqlobject-0.9.0 deleted file mode 100644 index ce9f6e659b6a..000000000000 --- a/dev-python/sqlobject/files/digest-sqlobject-0.9.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f6dceb0ffe13a9a3abcc9f90f9ce58a8 SQLObject-0.9.0.tar.gz 242381 -RMD160 1db1270693a4c6de3e65aa09412e0464544dbe70 SQLObject-0.9.0.tar.gz 242381 -SHA256 203675c5b21c2788662590ec58cc62cb2553df393b5b521d63adafa6843261e6 SQLObject-0.9.0.tar.gz 242381 diff --git a/dev-python/sqlobject/files/digest-sqlobject-0.9.0-r1 b/dev-python/sqlobject/files/digest-sqlobject-0.9.0-r1 new file mode 100644 index 000000000000..ce9f6e659b6a --- /dev/null +++ b/dev-python/sqlobject/files/digest-sqlobject-0.9.0-r1 @@ -0,0 +1,3 @@ +MD5 f6dceb0ffe13a9a3abcc9f90f9ce58a8 SQLObject-0.9.0.tar.gz 242381 +RMD160 1db1270693a4c6de3e65aa09412e0464544dbe70 SQLObject-0.9.0.tar.gz 242381 +SHA256 203675c5b21c2788662590ec58cc62cb2553df393b5b521d63adafa6843261e6 SQLObject-0.9.0.tar.gz 242381 diff --git a/dev-python/sqlobject/sqlobject-0.9.0-r1.ebuild b/dev-python/sqlobject/sqlobject-0.9.0-r1.ebuild new file mode 100644 index 000000000000..9a164d4263de --- /dev/null +++ b/dev-python/sqlobject/sqlobject-0.9.0-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlobject/sqlobject-0.9.0-r1.ebuild,v 1.1 2007/07/04 19:04:41 pythonhead Exp $ + +NEED_PYTHON=2.3 + +inherit distutils + +MY_PN=SQLObject +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Object-relational mapper for Python" +HOMEPAGE="http://sqlobject.org/" +SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="postgres mysql sqlite firebird doc" + +RDEPEND="postgres? ( dev-python/psycopg ) + mysql? ( >=dev-python/mysql-python-0.9.2-r1 ) + sqlite? ( dev-python/pysqlite ) + firebird? ( >=dev-python/kinterbasdb-3.0.2 ) + >=dev-python/formencode-0.2.2" +DEPEND="${RDEPEND} + dev-python/setuptools" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e '/use_setuptools/d' \ + setup.py || die "sed failed" +} + +src_install() { + distutils_src_install + + if use doc; then + cd "${S}/docs" + dodoc *.txt + dohtml -r presentation-2004-11 + insinto /usr/share/doc/${PF} + doins -r europython + fi +} + +#src_test() { +# cd sqlobject/tests +# sed -i \ +# -e "s/\('-transactions': 'mysql\)',/\1 sqlite',/" \ +# sqlobject/tests/dbtest.py +# py.test | tee pytest.log +# tail -n 1 pytest.log | grep -q "failed" && die "tests failed" +#} diff --git a/dev-python/sqlobject/sqlobject-0.9.0.ebuild b/dev-python/sqlobject/sqlobject-0.9.0.ebuild deleted file mode 100644 index 89382c28031b..000000000000 --- a/dev-python/sqlobject/sqlobject-0.9.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlobject/sqlobject-0.9.0.ebuild,v 1.1 2007/06/23 21:17:40 lucass Exp $ - -NEED_PYTHON=2.3 - -inherit distutils - -MY_PN=SQLObject -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Object-relational mapper for Python" -HOMEPAGE="http://sqlobject.org/" -SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="postgres mysql sqlite firebird doc" - -RDEPEND="postgres? ( dev-python/psycopg ) - mysql? ( >=dev-python/mysql-python-0.9.2-r1 ) - sqlite? ( dev-python/pysqlite ) - firebird? ( >=dev-python/kinterbasdb-3.0.2 ) - >=dev-python/formencode-0.2.2" -DEPEND="${RDEPEND} - dev-python/setuptools" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i \ - -e '/use_setuptools/d' \ - -e '/install_requires=/d' \ - -e '/extras_require/, /},/d' \ - setup.py || die "sed failed" -} - -src_install() { - distutils_src_install - - if use doc; then - cd "${S}/docs" - dodoc *.txt - dohtml -r presentation-2004-11 - insinto /usr/share/doc/${PF} - doins -r europython - fi -} - -#src_test() { -# cd sqlobject/tests -# sed -i \ -# -e "s/\('-transactions': 'mysql\)',/\1 sqlite',/" \ -# sqlobject/tests/dbtest.py -# py.test | tee pytest.log -# tail -n 1 pytest.log | grep -q "failed" && die "tests failed" -#} -- cgit v1.2.3-65-gdbad