Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/dlb/, sys-cluster/dlb/files/
Date: Sat, 05 Mar 2022 01:43:40
Message-Id: 1646444591.2ba0f9b22c4450103776d817a51957e8bacc5792.Alessandro-Barbieri@gentoo
1 commit: 2ba0f9b22c4450103776d817a51957e8bacc5792
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sat Mar 5 01:25:16 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sat Mar 5 01:43:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ba0f9b2
7
8 sys-cluster/dlb: fix repoman complaint, EAPI 8, bump py
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 .../dlb/{dlb-2.1-r2.ebuild => dlb-2.1-r3.ebuild} | 10 +++++-----
13 sys-cluster/dlb/files/dlb-2.1-chmod.patch | 19 +++++++++++++++++++
14 2 files changed, 24 insertions(+), 5 deletions(-)
15
16 diff --git a/sys-cluster/dlb/dlb-2.1-r2.ebuild b/sys-cluster/dlb/dlb-2.1-r3.ebuild
17 similarity index 88%
18 rename from sys-cluster/dlb/dlb-2.1-r2.ebuild
19 rename to sys-cluster/dlb/dlb-2.1-r3.ebuild
20 index e9674f7bc..431005b30 100644
21 --- a/sys-cluster/dlb/dlb-2.1-r2.ebuild
22 +++ b/sys-cluster/dlb/dlb-2.1-r3.ebuild
23 @@ -1,9 +1,9 @@
24 -# Copyright 1999-2021 Gentoo Authors
25 +# Copyright 1999-2022 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=7
29 +EAPI=8
30
31 -PYTHON_COMPAT=( python3_{8..9} )
32 +PYTHON_COMPAT=( python3_{8..10} )
33 PYTHON_REQ_USE="tk"
34
35 inherit autotools python-single-r1
36 @@ -35,11 +35,11 @@ BDEPEND="test? ( sys-devel/bc )"
37 PATCHES=(
38 "${FILESDIR}/${P}-pygen-python3.patch"
39 "${FILESDIR}/${P}-tkinter.patch"
40 + "${FILESDIR}/${P}-chmod.patch"
41 )
42
43 src_prepare() {
44 default
45 - sed -e "s|chmod +x \$(|chmod +x ${ED}/\$(|g" -i Makefile.am || die
46 sed -e "s|lib/|$(get_libdir)/|" -i scripts/viewer/dlb_wrapper.py || die
47
48 eautoreconf
49 @@ -59,7 +59,7 @@ src_configure() {
50 }
51
52 src_install() {
53 - default
54 + DESTDIR="${ED}" default
55 find "${D}" -name '*.la' -delete || die
56 find "${D}" -name '*.a' -delete || die
57 }
58
59 diff --git a/sys-cluster/dlb/files/dlb-2.1-chmod.patch b/sys-cluster/dlb/files/dlb-2.1-chmod.patch
60 new file mode 100644
61 index 000000000..f7052cf25
62 --- /dev/null
63 +++ b/sys-cluster/dlb/files/dlb-2.1-chmod.patch
64 @@ -0,0 +1,19 @@
65 +--- a/Makefile.am
66 ++++ b/Makefile.am
67 +@@ -726,11 +726,11 @@
68 + clean-local: clean-rpm clean-deb clean-doc
69 +
70 + install-data-hook:
71 +- chmod +x $(mpiompexamplesdir)/run.sh
72 +- chmod +x $(mpiompomptexamplesdir)/run.sh
73 +- chmod +x $(mpiompssexamplesdir)/run.sh
74 +- chmod +x $(omptexamplesdir)/run.sh
75 +- chmod +x $(statsexamplesdir)/run.sh
76 ++ chmod +x ${DESTDIR}/$(mpiompexamplesdir)/run.sh
77 ++ chmod +x ${DESTDIR}/$(mpiompomptexamplesdir)/run.sh
78 ++ chmod +x ${DESTDIR}/$(mpiompssexamplesdir)/run.sh
79 ++ chmod +x ${DESTDIR}/$(omptexamplesdir)/run.sh
80 ++ chmod +x ${DESTDIR}/$(statsexamplesdir)/run.sh
81 +
82 + dist-hook:
83 + if [ -x "$(GIT)" ]; \