Gentoo Archives: gentoo-commits

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