# 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)
MD5 166dc9a1f538d92174c270dd120c1d75 psycopg-2.0.2.ebuild 854
RMD160 53d30c00be9d27f0c090f8d4a9b2dfd708d83100 psycopg-2.0.2.ebuild 854
SHA256 289df7768bb7d46a022ed006c12cd14f3a96b5b7602ad7b9c69a31d6ee0d34e2 psycopg-2.0.2.ebuild 854
-EBUILD psycopg-2.0.5.1.ebuild 989 RMD160 414fb62408eb52659cee920aca75b44ae4ccbb73 SHA1 59625df3fee9e8ad33fa39adadb5b88b5be18fcb SHA256 4b4dc823cb885b3cebaf8d17ec0aa8750c9284d17191d1df812864cf5cd73f4b
-MD5 45f98c82f9dd8a3f3f1ae5fff439f334 psycopg-2.0.5.1.ebuild 989
-RMD160 414fb62408eb52659cee920aca75b44ae4ccbb73 psycopg-2.0.5.1.ebuild 989
-SHA256 4b4dc823cb885b3cebaf8d17ec0aa8750c9284d17191d1df812864cf5cd73f4b psycopg-2.0.5.1.ebuild 989
-MISC ChangeLog 7107 RMD160 16b246d550b6355041690e2d3dede7164bff2a53 SHA1 b465bbf89771dc2e09d2f5c6ae8a5b7447844bbc SHA256 9c1a4055b82147be8a2752e5f4a165d1d232118a61aafa19327cc290ad688b74
-MD5 8eecda2bbc3850f8375202ae971b306a ChangeLog 7107
-RMD160 16b246d550b6355041690e2d3dede7164bff2a53 ChangeLog 7107
-SHA256 9c1a4055b82147be8a2752e5f4a165d1d232118a61aafa19327cc290ad688b74 ChangeLog 7107
+EBUILD psycopg-2.0.5.1.ebuild 1012 RMD160 0e9467b6240e73577b336b8eefafe553c17c1c71 SHA1 6a4fd05305b380acf0ee0b7b194251b3cfd809a6 SHA256 c66ab1e2ff712454d6908315ed4698054672ffea010dcfca29b5ee9e8df718a4
+MD5 7a2ac7a98a0b347633030426d58c86c4 psycopg-2.0.5.1.ebuild 1012
+RMD160 0e9467b6240e73577b336b8eefafe553c17c1c71 psycopg-2.0.5.1.ebuild 1012
+SHA256 c66ab1e2ff712454d6908315ed4698054672ffea010dcfca29b5ee9e8df718a4 psycopg-2.0.5.1.ebuild 1012
+MISC ChangeLog 7195 RMD160 9394a86c384664332484d86ecef7864cf0fd3b37 SHA1 59f32e8478cd48cfb03bce9f1cac2af34e01d870 SHA256 53253323a574cf20459822237ad2aba1c4d542b849c5e8784320db8e2882f780
+MD5 fad54266811edbd444d79b12b2a94259 ChangeLog 7195
+RMD160 9394a86c384664332484d86ecef7864cf0fd3b37 ChangeLog 7195
+SHA256 53253323a574cf20459822237ad2aba1c4d542b849c5e8784320db8e2882f780 ChangeLog 7195
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
-# 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 .
}