Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Don't require assignment of empty variables in ebuilds?
Date: Wed, 18 Jul 2012 18:03:37
Message-Id: robbat2-20120718T180022-113842230Z@orbis-terrarum.net
In Reply to: [gentoo-dev] Don't require assignment of empty variables in ebuilds? by Ulrich Mueller
1 On Wed, Jul 18, 2012 at 07:53:37PM +0200, Ulrich Mueller wrote:
2 > Our current policy [1] requires that ebuilds must assign the seven
3 > variables DESCRIPTION, HOMEPAGE, SRC_URI, LICENSE, SLOT, KEYWORDS, and
4 > IUSE, even if their value is empty.
5 >
6 > Could we drop this requirement? Repoman already enforces that
7 > DESCRIPTION, HOMEPAGE, LICENSE, SLOT, and KEYWORDS are non-empty
8 > (with some exceptions for virtuals). I don't see why we need to
9 > distinguish the "empty value" and "not assigned" cases.
10 >
11 > For example, many live ebuilds already don't define SRC_URI. I'm not
12 > aware of any problems caused by this.
13 +1 from me.
14
15 --
16 Robin Hugh Johnson
17 Gentoo Linux: Developer, Trustee & Infrastructure Lead
18 E-Mail : robbat2@g.o
19 GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85

Replies