Gentoo Archives: gentoo-commits

From: "Wulf Krueger (philantrop)" <philantrop@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/hk_classes: ChangeLog hk_classes-0.8.3.ebuild
Date: Fri, 25 Apr 2008 23:38:05
Message-Id: E1JpXUP-00054I-Un@stork.gentoo.org
1 philantrop 08/04/25 23:38:01
2
3 Modified: ChangeLog hk_classes-0.8.3.ebuild
4 Log:
5 Added a patch for gcc 4.3 compatibility as kindly provided by Eduard Warkentin on bug 218913. Minor QA fixes. Added the missing fontconfig dependency as reported in bug 204374.
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.56 dev-db/hk_classes/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hk_classes/ChangeLog?rev=1.56&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hk_classes/ChangeLog?rev=1.56&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hk_classes/ChangeLog?r1=1.55&r2=1.56
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v
18 retrieving revision 1.55
19 retrieving revision 1.56
20 diff -u -r1.55 -r1.56
21 --- ChangeLog 2 Jul 2007 19:47:00 -0000 1.55
22 +++ ChangeLog 25 Apr 2008 23:38:01 -0000 1.56
23 @@ -1,6 +1,12 @@
24 # ChangeLog for dev-db/hk_classes
25 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.55 2007/07/02 19:47:00 philantrop Exp $
27 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.56 2008/04/25 23:38:01 philantrop Exp $
29 +
30 + 25 Apr 2008; Wulf C. Krueger <philantrop@g.o>
31 + +files/hk_classes-0.8.3-gcc43.patch, hk_classes-0.8.3.ebuild:
32 + Added a patch for gcc 4.3 compatibility as kindly provided by Eduard
33 + Warkentin on bug 218913. Minor QA fixes. Added the missing fontconfig
34 + dependency as reported in bug 204374.
35
36 02 Jul 2007; Wulf C. Krueger <philantrop@g.o>
37 hk_classes-0.8.1_alpha3.ebuild, hk_classes-0.8.1.ebuild,
38
39
40
41 1.3 dev-db/hk_classes/hk_classes-0.8.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hk_classes/hk_classes-0.8.3.ebuild?rev=1.3&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hk_classes/hk_classes-0.8.3.ebuild?rev=1.3&content-type=text/plain
45 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hk_classes/hk_classes-0.8.3.ebuild?r1=1.2&r2=1.3
46
47 Index: hk_classes-0.8.3.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.8.3.ebuild,v
50 retrieving revision 1.2
51 retrieving revision 1.3
52 diff -u -r1.2 -r1.3
53 --- hk_classes-0.8.3.ebuild 19 Jun 2007 20:29:30 -0000 1.2
54 +++ hk_classes-0.8.3.ebuild 25 Apr 2008 23:38:01 -0000 1.3
55 @@ -1,6 +1,6 @@
56 -# Copyright 1999-2007 Gentoo Foundation
57 +# Copyright 1999-2008 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.8.3.ebuild,v 1.2 2007/06/19 20:29:30 philantrop Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.8.3.ebuild,v 1.3 2008/04/25 23:38:01 philantrop Exp $
61
62 inherit eutils python
63
64 @@ -23,32 +23,40 @@
65 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
66 IUSE="doc firebird mysql odbc postgres"
67
68 -DEPEND="firebird? ( dev-db/firebird )
69 +DEPEND=">=media-libs/fontconfig-2.5.0-r1
70 + firebird? ( dev-db/firebird )
71 mysql? ( >=dev-db/mysql-3.23.54a )
72 postgres? ( >=dev-db/postgresql-7.3 )
73 odbc? ( >=dev-db/unixODBC-2.0.6 )"
74
75 +src_unpack() {
76 + unpack ${A}
77 +
78 + # gcc-4.3 compatibility. Fixes bug 218913.
79 + epatch "${FILESDIR}/${P}-gcc43.patch"
80 +}
81 +
82 src_compile() {
83 python_version
84 export LIBPYTHON="-lpython${PYVER} -lz"
85
86 myconf="--with-pythondir=/usr/$(get_libdir)/python${PYVER}/\
87 - `use_with mysql`\
88 - `use_with firebird`\
89 - `use_with odbc`\
90 - `use_with postgres`"
91 + $(use_with mysql) \
92 + $(use_with firebird) \
93 + $(use_with odbc) \
94 + $(use_with postgres)"
95
96 econf ${myconf} || die "econf failed"
97 - emake || die "make failes"
98 + emake || die "emake failed"
99 }
100
101 src_install() {
102 - use doc && dohtml -r ${WORKDIR}/${MY_P}/documentation/api
103 - use doc && dohtml -r ${WORKDIR}/hk_classestutorial
104 - use doc && dohtml -r ${WORKDIR}/hk_kdeclssestutorial
105 - use doc && dohtml -r ${WORKDIR}/knodascriptingtutorial
106 - use doc && dohtml -r ${WORKDIR}/knodatutorial
107 - use doc && dohtml -r ${WORKDIR}/pythonreference
108 + use doc && dohtml -r "${WORKDIR}"/${MY_P}/documentation/api
109 + use doc && dohtml -r "${WORKDIR}"/hk_classestutorial
110 + use doc && dohtml -r "${WORKDIR}"/hk_kdeclssestutorial
111 + use doc && dohtml -r "${WORKDIR}"/knodascriptingtutorial
112 + use doc && dohtml -r "${WORKDIR}"/knodatutorial
113 + use doc && dohtml -r "${WORKDIR}"/pythonreference
114
115 - make DESTDIR=${D} install || die "make install failed"
116 + emake DESTDIR="${D}" install || die "make install failed"
117 }
118
119
120
121 --
122 gentoo-commits@l.g.o mailing list