commit: d60647afc417540dec3f7e0f2cd03a675919f2ab Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Aug 24 13:12:28 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Aug 24 13:12:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d60647af
dev-python/python3-xapp: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/python3-xapp/Manifest | 1 - .../python3-xapp-configurable-python-target.patch | 31 ------------ .../python3-xapp/python3-xapp-2.4.1-r2.ebuild | 58 ---------------------- 3 files changed, 90 deletions(-) diff --git a/dev-python/python3-xapp/Manifest b/dev-python/python3-xapp/Manifest index ff10cf341c24..dbe4721ad376 100644 --- a/dev-python/python3-xapp/Manifest +++ b/dev-python/python3-xapp/Manifest @@ -1,2 +1 @@ -DIST python3-xapp-2.4.1.tar.gz 21181 BLAKE2B 460aba09d147d64c8102f66d059c6ab1f7c39893ce98844e59ab5954b690d81ab4b253cb6a17f9b3c781dfb5e965d1a4de859aaeff5ef65ab3f67a86a4c6e6c2 SHA512 97045061aa5965adcfe7301774dbd35a226fa9b846e31a7c097229cc417ff4008e518ebd5b600d4ce6a46daa39d51de70d391b6b0a7c78490419d3a96daca6a9 DIST python3-xapp-2.4.2.tar.gz 21482 BLAKE2B bacea6a626efa8ee60a4f91923e48e0e9e49d08ca0c9a5998b724284edc353912099f2deafc6eb7cf6a42a983f97f8cc03fe86c18338c89823f103e413685637 SHA512 04f995986eabaf613d166ae31bd36eda2b3563ea58aded64b132940430db9d59f9525eb562b0ad8d7649844adbaf28332c4f51fa633610b102feae97bc1bfc9f diff --git a/dev-python/python3-xapp/files/python3-xapp-configurable-python-target.patch b/dev-python/python3-xapp/files/python3-xapp-configurable-python-target.patch deleted file mode 100644 index cdc6988934b9..000000000000 --- a/dev-python/python3-xapp/files/python3-xapp-configurable-python-target.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 70966ad200bf2a5e5769a2ac5f1d4da0a4a3aa51 Mon Sep 17 00:00:00 2001 -From: Sparky Bluefang <[email protected]> -Date: Tue, 2 Jan 2024 22:19:46 -0500 -Subject: [PATCH] Make python installation configurable for distro packaging. - ---- - meson.build | 2 +- - meson_options.txt | 1 + - 2 files changed, 2 insertions(+), 1 deletion(-) - create mode 100644 meson_options.txt - -diff --git a/meson.build b/meson.build -index a9b67ca..a930803 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,7 +1,7 @@ - project('python-xapp', version: '2.4.1', meson_version: '>=0.47.0') - - pymod = import('python') --python3 = pymod.find_installation('python3') -+python3 = pymod.find_installation(get_option('python_target')) - - subdir('xapp') - -diff --git a/meson_options.txt b/meson_options.txt -new file mode 100644 -index 0000000..689a9c9 ---- /dev/null -+++ b/meson_options.txt -@@ -0,0 +1 @@ -+option('python_target', type: 'string', value: 'python3', description: 'Python installation to target') diff --git a/dev-python/python3-xapp/python3-xapp-2.4.1-r2.ebuild b/dev-python/python3-xapp/python3-xapp-2.4.1-r2.ebuild deleted file mode 100644 index 46d9df3aeab8..000000000000 --- a/dev-python/python3-xapp/python3-xapp-2.4.1-r2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-r1 - -DESCRIPTION="Python bindings for x11-libs/xapp" -HOMEPAGE="https://github.com/linuxmint/python3-xapp" -SRC_URI="https://github.com/linuxmint/python3-xapp/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - $(python_gen_cond_dep ' - >=x11-libs/xapp-2.8.1[introspection,${PYTHON_USEDEP}] - ') -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} - dev-python/psutil[${PYTHON_USEDEP}] -" - -PATCHES=( - # Make python installation configurable for distro packaging - # https://github.com/linuxmint/python3-xapp/pull/23 - "${FILESDIR}"/${PN}-configurable-python-target.patch -) - -src_configure() { - configuring() { - meson_src_configure \ - -Dpython_target="${EPYTHON}" - } - python_foreach_impl configuring -} - -src_compile() { - python_foreach_impl meson_src_compile -} - -src_test() { - python_foreach_impl meson_src_test -} - -src_install() { - installing() { - meson_src_install - python_optimize - } - python_foreach_impl installing -}
