diff options
author | Matthew S. Turnbull <sparky@bluefang-logic.com> | 2023-07-04 22:25:21 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-16 19:33:00 +0100 |
commit | fbb849c9c4b5835e472235f27768acc58de12cf7 (patch) | |
tree | 8b7aba258fd42bc3744487bd0fe8b7a85ebcd0a3 /dev-python/python3-xapp | |
parent | x11-libs/xapp: add 2.6.1 (diff) | |
download | gentoo-fbb849c9c4b5835e472235f27768acc58de12cf7.tar.gz gentoo-fbb849c9c4b5835e472235f27768acc58de12cf7.tar.bz2 gentoo-fbb849c9c4b5835e472235f27768acc58de12cf7.zip |
dev-python/python3-xapp: add 2.4.1
Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/python3-xapp')
-rw-r--r-- | dev-python/python3-xapp/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python3-xapp/python3-xapp-2.4.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/python3-xapp/Manifest b/dev-python/python3-xapp/Manifest index a2b8ab2d3a8d..eae5330a4645 100644 --- a/dev-python/python3-xapp/Manifest +++ b/dev-python/python3-xapp/Manifest @@ -1 +1,2 @@ DIST python3-xapp-2.4.0.tar.gz 20787 BLAKE2B e225ad100119f90813b0f7657832bb186675542b3476beec639ff4e0771f4c00629c5d297a2ca0392fbd630066ba0a95a6f8553bd01a9f2df18752536a513127 SHA512 7c9afabbc810ffe878e831f7e1ff585ce49abc6d1db3d4ea70deb6630e2bb18f61ded31ae0e075cccae2283cac50b3440204a586f844ba9ee9cfbcb572bf7573 +DIST python3-xapp-2.4.1.tar.gz 21181 BLAKE2B 460aba09d147d64c8102f66d059c6ab1f7c39893ce98844e59ab5954b690d81ab4b253cb6a17f9b3c781dfb5e965d1a4de859aaeff5ef65ab3f67a86a4c6e6c2 SHA512 97045061aa5965adcfe7301774dbd35a226fa9b846e31a7c097229cc417ff4008e518ebd5b600d4ce6a46daa39d51de70d391b6b0a7c78490419d3a96daca6a9 diff --git a/dev-python/python3-xapp/python3-xapp-2.4.1.ebuild b/dev-python/python3-xapp/python3-xapp-2.4.1.ebuild new file mode 100644 index 000000000000..6fd591cd4289 --- /dev/null +++ b/dev-python/python3-xapp/python3-xapp-2.4.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9..11} ) + +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 ~ppc64 ~riscv ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + >=x11-libs/xapp-2.4.1[introspection] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + dev-python/psutil[${PYTHON_USEDEP}] +" + +src_prepare() { + echo "option('python', type: 'string', value: 'python3')" >> meson_options.txt || die + sed -i "s/find_installation('python3')/find_installation(get_option('python'))/" meson.build || die + default +} + +src_configure() { + configuring() { + meson_src_configure \ + -Dpython="${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 +} |