Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Emacs-PDE/
Date: Fri, 07 Aug 2020 20:11:38
Message-Id: 1596831053.b4d57be49e68bfaf4134267cc6456c411d12314f.kentnl@gentoo
1 commit: b4d57be49e68bfaf4134267cc6456c411d12314f
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 7 20:10:26 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 7 20:10:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d57be4
7
8 dev-perl/Emacs-PDE: Bump to version 0.2.17
9
10 - EAPI7
11 - Fix LICENSE
12 - Remove empty/used variable assignments
13 - Push myconf closer to src_configure as a guard against variables
14 being augmented between ebuild sourcing and function execution
15
16 Package-Manager: Portage-2.3.103, Repoman-2.3.22
17 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
18
19 dev-perl/Emacs-PDE/Emacs-PDE-0.2.17.ebuild | 46 ++++++++++++++++++++++++++++++
20 dev-perl/Emacs-PDE/Manifest | 1 +
21 2 files changed, 47 insertions(+)
22
23 diff --git a/dev-perl/Emacs-PDE/Emacs-PDE-0.2.17.ebuild b/dev-perl/Emacs-PDE/Emacs-PDE-0.2.17.ebuild
24 new file mode 100644
25 index 00000000000..1ebba83a778
26 --- /dev/null
27 +++ b/dev-perl/Emacs-PDE/Emacs-PDE-0.2.17.ebuild
28 @@ -0,0 +1,46 @@
29 +# Copyright 1999-2020 Gentoo Authors
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=7
33 +
34 +DIST_AUTHOR=YEWENBIN
35 +DIST_VERSION="v${PV}"
36 +inherit perl-module elisp-common
37 +
38 +DESCRIPTION="Perl Develop Environment in Emacs"
39 +# Some elisp files are GPL-2+
40 +# Some templates are FDL-1.1+
41 +LICENSE="|| ( Artistic GPL-1+ ) GPL-2+ FDL-1.1+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
44 +
45 +RDEPEND=">=app-editors/emacs-23.1:*"
46 +DEPEND="dev-perl/Module-Build"
47 +BDEPEND="${RDEPEND}
48 + >=dev-perl/Module-Build-0.420.0
49 +"
50 +src_configure() {
51 + myconf="--elispdir=${D}${SITELISP}/pde"
52 + perl-module_src_configure
53 +}
54 +src_test() {
55 + local MODULES=(
56 + "Emacs::PDE ${PV}"
57 + "Emacs::PDE::Util"
58 + )
59 + local failed=()
60 + for dep in "${MODULES[@]}"; do
61 + ebegin "Compile testing ${dep}"
62 + perl -Mblib="${S}" -M"${dep} ()" -e1
63 + eend $? || failed+=( "$dep" )
64 + done
65 + if [[ ${failed[@]} ]]; then
66 + echo
67 + eerror "One or more modules failed compile:";
68 + for dep in "${failed[@]}"; do
69 + eerror " ${dep}"
70 + done
71 + die "Failing due to module compilation errors";
72 + fi
73 + perl-module_src_test
74 +}
75
76 diff --git a/dev-perl/Emacs-PDE/Manifest b/dev-perl/Emacs-PDE/Manifest
77 index 0fe965160fa..79d2049127f 100644
78 --- a/dev-perl/Emacs-PDE/Manifest
79 +++ b/dev-perl/Emacs-PDE/Manifest
80 @@ -1 +1,2 @@
81 DIST Emacs-PDE-0.2.16.tar.gz 619372 BLAKE2B 7d9eb5a7e3c61424b58bab4186efbd4426ac6c94a2043ade3a5de2da060e5eca2c2fc8ab20d5b3bcd3458036bdd8db861aef1ef963e0276e1c759c151843f362 SHA512 ab104070c820a618b0ce05a2d658cca56ad9c0d537e98697a98262c4135486cba2284ee597210dfe8c30348a0fadb9f76455453e17a86a0123618ce076b5565b
82 +DIST Emacs-PDE-v0.2.17.tar.gz 664587 BLAKE2B 3b80a5643f71801e9117fd266c28acebc3dddbbdb07eb50d0b123afc1e54134090ffb1c04c4421938e702969d79b9ee6f8948e5dbefeeefc21f822e6a5c6ec95 SHA512 66c6044f41d81689d66d6c6b478291323790b569f9611cd6847d30fecdbee4447e5bea0efd816f243e6323e8872934e5cc15399e80cf29568edc625f87bf109f