From: | "Caleb Tennis (caleb)" <caleb@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/psycopg: ChangeLog psycopg-2.0.8.ebuild |
Date: | Wed, 15 Oct 2008 21:18:03 |
Message-Id: | E1KqDkj-0000U7-M1@stork.gentoo.org |
1 | caleb 08/10/15 21:17:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: psycopg-2.0.8.ebuild |
5 | Log: |
6 | version bump per 237849 |
7 | (Portage version: 2.2_rc12/cvs/Linux 2.6.21-gentoo-r1 i686) |
8 | |
9 | Revision Changes Path |
10 | 1.67 dev-python/psycopg/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?rev=1.67&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?rev=1.67&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/ChangeLog?r1=1.66&r2=1.67 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v |
19 | retrieving revision 1.66 |
20 | retrieving revision 1.67 |
21 | diff -u -r1.66 -r1.67 |
22 | --- ChangeLog 6 Aug 2008 19:57:29 -0000 1.66 |
23 | +++ ChangeLog 15 Oct 2008 21:17:57 -0000 1.67 |
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.66 2008/08/06 19:57:29 neurogeek Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.67 2008/10/15 21:17:57 caleb Exp $ |
29 | + |
30 | +*psycopg-2.0.8 (15 Oct 2008) |
31 | + |
32 | + 15 Oct 2008; Caleb Tennis <caleb@g.o> |
33 | + +files/psycopg-2.0.8-fbsd.patch, +psycopg-2.0.8.ebuild: |
34 | + version bump per 237849 |
35 | |
36 | 06 Aug 2008; Jesus Rivero <neurogeek@g.o> metadata.xml, |
37 | psycopg-2.0.2.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/psycopg/psycopg-2.0.8.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/psycopg-2.0.8.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/psycopg/psycopg-2.0.8.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: psycopg-2.0.8.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.8.ebuild,v 1.1 2008/10/15 21:17:57 caleb 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 | } |