public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Swenson" <titanofold@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgadmin3/
Date: Mon, 11 Jan 2016 14:03:07 +0000 (UTC)	[thread overview]
Message-ID: <1452520665.34a3de5caa65873cf3261885d52609843ad0d9e7.titanofold@gentoo> (raw)

commit:     34a3de5caa65873cf3261885d52609843ad0d9e7
Author:     Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 13:57:45 2016 +0000
Commit:     Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Mon Jan 11 13:57:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34a3de5c

dev-db/pgadmin3: Version Bump

Version bump fixes bug 571452.

Bug: 571452

Package-Manager: portage-2.2.20.1

 dev-db/pgadmin3/Manifest               |  1 +
 dev-db/pgadmin3/pgadmin3-1.22.0.ebuild | 60 ++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-db/pgadmin3/Manifest b/dev-db/pgadmin3/Manifest
index 264e85c..2d9550e 100644
--- a/dev-db/pgadmin3/Manifest
+++ b/dev-db/pgadmin3/Manifest
@@ -1,2 +1,3 @@
 DIST pgadmin3-1.18.1.tar.gz 14265392 SHA256 27ac3e296a6ca3da9da8ee22ed98eabfe1377be507877ffc26048fc2a9c6cbc0 SHA512 e292aaf95159eda98fe5f5112aad758cc08c38fe325ef92c698009defeb3891d9e0d485c00a0cbb82b70a95f54755eeb7f90b82a34354e77b485f738b5458c99 WHIRLPOOL 1f1af18a721c2c99b0dc52ec571e5831aac89eb998d9917e82134f9a900fce5b5a8edcc55640c962bd9b14de1ebae42cf9d896e1a3f84a05402674252dfeeb17
 DIST pgadmin3-1.20.0.tar.gz 14394997 SHA256 0773d7826a9c7a998c4872e9b00b998e0bbb10448984d66853420c95fa626b8c SHA512 83521a16d60bf8c9cffb03e4fb401a31e28f764c31608c0b223f7c88a14a09f665c976f3472debd4ad8b6cd54f0fbd2b8de352c296180e6ea6f8088cb45447bc WHIRLPOOL 336e785e7ed6d67d129bba3230a73900cc8404ce29371d4a9ec1db98d2ceb4fb6fd60ea75a2b432c2fe1bbec886db76d9dbbc4ffe77b067709f8e250fa348fe7
+DIST pgadmin3-1.22.0.tar.gz 14668096 SHA256 3c76c429797a9524f00d4dd82ab77aa367f2bba154c2b2e017de5cbc9d690256 SHA512 db16ac1b92e95a6da51be973b6833e53aed4c1d8740c8bccbfd778b0c3d3a4158fb13107761e0a39227aea87360be3b297ebc8809ac8ca5102d673935a33727c WHIRLPOOL 2282b70c4579f2ad5b83c94cfa62429f1825e387e5864db8cf74631b1bbd340d4031c6d5a50947c1fdd8a15c3b732fe69a90fef1c38fd109de9d5f3ae8d007ca

diff --git a/dev-db/pgadmin3/pgadmin3-1.22.0.ebuild b/dev-db/pgadmin3/pgadmin3-1.22.0.ebuild
new file mode 100644
index 0000000..d1a2e17
--- /dev/null
+++ b/dev-db/pgadmin3/pgadmin3-1.22.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils multilib versionator wxwidgets
+
+DESCRIPTION="wxWidgets GUI for PostgreSQL"
+HOMEPAGE="http://www.pgadmin.org/"
+SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
+
+LICENSE="POSTGRESQL"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+SLOT="0"
+IUSE="debug +databasedesigner"
+
+DEPEND="x11-libs/wxGTK:=[X,debug=]
+	>=dev-db/postgresql-8.4.0:=
+	>=dev-libs/libxml2-2.6.18
+	>=dev-libs/libxslt-1.1"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	local pgslot=$(postgresql-config show)
+
+	if [[ ${pgslot//.} < 84 ]] ; then
+		eerror "PostgreSQL slot must be set to 8.4 or higher."
+		eerror "    postgresql-config set 8.4"
+		die "PostgreSQL slot is not set to 8.4 or higher."
+	fi
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/pgadmin3-desktop.patch"
+
+	epatch_user
+}
+
+src_configure() {
+	WX_GTK_PV=$(best_version x11-libs/wxGTK[X,debug=])
+	WX_GTK_VER=$(get_version_component_range 1-2 ${WX_GTK_PV#x11-libs/wxGTK-})
+
+	need-wxwidgets unicode
+
+	econf --with-wx-version=${WX_GTK_VER} \
+		$(use_enable debug) \
+		$(use_enable databasedesigner)
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
+
+	domenu "${S}/pkg/pgadmin3.desktop"
+
+	# Fixing world-writable files
+	fperms -R go-w /usr/share
+}


             reply	other threads:[~2016-01-11 14:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 14:03 Aaron Swenson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-13 15:33 [gentoo-commits] repo/gentoo:master commit in: dev-db/pgadmin3/ Agostino Sarubbo
2016-02-28 20:18 Patrick Lauer
2016-05-17 11:02 Aaron Swenson
2017-02-04 15:21 Agostino Sarubbo
2017-02-12 17:01 Agostino Sarubbo
2017-08-11 15:14 Andreas Sturmlechner
2017-12-19 15:46 Thomas Deutschmann
2018-01-04 20:22 Mikle Kolyada
2018-03-20 23:34 Sergei Trofimovich
2018-03-22 16:21 Aaron Swenson
2018-06-07 19:22 Aaron Bauman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452520665.34a3de5caa65873cf3261885d52609843ad0d9e7.titanofold@gentoo \
    --to=titanofold@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox