mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
sys-cluster/dlb: fix repoman complaint, EAPI 8, bump py
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
19
sys-cluster/dlb/files/dlb-2.1-chmod.patch
Normal file
19
sys-cluster/dlb/files/dlb-2.1-chmod.patch
Normal 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)" ]; \
|
||||
Reference in New Issue
Block a user