app-eselect/eselect-postgresql: Support FEATURES="noman"
authorAaron W. Swenson <titanofold@gentoo.org>
Fri, 19 May 2017 14:37:04 +0000 (10:37 -0400)
committerAaron W. Swenson <titanofold@gentoo.org>
Fri, 19 May 2017 14:37:04 +0000 (10:37 -0400)
Version bump to 2.1 brings support for FEATURES="noman".

Bug: 618294

Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-eselect/eselect-postgresql/Manifest
app-eselect/eselect-postgresql/eselect-postgresql-2.1.ebuild [new file with mode: 0644]

index fab7f53cfe0e46f0ca3e18b693e2dff5748abece..d88e30d26f350900613812a6ba0bb5420da152fb 100644 (file)
@@ -1,2 +1,3 @@
 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
+DIST eselect-postgresql-2.1.tbz2 4404 SHA256 0a08755b6a8c688f88474d9da3b1e572f375001238f426a703a1edf322ea5a40 SHA512 83050da6ec5f5f4ae20230cdffebbb78f9335cbcbb3bc1bd38279188f0dedcf828d80aeac3c75629605cdde0b2d1d74d8ef81e9cd9a8faacc7dba2f15beb3af0 WHIRLPOOL e613624bdb7d1139dc935f83410857dcd1b1d842aecdd3721fac0a418fde64453bc70640b0a1921287b3cccfe9b2c68e308a80fdb274a1e713857ec492a6f73a
diff --git a/app-eselect/eselect-postgresql/eselect-postgresql-2.1.ebuild b/app-eselect/eselect-postgresql/eselect-postgresql-2.1.ebuild
new file mode 100644 (file)
index 0000000..17ceae6
--- /dev/null
@@ -0,0 +1,35 @@
+# 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"
+
+# All dev-db/postgresql ebuilds from 10.0 on are well supported. Earlier
+# ebuilds may present some quality of life issues.
+PDEPEND="
+       !<dev-db/postgresql-9.6.2-r1:9.6
+       !<dev-db/postgresql-9.5.6-r1:9.5
+       !<dev-db/postgresql-9.4.11-r1:9.4
+       !<dev-db/postgresql-9.3.16-r1:9.3
+       !<dev-db/postgresql-9.2.20-r1
+"
+
+src_install() {
+       insinto /usr/share/eselect/modules
+       doins postgresql.eselect
+
+       dosym /usr/bin/eselect /usr/bin/postgresql-config
+}
+
+pkg_postinst() {
+       postgresql-config update
+}