Gentoo Archives: gentoo-commits

From: "Krzysiek Pawlik (nelchael)" <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/psycopg: ChangeLog psycopg-2.0.7.ebuild
Date: Mon, 26 May 2008 12:46:57
Message-Id: E1K0c6I-0005As-MI@stork.gentoo.org
1 nelchael 08/05/26 12:46:54
2
3 Modified: ChangeLog
4 Added: psycopg-2.0.7.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.63 dev-python/psycopg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?rev=1.63&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?rev=1.63&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?r1=1.62&r2=1.63
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v
19 retrieving revision 1.62
20 retrieving revision 1.63
21 diff -u -r1.62 -r1.63
22 --- ChangeLog 19 May 2008 19:47:13 -0000 1.62
23 +++ ChangeLog 26 May 2008 12:46:54 -0000 1.63
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/psycopg
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.62 2008/05/19 19:47:13 dev-zero Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.63 2008/05/26 12:46:54 nelchael Exp $
29 +
30 +*psycopg-2.0.7 (26 May 2008)
31 +
32 + 26 May 2008; Krzysiek Pawlik <nelchael@g.o>
33 + +files/psycopg-2.0.7-fbsd.patch, +psycopg-2.0.7.ebuild:
34 + Version bump.
35
36 19 May 2008; Tiziano Müller <dev-zero@g.o> psycopg-1.1.21.ebuild,
37 psycopg-2.0.2.ebuild, psycopg-2.0.5.1.ebuild, psycopg-2.0.6.ebuild:
38
39
40
41 1.1 dev-python/psycopg/psycopg-2.0.7.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/psycopg-2.0.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/psycopg-2.0.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: psycopg-2.0.7.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.7.ebuild,v 1.1 2008/05/26 12:46:54 nelchael 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
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 # Fixes compilation issue in fbsd.
87 epatch "${FILESDIR}/${P}-fbsd.patch"
88 }
89
90 src_install() {
91 DOCS="AUTHORS doc/HACKING doc/SUCCESS doc/TODO doc/async.txt"
92 distutils_src_install
93
94 insinto /usr/share/doc/${PF}
95 use examples && doins -r examples
96
97 cd doc
98 use doc && dohtml -r .
99 }
100
101
102
103 --
104 gentoo-commits@l.g.o mailing list