Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] New eclass: mate
Date: Mon, 11 Apr 2016 07:15:00
Message-Id: 570B4EEA.3000106@gentoo.org
In Reply to: [gentoo-dev] [RFC] New eclass: mate by NP-Hardass
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 04/10/2016 10:09 PM, NP-Hardass wrote:
5 > Greetings all,
6 >
7 > As all potential new eclasses are supposed to be discussed here, I
8 > thought I'd file a message and see if anyone had anything to
9 > contribute on the matter.
10 >
11 > I'm in the midst of a major version bump for the entirety of the
12 > MATE desktop environment, consisting of 40-50 packages. There is a
13 > huge amount of repetition in my ebuilds, and a lot of things are
14 > formulaic (SRC_URI, HOMEPAGE, EGIT_REPO_URI, inherits, src_prepare,
15 > etc). As such, I think that moving all of that to an eclass would
16 > greatly simplify my life and my ebuilds, so I thought I'd look into
17 > creating an eclass.
18 >
19 > Any opinions either way? Thanks in advance.
20 >
21 >
22 >
23 Sounds like a prime use case for an eclass. If I were in your position
24 I'd be sure to get reviews from more experienced eclass writers along
25 the way to make sure you're not setting yourself up for bad API design.
26 - --
27 Daniel Campbell - Gentoo Developer
28 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
29 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6
30 -----BEGIN PGP SIGNATURE-----
31 Version: GnuPG v2
32
33 iQIcBAEBCAAGBQJXC07lAAoJEAEkDpRQOeFwqA4P/0GRudtO39UawnAQRW+N3/Un
34 JyyFN5Oej9bIJpMYyE7tz77N1SdUjla6yW/2WaL/HtzTeeETjp/ThlOXvweYE367
35 mCz7OJ/q9Fo20TGfPaBI0xIvlcmv+BDdTpjJc1czRlC+1j+mLa9RDG+byMiwnQIa
36 QVK3sUYAvypQqGIOZSlM4nCRwVT1CSBnSDlaJqlUIUJNciY9iqXyKwzCX0xUJCpo
37 pQHH2S05Bhx8c0rpK0x/MkqfhTAaLBPQDd/7Szozuy/MTb3Zx3aIV4bE0Z5D5uYq
38 B5ReTw0D0/cZqi9dA5HeEqMwEJJm6DRvs/km9bX07LDsIm0otvMCho3LzUY76SyS
39 4wtbNrHVBdQmM1XF9RdJ8Nd6HA3oozBwgs7tNRj0mLNG0irpc4q3CdC0ZYjklYVZ
40 KzTS2f7j1nnBvMynVYehlhNLUzpKwnUNIo1SFLrc5W/3ZQb9RtuwUYerP6sSoL8E
41 och22zjtD8PesT5exTXf5M3DRB5xO6kDcdCdzASdEpdjcLrCt3aDZTejhFrIAiJq
42 0LpdiZMyeC/z8bLKVGpMuBcZkD+eI9YzzdGC4FDU8AnEV17lGZfptqbUcGYL82wC
43 9FdlXieeTUuFWwIq0uM1gm4Sr1RMZ0/+Y/dqQBAKM+gFbZ8V+th5c8nKbdDt+I4o
44 4WOoBEg3fMnwPxga7DGT
45 =ks2J
46 -----END PGP SIGNATURE-----