diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2007-02-13 21:33:12 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2007-02-13 21:33:12 +0000 |
commit | f60db0147e2002b5c42f4f4dd9880d6be6a17cfe (patch) | |
tree | 08c57bc0e1093e918914134821b21dc3701b29e8 /dev-python | |
parent | Restrict icu4j dep to the right slot. (diff) | |
download | gentoo-2-f60db0147e2002b5c42f4f4dd9880d6be6a17cfe.tar.gz gentoo-2-f60db0147e2002b5c42f4f4dd9880d6be6a17cfe.tar.bz2 gentoo-2-f60db0147e2002b5c42f4f4dd9880d6be6a17cfe.zip |
Cleanup
(Portage version: 2.1.2-r7)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/psycopg/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/psycopg/psycopg-2.0.5.1.ebuild | 31 |
2 files changed, 21 insertions, 17 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog index 7f82b79d2405..8a2b2ab13e1b 100644 --- a/dev-python/psycopg/ChangeLog +++ b/dev-python/psycopg/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/psycopg -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.54 2006/12/27 00:29:00 dev-zero Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.55 2007/02/13 21:33:12 dev-zero Exp $ + + 13 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> psycopg-2.0.5.1.ebuild: + Cleanup *psycopg-2.0.5.1 (27 Dec 2006) diff --git a/dev-python/psycopg/psycopg-2.0.5.1.ebuild b/dev-python/psycopg/psycopg-2.0.5.1.ebuild index 4b550c9dc7fc..c8791cdea35d 100644 --- a/dev-python/psycopg/psycopg-2.0.5.1.ebuild +++ b/dev-python/psycopg/psycopg-2.0.5.1.ebuild @@ -1,42 +1,43 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.5.1.ebuild,v 1.1 2006/12/27 00:29:00 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.5.1.ebuild,v 1.2 2007/02/13 21:33:12 dev-zero Exp $ + +NEED_PYTHON=2.4 inherit eutils distutils -MY_P="${PN}2-${PV}" +MY_P=${PN}2-${PV} DESCRIPTION="PostgreSQL database adapter for Python." SRC_URI="http://initd.org/pub/software/psycopg/${MY_P}.tar.gz" HOMEPAGE="http://initd.org/projects/psycopg2" - -DEPEND=">=dev-lang/python-2.4 - >=dev-db/libpq-7.4" - SLOT="2" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" LICENSE="GPL-2" -IUSE="debug" +IUSE="debug doc examples" + +DEPEND=">=dev-db/libpq-7.4" +RDEPEND="${DEPEND}" S=${WORKDIR}/${MY_P} -DOCS="AUTHORS INSTALL doc/HACKING doc/SUCCESS doc/TODO doc/async.txt" src_unpack() { unpack ${A} cd "${S}" - if use debug; then - epatch "${FILESDIR}/${P}-debug.patch" - fi + use debug && epatch "${FILESDIR}/${P}-debug.patch" + # Fixes compilation issue in fbsd. epatch "${FILESDIR}/${P}-fbsd.patch" } src_install() { + DOCS="AUTHORS doc/HACKING doc/SUCCESS doc/TODO doc/async.txt" distutils_src_install - insinto /usr/share/doc/${PF}/examples - doins examples/* + insinto /usr/share/doc/${PF} + use examples && doins -r examples - cd doc && dohtml -r . + cd doc + use doc && dohtml -r . } |