Gentoo Archives: gentoo-commits

From: "Patrick McLean (chutzpah)" <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/psycopg: ChangeLog psycopg-2.0.9.ebuild
Date: Sun, 29 Mar 2009 17:32:02
Message-Id: E1LnyrY-0008TO-Be@stork.gentoo.org
1 chutzpah 09/03/29 17:32:00
2
3 Modified: ChangeLog
4 Added: psycopg-2.0.9.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.6.11/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.70 dev-python/psycopg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?rev=1.70&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?rev=1.70&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?r1=1.69&r2=1.70
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v
19 retrieving revision 1.69
20 retrieving revision 1.70
21 diff -u -r1.69 -r1.70
22 --- ChangeLog 26 Mar 2009 18:16:44 -0000 1.69
23 +++ ChangeLog 29 Mar 2009 17:32:00 -0000 1.70
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/psycopg
26 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.69 2009/03/26 18:16:44 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.70 2009/03/29 17:32:00 chutzpah Exp $
29 +
30 +*psycopg-2.0.9 (29 Mar 2009)
31 +
32 + 29 Mar 2009; Patrick McLean <chutzpah@g.o> +psycopg-2.0.9.ebuild:
33 + Version bump.
34
35 26 Mar 2009; Brent Baude <ranger@g.o> psycopg-2.0.8.ebuild:
36 stable ppc, bug 262739
37
38
39
40 1.1 dev-python/psycopg/psycopg-2.0.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/psycopg-2.0.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/psycopg-2.0.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: psycopg-2.0.9.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.9.ebuild,v 1.1 2009/03/29 17:32:00 chutzpah Exp $
50
51 NEED_PYTHON=2.4
52
53 inherit eutils distutils
54
55 MY_P=${PN}2-${PV}
56
57 DESCRIPTION="PostgreSQL database adapter for Python."
58 SRC_URI="http://initd.org/pub/software/psycopg/${MY_P}.tar.gz"
59 HOMEPAGE="http://initd.org/projects/psycopg2"
60 SLOT="2"
61 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 LICENSE="GPL-2"
63 IUSE="debug doc examples mxdatetime"
64
65 DEPEND="virtual/postgresql-base
66 mxdatetime? ( dev-python/egenix-mx-base )"
67 RDEPEND="${DEPEND}"
68
69 S=${WORKDIR}/${MY_P}
70
71 PYTHON_MODNAME=${PN}2
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76
77 if use debug; then
78 sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die "sed failed"
79 fi
80
81 if use mxdatetime; then
82 sed -i 's/\(use_pydatetime=\)1/\10/' setup.cfg || die "sed failed"
83 fi
84 }
85
86 src_install() {
87 DOCS="AUTHORS doc/HACKING doc/SUCCESS doc/TODO doc/async.txt"
88 distutils_src_install
89
90 insinto /usr/share/doc/${PF}
91 use examples && doins -r examples
92
93 cd doc
94 use doc && dohtml -r .
95 }