Gentoo Archives: gentoo-dev

From: Polynomial-C <polynomial-c@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] New eclass: db-use-r1
Date: Wed, 31 Jul 2013 10:14:34
Message-Id: 2228780.fjYjpqF3kY@shanghai
1 Hi list,
2
3 I'd like to propose a new eclass "db-use-r1" [1].
4 While working on the dev-libs/Ice package I found it to fail with sys-
5 libs/db:6.0 (see [2]) and I have found no way to use current db-use.eclass to
6 make Ice compile against an older sys-libs/db slot if db:6.0 is installed.
7
8 So I'd like to ask for a review of the new eclass which has a few important
9 changes compared to the old db-use.eclass:
10
11 - It requires ebuilds using the eclass to define DB_VERSIONS variable
12 - It provides avariable DB_DEPEND containing all possible db:slot versions a
13 package can use
14 - db_findver() no longer blindly returns latest installed sys-libs/db version.
15 it now returns the best version from DB_VERSIONS if any is installed.
16
17 I'd like to commit this eclass into portage in about a week if no veto
18 appears.
19
20 Thanks
21 Lars
22
23 [1] http://dev.gentoo.org/~polynomial-c/db-use-r1.eclass
24 [2] https://bugs.gentoo.org/476378

Attachments

File name MIME type
signature.asc application/pgp-signature