Gentoo Archives: gentoo-dev

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] New eclasses and USE_EXPAND: postgres{,-multi}.eclass
Date: Fri, 21 Apr 2017 19:42:53
Message-Id: 20170421194233.GB2578@gengoff
1 I’ve email previously on this, but the eclasses have been through a bit
2 of a change since then.
3
4 postgres.eclass has some common functions and initializes some variables
5 that are used in many of the PostgreSQL-related packages.
6
7 postgres-multi.eclass makes it possible to install one package (e.g.,
8 dev-db/postgis) to all dev-db/postgresql slots. This will eliminate one
9 pain point of migrating PostgreSQL (e.g., from 9.6 to 10).
10
11 A lot of the packages in my overlay[1] have been modified to use this
12 eclass, notably dev-db/postgis and dev-db/pgpool2.
13
14 Naturally, I’ll want to add a USE_EXPAND for POSTGRES_TARGETS as the
15 eclasses use postgres_targets* use flags to control which slots to build
16 for.
17
18 1: https://github.com/titanofold/titanofold-gentoo-x86/tree/pgsql-eclass

Attachments

File name MIME type
postgres-multi.eclass text/plain
postgres.eclass text/plain
signature.asc application/pgp-signature

Replies