diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-10-06 13:44:49 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-06 17:20:47 +0200 |
commit | 489795b8ba761a2bff01840da58866cfe42ffc60 (patch) | |
tree | 0e8c0dfdf675b5bcffc396e7c80b5cb3fa2dd14b /sys-apps | |
parent | dev-lang/qore: unset LEX and YACC (diff) | |
download | gentoo-489795b8ba761a2bff01840da58866cfe42ffc60.tar.gz gentoo-489795b8ba761a2bff01840da58866cfe42ffc60.tar.bz2 gentoo-489795b8ba761a2bff01840da58866cfe42ffc60.zip |
sys-apps/system-monitoring-center: fix python interpreter
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/system-monitoring-center/system-monitoring-center-2.21.1-r1.ebuild (renamed from sys-apps/system-monitoring-center/system-monitoring-center-2.21.1.ebuild) | 10 | ||||
-rw-r--r-- | sys-apps/system-monitoring-center/system-monitoring-center-2.21.2-r1.ebuild (renamed from sys-apps/system-monitoring-center/system-monitoring-center-2.21.2.ebuild) | 10 | ||||
-rw-r--r-- | sys-apps/system-monitoring-center/system-monitoring-center-2.22.1-r1.ebuild (renamed from sys-apps/system-monitoring-center/system-monitoring-center-2.24.0.ebuild) | 10 | ||||
-rw-r--r-- | sys-apps/system-monitoring-center/system-monitoring-center-2.23.0-r1.ebuild (renamed from sys-apps/system-monitoring-center/system-monitoring-center-2.22.1.ebuild) | 10 | ||||
-rw-r--r-- | sys-apps/system-monitoring-center/system-monitoring-center-2.24.0-r1.ebuild (renamed from sys-apps/system-monitoring-center/system-monitoring-center-2.23.0.ebuild) | 10 | ||||
-rw-r--r-- | sys-apps/system-monitoring-center/system-monitoring-center-9999.ebuild | 10 |
6 files changed, 48 insertions, 12 deletions
diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.21.1.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.21.1-r1.ebuild index da1003cb4f3f..e15e8abaa8d1 100644 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.21.1.ebuild +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.21.1-r1.ebuild @@ -35,9 +35,15 @@ RDEPEND=" ') " +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + src_install() { meson_src_install - python_optimize "${ED}"/usr/share/${PN} + python_optimize "${ED}/usr/share/${PN}" - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die + mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die } diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.21.2.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.21.2-r1.ebuild index da1003cb4f3f..e15e8abaa8d1 100644 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.21.2.ebuild +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.21.2-r1.ebuild @@ -35,9 +35,15 @@ RDEPEND=" ') " +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + src_install() { meson_src_install - python_optimize "${ED}"/usr/share/${PN} + python_optimize "${ED}/usr/share/${PN}" - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die + mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die } diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.24.0.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.22.1-r1.ebuild index 0d57d2200134..8a65a073a3e7 100644 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.24.0.ebuild +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.22.1-r1.ebuild @@ -35,9 +35,15 @@ RDEPEND=" ') " +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + src_install() { meson_src_install - python_optimize "${ED}"/usr/share/${PN} + python_optimize "${ED}/usr/share/${PN}" - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die + mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die } diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.22.1.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.23.0-r1.ebuild index 0d57d2200134..8a65a073a3e7 100644 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.22.1.ebuild +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.23.0-r1.ebuild @@ -35,9 +35,15 @@ RDEPEND=" ') " +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + src_install() { meson_src_install - python_optimize "${ED}"/usr/share/${PN} + python_optimize "${ED}/usr/share/${PN}" - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die + mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die } diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.23.0.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.24.0-r1.ebuild index 0d57d2200134..8a65a073a3e7 100644 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.23.0.ebuild +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.24.0-r1.ebuild @@ -35,9 +35,15 @@ RDEPEND=" ') " +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + src_install() { meson_src_install - python_optimize "${ED}"/usr/share/${PN} + python_optimize "${ED}/usr/share/${PN}" - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die + mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die } diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-9999.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-9999.ebuild index 0d57d2200134..8a65a073a3e7 100644 --- a/sys-apps/system-monitoring-center/system-monitoring-center-9999.ebuild +++ b/sys-apps/system-monitoring-center/system-monitoring-center-9999.ebuild @@ -35,9 +35,15 @@ RDEPEND=" ') " +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + src_install() { meson_src_install - python_optimize "${ED}"/usr/share/${PN} + python_optimize "${ED}/usr/share/${PN}" - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die + mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die } |