Gentoo Archives: gentoo-commits

From: "Aaron Swenson (titanofold)" <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/pgadmin3: ChangeLog pgadmin3-1.14.3.ebuild
Date: Thu, 07 Jun 2012 15:41:01
Message-Id: 20120607154051.ADD902004B@flycatcher.gentoo.org
1 titanofold 12/06/07 15:40:51
2
3 Modified: ChangeLog
4 Added: pgadmin3-1.14.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.83 dev-db/pgadmin3/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgadmin3/ChangeLog?rev=1.83&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgadmin3/ChangeLog?rev=1.83&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgadmin3/ChangeLog?r1=1.82&r2=1.83
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/ChangeLog,v
20 retrieving revision 1.82
21 retrieving revision 1.83
22 diff -u -r1.82 -r1.83
23 --- ChangeLog 19 Apr 2012 18:46:10 -0000 1.82
24 +++ ChangeLog 7 Jun 2012 15:40:51 -0000 1.83
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-db/pgadmin3
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/ChangeLog,v 1.82 2012/04/19 18:46:10 titanofold Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/ChangeLog,v 1.83 2012/06/07 15:40:51 titanofold Exp $
30 +
31 +*pgadmin3-1.14.3 (07 Jun 2012)
32 +
33 + 07 Jun 2012; Aaron W. Swenson <titanofold@g.o>
34 + +pgadmin3-1.14.3.ebuild:
35 + Version bump.
36
37 19 Apr 2012; Aaron W. Swenson <titanofold@g.o>
38 -pgadmin3-1.12.2.ebuild, -pgadmin3-1.12.3.ebuild, -pgadmin3-1.12.3-r1.ebuild,
39
40
41
42 1.1 dev-db/pgadmin3/pgadmin3-1.14.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.14.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.14.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pgadmin3-1.14.3.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.14.3.ebuild,v 1.1 2012/06/07 15:40:51 titanofold Exp $
52
53 EAPI="4"
54
55 WX_GTK_VER="2.8"
56
57 inherit multilib versionator wxwidgets
58
59 DESCRIPTION="wxWidgets GUI for PostgreSQL."
60 HOMEPAGE="http://www.pgadmin.org/"
61 SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
62
63 LICENSE="POSTGRESQL"
64 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
65 SLOT="0"
66 IUSE="debug"
67
68 DEPEND="x11-libs/wxGTK:2.8[X,debug=]
69 >=dev-db/postgresql-base-8.4.0
70 >=dev-libs/libxml2-2.6.18
71 >=dev-libs/libxslt-1.1"
72 RDEPEND="${DEPEND}"
73
74 pkg_setup() {
75 local pgslot=$(postgresql-config show)
76
77 if [[ ${pgslot//.} < 84 ]] ; then
78 eerror "PostgreSQL slot must be set to 8.4 or higher."
79 eerror " postgresql-config set 8.4"
80 die "PostgreSQL slot is not set to 8.4 or higher."
81 fi
82 }
83
84 src_configure() {
85 econf --with-wx-version=2.8 \
86 $(use_enable debug)
87 }
88
89 src_install() {
90 emake DESTDIR="${D}" install
91
92 newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
93
94 # icon location for the desktop file provided in pkg folder
95 insinto /usr/share/pgadmin3
96 doins "${S}/pgadmin/include/images/pgAdmin3.png"
97
98 domenu "${S}/pkg/pgadmin3.desktop"
99
100 # Fixing world-writable files
101 fperms -R go-w /usr/share
102 }