Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] Allow variable refs in HOMEPAGE
Date: Thu, 03 Aug 2017 15:33:33
Message-Id: CAJ0EP43wRJ3GyKKJhK_M-023dW=3WJugQrrqBh1BkKDWG0zBxg@mail.gmail.com
1 I would like to remove the ban on variable references in the HOMEPAGE
2 variable in ebuilds.
3
4 As I understand it, this ban was put in place so that people can
5 easily copy/paste from an ebuild to a web browser.
6
7 If people want to copy/paste the URL, they can easily query the final
8 value using the portage API, or a tool written against it.
9
10 % equery m www-client/chromium
11 * www-client/chromium [gentoo]
12 Maintainer: chromium@g.o (Chromium in Gentoo Project)
13 Upstream: None specified
14 Homepage: http://chromium.org/
15 Location: /home/floppym/repos/gentoo/www-client/chromium
16 Keywords: 59.0.3071.104:0: x86
17 Keywords: 60.0.3112.40:0:
18 Keywords: 60.0.3112.78:0: amd64
19 Keywords: 61.0.3159.5:0:
20 Keywords: 61.0.3163.13:0: ~amd64 ~arm ~arm64 ~x86
21 License: BSD
22
23 Allowing variables in HOMEPAGE would allow for easier copying of
24 similar/identical ebuilds. For example, see the trivial ebuilds in my
25 overlay below.
26
27 https://bitbucket.org/floppym/floppym-overlay/src/8b55fab291ec1f9be93ade9c91e7d62d7b8a259d/dev-go/cloudflare-go/cloudflare-go-0.7.4.ebuild
28
29 https://bitbucket.org/floppym/floppym-overlay/src/8b55fab291ec1f9be93ade9c91e7d62d7b8a259d/dev-go/pkg-errors/pkg-errors-0.8.0.ebuild
30
31 https://bitbucket.org/floppym/floppym-overlay/src/8b55fab291ec1f9be93ade9c91e7d62d7b8a259d/dev-go/urfave-cli/urfave-cli-1.19.1.ebuild

Replies