From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EDA40139694 for ; Mon, 17 Apr 2017 15:48:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0415E0D26; Mon, 17 Apr 2017 15:48:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8A298E0D26 for ; Mon, 17 Apr 2017 15:48:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 67FD8341692 for ; Mon, 17 Apr 2017 15:48:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6592C742B for ; Mon, 17 Apr 2017 15:48:06 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: <1492443650.96fb4f98f5c23f3454f501efae669f7584f98568.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-postgresql/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-eselect/eselect-postgresql/Manifest app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild X-VCS-Directories: app-eselect/eselect-postgresql/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: 96fb4f98f5c23f3454f501efae669f7584f98568 X-VCS-Branch: master Date: Mon, 17 Apr 2017 15:48:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ae7292ef-3a69-465d-98ef-61164d824945 X-Archives-Hash: 4a6bf46260c002a4d9d471d706a9c431 commit: 96fb4f98f5c23f3454f501efae669f7584f98568 Author: Aaron W. Swenson gentoo org> AuthorDate: Wed Apr 12 15:31:54 2017 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Mon Apr 17 15:40:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96fb4f98 app-eselect/eselect-postgresql: Bug Fixes and Enhancements Version 2.0 is capable of handling the upcoming change in versioning for PostgreSQL. Links to pkg-config files of the selected slot are now created and managed by this module. Links to the man pages for the selected slot are now created and managed by this module. Slot-specific man pages are handled by the ebuilds. This version is stateless. It does not need to store any files to determine which slots and links are in use. Bugs: 597564, 512236, 564512 Package-Manager: portage-2.3.0 app-eselect/eselect-postgresql/Manifest | 1 + .../eselect-postgresql-2.0.ebuild | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/app-eselect/eselect-postgresql/Manifest b/app-eselect/eselect-postgresql/Manifest index 923db4ac704..fab7f53cfe0 100644 --- a/app-eselect/eselect-postgresql/Manifest +++ b/app-eselect/eselect-postgresql/Manifest @@ -1 +1,2 @@ DIST eselect-postgresql-1.2.1.tbz2 3645 SHA256 661ef3cbb1627798af3c8d6c526f4a6367620a5fef08c287a633e1babf43f938 SHA512 9b24cb7620dd3de979ef595c60ebf607cd9da5c7d3c4da19ebe242c25961883e2db54341f916690abb9fe7a76663d9f1ac73fc76c90389f72eff425aa6fb43e4 WHIRLPOOL e7ef4f3d250f4f345d28bccdd43fa1639b8ed80b9f6a4aabd4f7df5f4337845ee0f4ce653fde596209094b01fc0e5c624872affbfa042382f3963a49d600827f +DIST eselect-postgresql-2.0.tbz2 4326 SHA256 8f56309350f91abaa98eeead42dbd6b186b858f25f207010fe9d10271c754f55 SHA512 bc72d752bc4b2d8f3c255d446253143ff0036f6ca1a0c10eb19e23b8242bd5a912272298034279a6f9ca50c13fccbb6b89c79ed647f762a2ccb36f416060cd87 WHIRLPOOL 9fced29136ee861a78651905329d6a3156bfdbdf61427accc7aa5ac33e934c97e6f673d7a3f5b634d020be01ff0f0533218b8d9d3b83253963f32eae8d82f004 diff --git a/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild b/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild new file mode 100644 index 00000000000..78161c8e52d --- /dev/null +++ b/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="Utility to select the default PostgreSQL slot" +HOMEPAGE="http://www.gentoo.org/" +SRC_URI="http://dev.gentoo.org/~titanofold/${P}.tbz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" +IUSE="" + +RDEPEND="app-admin/eselect" + +src_install() { + insinto /usr/share/eselect/modules + doins postgresql.eselect + + dosym /usr/bin/eselect /usr/bin/postgresql-config +} + +pkg_postinst() { + postgresql-config update +}