Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Cc: perl@g.o
Subject: [gentoo-dev] Introducing perl-functions.eclass
Date: Sat, 28 Nov 2015 00:26:09
Message-Id: 201511280125.45725.dilfridge@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4
5 Hi all,
6
7 before we even start implementing EAPI=6 stuff, Perl support will be
8 reorganized a little bit.
9
10 TL;DR: No need to do anything. :)
11
12 Longer version:
13 We're going to split all helper functions out of perl-module.eclass into a new
14 eclass, perl-functions.eclass.
15
16 * perl-functions will export no phases and keep all global variable meddling
17 to a minimum. If you need perl support in a package that has a non-perl build
18 system, this is what you may want to use in the future to get some helpers.
19
20 * perl-module.eclass will inherit perl-functions, and all things exported by
21 perl-functions are explicitly also part of the API of perl-module (documented
22 in the eclass), so you dont have to explicitly inherit perl-functions in your
23 ebuild as well. perl-module.eclass is the "ready-made solution for CPAN",
24 exporting all required phases.
25
26 We are only splitting the code into two parts now, but not really changing
27 anything. So, because of abovementioned inheritance all ebuilds should just
28 keep working as usual.
29
30 Some changes will come later with the introduction of EAPI=6 support.
31
32 (Boring) Patch attached for completeness.
33
34 Cheers,
35 Andreas
36
37 - --
38
39 Andreas K. Huettel
40 Gentoo Linux developer
41 dilfridge@g.o
42 http://www.akhuettel.de/
43
44 -----BEGIN PGP SIGNATURE-----
45 Version: GnuPG v2.1
46
47 iQJ8BAEBCgBmBQJWWPSJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
48 ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0RkJDMzI0NjNBOTIwMDY5MTQ2NkMzNDBF
49 MTM4NkZEN0VGNEI1Nzc5AAoJEOE4b9fvS1d5WIEQALg9JnpzEZ0bhyRitwVkICsb
50 m6ZWBjdQaOIt+QJh530rhprOWUVtmCepIm4zMhbeKGZ9TdGxK0lE7tDn8dYIjiRM
51 ZeMbnixNM502xspQUHZeEW7qsoBHCNfTQb7QpLHq74/qv7HWtPNqGcEOcwnL+9q+
52 Vbkt8H6iX3IBlXGbsR3G00uXmnBCAKNuno4GImdV6woEDjGewFnmrTQ0d76lAi9K
53 /wm/oNi6p64ibOU+NIQFvVa6CnXy+Tzmk/djgkJUrnoyJkVogm0l3ygDwjnIWk4T
54 lssw6cLQgjqLLiGpcSeV801z2TC7bWBxuZJm5+pIdBFoFd316zcfGUA/cxrbOOkK
55 vlBnmFLG90hU4JmHHZ+voGUB7ZLl3boLVjRv/2zLGxeWPU72dlyr06zWGhOvDChq
56 QHiRATJ0JLlWhqTfdqClAMaUOB6tEA2LXwXZHPenI9eBalC551ywKzaasVTy6Umv
57 1t+9puTn4Vi+H4eTYg/IAb6jbY6pQe2uXoFScsA0KkC1OHyiqBNvz6LYeUv8N1tS
58 jbgI2jNvA+XggF2WSfmAnz/u0ND0Vg3tNLj/hmjof7iTAneSUjejwvXemptYx4CQ
59 YRwxE167ZbawtXHT+HVJGbT6mQN9g0sdvD7rekRguW1mpCfluq/WPPF2AO76rA1q
60 mTcqAZDgM+G0wBdf1N+m
61 =nyGO
62 -----END PGP SIGNATURE-----

Attachments

File name MIME type
0001-perl-modules.eclass-Separate-phases-and-helpers-into.patch text/x-patch