1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Utility to select the default PostgreSQL slot"
7 HOMEPAGE="https://www.gentoo.org/"
8 SRC_URI="https://dev.gentoo.org/~titanofold/${P}.tbz2"
11 KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
13 RDEPEND="app-admin/eselect"
15 # All dev-db/postgresql ebuilds from 10.0 on are well supported. Earlier
16 # ebuilds may present some quality of life issues.
18 !<dev-db/postgresql-9.6.2-r1:9.6
19 !<dev-db/postgresql-9.5.6-r1:9.5
20 !<dev-db/postgresql-9.4.11-r1:9.4
21 !<dev-db/postgresql-9.3.16-r1:9.3
22 !<dev-db/postgresql-9.2.20-r1
26 insinto /usr/share/eselect/modules
27 doins postgresql.eselect
29 dosym eselect /usr/bin/postgresql-config
33 postgresql-config update