sys-cluster/dlb: fix repoman complaint, EAPI 8, bump py

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-03-05 02:25:16 +01:00
parent e7dc927818
commit 2ba0f9b22c
2 changed files with 24 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="tk"
inherit autotools python-single-r1
@@ -35,11 +35,11 @@ BDEPEND="test? ( sys-devel/bc )"
PATCHES=(
"${FILESDIR}/${P}-pygen-python3.patch"
"${FILESDIR}/${P}-tkinter.patch"
"${FILESDIR}/${P}-chmod.patch"
)
src_prepare() {
default
sed -e "s|chmod +x \$(|chmod +x ${ED}/\$(|g" -i Makefile.am || die
sed -e "s|lib/|$(get_libdir)/|" -i scripts/viewer/dlb_wrapper.py || die
eautoreconf
@@ -59,7 +59,7 @@ src_configure() {
}
src_install() {
default
DESTDIR="${ED}" default
find "${D}" -name '*.la' -delete || die
find "${D}" -name '*.a' -delete || die
}

View File

@@ -0,0 +1,19 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -726,11 +726,11 @@
clean-local: clean-rpm clean-deb clean-doc
install-data-hook:
- chmod +x $(mpiompexamplesdir)/run.sh
- chmod +x $(mpiompomptexamplesdir)/run.sh
- chmod +x $(mpiompssexamplesdir)/run.sh
- chmod +x $(omptexamplesdir)/run.sh
- chmod +x $(statsexamplesdir)/run.sh
+ chmod +x ${DESTDIR}/$(mpiompexamplesdir)/run.sh
+ chmod +x ${DESTDIR}/$(mpiompomptexamplesdir)/run.sh
+ chmod +x ${DESTDIR}/$(mpiompssexamplesdir)/run.sh
+ chmod +x ${DESTDIR}/$(omptexamplesdir)/run.sh
+ chmod +x ${DESTDIR}/$(statsexamplesdir)/run.sh
dist-hook:
if [ -x "$(GIT)" ]; \