From 489795b8ba761a2bff01840da58866cfe42ffc60 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Fri, 6 Oct 2023 13:44:49 +0200 Subject: sys-apps/system-monitoring-center: fix python interpreter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- .../system-monitoring-center-2.21.1-r1.ebuild | 49 ++++++++++++++++++++++ .../system-monitoring-center-2.21.1.ebuild | 43 ------------------- .../system-monitoring-center-2.21.2-r1.ebuild | 49 ++++++++++++++++++++++ .../system-monitoring-center-2.21.2.ebuild | 43 ------------------- .../system-monitoring-center-2.22.1-r1.ebuild | 49 ++++++++++++++++++++++ .../system-monitoring-center-2.22.1.ebuild | 43 ------------------- .../system-monitoring-center-2.23.0-r1.ebuild | 49 ++++++++++++++++++++++ .../system-monitoring-center-2.23.0.ebuild | 43 ------------------- .../system-monitoring-center-2.24.0-r1.ebuild | 49 ++++++++++++++++++++++ .../system-monitoring-center-2.24.0.ebuild | 43 ------------------- .../system-monitoring-center-9999.ebuild | 10 ++++- 11 files changed, 253 insertions(+), 217 deletions(-) create mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.21.1-r1.ebuild delete mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.21.1.ebuild create mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.21.2-r1.ebuild delete mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.21.2.ebuild create mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.22.1-r1.ebuild delete mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.22.1.ebuild create mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.23.0-r1.ebuild delete mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.23.0.ebuild create mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.24.0-r1.ebuild delete mode 100644 sys-apps/system-monitoring-center/system-monitoring-center-2.24.0.ebuild (limited to 'sys-apps') diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.21.1-r1.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.21.1-r1.ebuild new file mode 100644 index 000000000000..e15e8abaa8d1 --- /dev/null +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.21.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="Multi-featured system monitor GUI written in Python" +HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" +else + SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + gui-libs/gtk:4[introspection] + gui-libs/libadwaita:1 + sys-apps/dmidecode + sys-apps/hwdata + $(python_gen_cond_dep ' + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" + +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + +src_install() { + meson_src_install + python_optimize "${ED}/usr/share/${PN}" + + mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die +} 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.ebuild deleted file mode 100644 index da1003cb4f3f..000000000000 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.21.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-single-r1 xdg - -DESCRIPTION="Multi-featured system monitor GUI written in Python" -HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" -else - SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - KEYWORDS="amd64 ~x86" -fi - -LICENSE="GPL-3+" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - gui-libs/gtk:4[introspection] - gui-libs/libadwaita:1 - sys-apps/dmidecode - sys-apps/hwdata - $(python_gen_cond_dep ' - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') -" - -src_install() { - meson_src_install - python_optimize "${ED}"/usr/share/${PN} - - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die -} diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.21.2-r1.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.21.2-r1.ebuild new file mode 100644 index 000000000000..e15e8abaa8d1 --- /dev/null +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.21.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="Multi-featured system monitor GUI written in Python" +HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" +else + SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + gui-libs/gtk:4[introspection] + gui-libs/libadwaita:1 + sys-apps/dmidecode + sys-apps/hwdata + $(python_gen_cond_dep ' + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" + +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + +src_install() { + meson_src_install + python_optimize "${ED}/usr/share/${PN}" + + 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.ebuild deleted file mode 100644 index da1003cb4f3f..000000000000 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.21.2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-single-r1 xdg - -DESCRIPTION="Multi-featured system monitor GUI written in Python" -HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" -else - SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - KEYWORDS="amd64 ~x86" -fi - -LICENSE="GPL-3+" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - gui-libs/gtk:4[introspection] - gui-libs/libadwaita:1 - sys-apps/dmidecode - sys-apps/hwdata - $(python_gen_cond_dep ' - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') -" - -src_install() { - meson_src_install - python_optimize "${ED}"/usr/share/${PN} - - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die -} diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.22.1-r1.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.22.1-r1.ebuild new file mode 100644 index 000000000000..8a65a073a3e7 --- /dev/null +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.22.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="Multi-featured system monitor GUI written in Python" +HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" +else + SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + gui-libs/gtk:4[introspection] + gui-libs/libadwaita:1 + sys-apps/dmidecode + sys-apps/hwdata + $(python_gen_cond_dep ' + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" + +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + +src_install() { + meson_src_install + python_optimize "${ED}/usr/share/${PN}" + + 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.22.1.ebuild deleted file mode 100644 index 0d57d2200134..000000000000 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.22.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-single-r1 xdg - -DESCRIPTION="Multi-featured system monitor GUI written in Python" -HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" -else - SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3+" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - gui-libs/gtk:4[introspection] - gui-libs/libadwaita:1 - sys-apps/dmidecode - sys-apps/hwdata - $(python_gen_cond_dep ' - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') -" - -src_install() { - meson_src_install - python_optimize "${ED}"/usr/share/${PN} - - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die -} diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.23.0-r1.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.23.0-r1.ebuild new file mode 100644 index 000000000000..8a65a073a3e7 --- /dev/null +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.23.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="Multi-featured system monitor GUI written in Python" +HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" +else + SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + gui-libs/gtk:4[introspection] + gui-libs/libadwaita:1 + sys-apps/dmidecode + sys-apps/hwdata + $(python_gen_cond_dep ' + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" + +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + +src_install() { + meson_src_install + python_optimize "${ED}/usr/share/${PN}" + + 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.23.0.ebuild deleted file mode 100644 index 0d57d2200134..000000000000 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.23.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-single-r1 xdg - -DESCRIPTION="Multi-featured system monitor GUI written in Python" -HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" -else - SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3+" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - gui-libs/gtk:4[introspection] - gui-libs/libadwaita:1 - sys-apps/dmidecode - sys-apps/hwdata - $(python_gen_cond_dep ' - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') -" - -src_install() { - meson_src_install - python_optimize "${ED}"/usr/share/${PN} - - mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die -} diff --git a/sys-apps/system-monitoring-center/system-monitoring-center-2.24.0-r1.ebuild b/sys-apps/system-monitoring-center/system-monitoring-center-2.24.0-r1.ebuild new file mode 100644 index 000000000000..8a65a073a3e7 --- /dev/null +++ b/sys-apps/system-monitoring-center/system-monitoring-center-2.24.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="Multi-featured system monitor GUI written in Python" +HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" +else + SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + gui-libs/gtk:4[introspection] + gui-libs/libadwaita:1 + sys-apps/dmidecode + sys-apps/hwdata + $(python_gen_cond_dep ' + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" + +src_prepare() { + sed -i "s|@PYTHON@|${PYTHON}|" "${S}/src/${PN}.in" || die + + default +} + +src_install() { + meson_src_install + python_optimize "${ED}/usr/share/${PN}" + + 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.24.0.ebuild deleted file mode 100644 index 0d57d2200134..000000000000 --- a/sys-apps/system-monitoring-center/system-monitoring-center-2.24.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-single-r1 xdg - -DESCRIPTION="Multi-featured system monitor GUI written in Python" -HOMEPAGE="https://github.com/hakandundar34coding/system-monitoring-center/" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hakandundar34coding/${PN}.git" -else - SRC_URI="https://github.com/hakandundar34coding/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3+" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - gui-libs/gtk:4[introspection] - gui-libs/libadwaita:1 - sys-apps/dmidecode - sys-apps/hwdata - $(python_gen_cond_dep ' - dev-python/pycairo[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - ') -" - -src_install() { - meson_src_install - python_optimize "${ED}"/usr/share/${PN} - - 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 } -- cgit v1.2.3-65-gdbad