summaryrefslogtreecommitdiff
path: root/dev-python/python3-xapp
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python3-xapp')
-rw-r--r--dev-python/python3-xapp/Manifest2
-rw-r--r--dev-python/python3-xapp/python3-xapp-2.4.1.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/python3-xapp/Manifest b/dev-python/python3-xapp/Manifest
index 74b0d925c52e..8a34fe4e9780 100644
--- a/dev-python/python3-xapp/Manifest
+++ b/dev-python/python3-xapp/Manifest
@@ -1,3 +1,5 @@
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
EBUILD python3-xapp-2.4.0-r1.ebuild 1161 BLAKE2B b281cab1718a499338faeca5aaafdc51d1d9f8b2f56977066650f2bb5e4926f9d3378763c6ece0dae1b3ca757c80429445183c0a891e7d555cea1571768c34c5 SHA512 a4e0c0166fb0b2158d72863d54e50a5fcc2b4f9c798c174bf15e7b47eafcfd16a285d96a72dc7254129dc8897d34c0610fe8ec156d5febdcb280804f8ab6955a
+EBUILD python3-xapp-2.4.1.ebuild 1163 BLAKE2B 77e26b26fe1a33d8a224b4bb6cacc547c1db58f040661a81edc55122fa9cf5c7bc9288fe46e8536599ba1169e1b21c78547e7bf20da723414f5dd54454f45453 SHA512 c2a1a418de704d0ed53beae2e34dc87b4a83f70351fad5bab00f39f9a0b96c7985da5622a2f1a94ac5569f8fcab10a6096e8f57a9d947d627e20187ffcf53b7e
MISC metadata.xml 516 BLAKE2B e9429fe1f541d1763f644fb18fbef2bef3e105e943a7099792951a63a38c0083ae35e64160233ab48a8556d5bba96ad9031dc09fcdcf24033494d222e25a9cfa SHA512 b23a2d82ecbdb03abce2b3c40579c6aec5caad09b556c513600ded65d21ab56949ffe1eae0b04238f79c9e3c5c95a66a263e23281fcc2d16978c6a787e53c813
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
+}