summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2017-05-19 10:37:04 -0400
committerAaron W. Swenson <titanofold@gentoo.org>2017-05-19 10:37:04 -0400
commitc6e6dd540dd4b4b4197b776fcd2847ad69f1f471 (patch)
tree1dd3d42d8d14cc75509ce24c1dd1004139131a47
parentmedia-video/simplescreenrecorder: Initial commit (bug #516082). (diff)
downloadgentoo-c6e6dd540dd4b4b4197b776fcd2847ad69f1f471.zip
gentoo-c6e6dd540dd4b4b4197b776fcd2847ad69f1f471.tar.gz
gentoo-c6e6dd540dd4b4b4197b776fcd2847ad69f1f471.tar.bz2
app-eselect/eselect-postgresql: Support FEATURES="noman"
Version bump to 2.1 brings support for FEATURES="noman". Bug: 618294 Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--app-eselect/eselect-postgresql/Manifest1
-rw-r--r--app-eselect/eselect-postgresql/eselect-postgresql-2.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/app-eselect/eselect-postgresql/Manifest b/app-eselect/eselect-postgresql/Manifest
index fab7f53..d88e30d 100644
--- a/app-eselect/eselect-postgresql/Manifest
+++ b/app-eselect/eselect-postgresql/Manifest
@@ -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
index 00000000..17ceae6
--- /dev/null
+++ b/app-eselect/eselect-postgresql/eselect-postgresql-2.1.ebuild
@@ -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
+}