Gentoo Archives: gentoo-commits

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