summaryrefslogtreecommitdiff
path: root/dev-python/pywlroots
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-14 00:01:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-14 00:01:24 +0100
commit59c2499e0c9720169c9d5a02168c51c807a21467 (patch)
tree48c68a8a7e0094b2edaace12850e6c059bc3636b /dev-python/pywlroots
parenta25cc082a26782e5d39ded4559c91ff11bc3c299 (diff)
gentoo auto-resync : 14:05:2024 - 00:01:24
Diffstat (limited to 'dev-python/pywlroots')
-rw-r--r--dev-python/pywlroots/Manifest4
-rw-r--r--dev-python/pywlroots/pywlroots-0.16.9.ebuild55
-rw-r--r--dev-python/pywlroots/pywlroots-0.17.0.ebuild55
3 files changed, 114 insertions, 0 deletions
diff --git a/dev-python/pywlroots/Manifest b/dev-python/pywlroots/Manifest
index f03768129977..622f147fcb1e 100644
--- a/dev-python/pywlroots/Manifest
+++ b/dev-python/pywlroots/Manifest
@@ -2,7 +2,11 @@ AUX pywlroots-0.15.24-no-import-version-check.patch 592 BLAKE2B 24ef9a82a3a7c62e
DIST pywlroots-0.15.24.gh.tar.gz 85570 BLAKE2B 0c7ba0be6159152488785298028bb1feec20e2380357060a850dab417b3fb1fccb4a9e6cc6564d2b7f124bf4fc454789549267e9036b0b4559e5fcd4c6f06196 SHA512 b29b76cf18a65b2ef19d15ecf018a9ba44119d60ee61435967d17f06d5f7544d2117f2e9a81574734c71591a237b00c8584a5cc6d6adb928f39f11170f21ee94
DIST pywlroots-0.16.7.tar.gz 98542 BLAKE2B bcc20d31e4423c6f486f6bcbfecb1db1995cc3d58e98205f63468b4b93b3f386f67ff22e8a99cd419b7b31f7c0287a61f8c4e1fed6e7af525244e94895ba55d6 SHA512 05e75f70ca6e9fcf7cfd18fb55411fbf3ef9d0b95d11afdab0ad95f2016623ac4e097b600e3d7a6f880be0edc6a1ccfaa48364ec02bd3c46c44f7c0de3fe96ac
DIST pywlroots-0.16.8.tar.gz 100267 BLAKE2B 969f528a849a5b2b3c5c9147971c1fa4e105d894c3086e0283877cdedb8f1535632fd8554adfda2419881a0a0efb9bbbba420950991f36746a66b543052f8301 SHA512 2b374ce77d35106830e8de8d96bb3572ff3853ce7a431e280580144ffc530531df5a79f54e5064d6186b7cc660a97dfb5d954155c71d8e70109d50206d96c597
+DIST pywlroots-0.16.9.tar.gz 100390 BLAKE2B 139a7514ee503d883519dbd157a6ec75024ad8ac5d8b07b518831f94b04d2e28bba62a58351bc896a306533b4e88deb251caf00c48e3be7877d0f6ce7e833036 SHA512 b7fea09d1b2eb6ff443e712222d63693ad440b2dc7b22dc49ec9b166ae45038662f0f68ca15db5e8bf8776b3ceb880f846341883bf99dd783f323bd46f6a3ac6
+DIST pywlroots-0.17.0.tar.gz 99439 BLAKE2B 0f4153e5d4e7786d52d2a66614c4c92d29d0ef57be74ce8e7b23ed244c361a551b84606493296b99b4b1f48f5c862911f48aa32f3e7d5bd1c0fcedcfb1240474 SHA512 20b93845f26f1942bc111d12de24acc17af24cd70abd644a66a4b43e3622fa2cb9323c7dc846a5708c5cb63631e77020350231a67d3b6702ac5882fcd31411df
EBUILD pywlroots-0.15.24-r2.ebuild 1003 BLAKE2B 19a6ce2c6c9fff501e2a4274ac1254d6cf22b693b1451c7e3e61d09f4d8ff1b93b98ef6242c683e4f48527b0d022f971bcb3b016541ad7a352c28c3cd8bf9060 SHA512 83343df9d58b79b6abd76d9706ddfd236eae1a05bb975dcfdf0561371f43687f3c34c9c194ebb8a363e005ea9c54ce84d12f70893f80d1593741425ecca81c21
EBUILD pywlroots-0.16.7.ebuild 1201 BLAKE2B 08c3f9b342852dc8170a2fcf77ace31ba1033af1ec09ebb3d52623e3c105ac4658724ad82fc8a88a65d7c2a0264ba1262c0ed4879e857e4360c0d33af769dcee SHA512 883cf8988a41eaab105b9baf49ae88490ac168d0a610d575d4a51bf8bf76ff24dcd9a16b38c7383d7f796bf42cc0deb6c803cf71d552f29115214c08299ea373
EBUILD pywlroots-0.16.8.ebuild 1202 BLAKE2B 7d5ee5ffd72e9e234b1b24df277e7886461e3223fdec7b9b0c0ca4ef078f3b29c4022dd6a2e929d30c170d978a5663e24c42007eed7bdca4985e7cee3edf4eb9 SHA512 546faadd4e1b23d63a6eef7283866d8dd911a18f73f60a265a9ee7c4ffbbbe080eb5698147af73697f1c12d8ca6d23ce7d9ab25252c2223e3ee4fdc9bbd6d200
+EBUILD pywlroots-0.16.9.ebuild 1202 BLAKE2B 7d5ee5ffd72e9e234b1b24df277e7886461e3223fdec7b9b0c0ca4ef078f3b29c4022dd6a2e929d30c170d978a5663e24c42007eed7bdca4985e7cee3edf4eb9 SHA512 546faadd4e1b23d63a6eef7283866d8dd911a18f73f60a265a9ee7c4ffbbbe080eb5698147af73697f1c12d8ca6d23ce7d9ab25252c2223e3ee4fdc9bbd6d200
+EBUILD pywlroots-0.17.0.ebuild 1202 BLAKE2B 7d5ee5ffd72e9e234b1b24df277e7886461e3223fdec7b9b0c0ca4ef078f3b29c4022dd6a2e929d30c170d978a5663e24c42007eed7bdca4985e7cee3edf4eb9 SHA512 546faadd4e1b23d63a6eef7283866d8dd911a18f73f60a265a9ee7c4ffbbbe080eb5698147af73697f1c12d8ca6d23ce7d9ab25252c2223e3ee4fdc9bbd6d200
MISC metadata.xml 351 BLAKE2B 8c8ef3ef1d58928c0a15fcd756e4d1c94b2793626c9b4e9cbeb31443119cb47fa4975063547065cbc6e06f327ec7d36beb5e74973fd3d372ad4f7feeac3410ea SHA512 b4840e4149647c29e358b64d3de99a0f2b148a4d7d123d7ef7df67cf918a3f599d3e199ed7ef4d0d39bf8ccc8e4630058db4ae3a2260119ce1c5d255bf2dd9c8
diff --git a/dev-python/pywlroots/pywlroots-0.16.9.ebuild b/dev-python/pywlroots/pywlroots-0.16.9.ebuild
new file mode 100644
index 000000000000..9a4044ba719c
--- /dev/null
+++ b/dev-python/pywlroots/pywlroots-0.16.9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python binding to the wlroots library using cffi"
+HOMEPAGE="
+ https://github.com/flacjacket/pywlroots/
+ https://pypi.org/project/pywlroots/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="X"
+
+# See README for wlroots dep
+DEPEND="
+ dev-python/cffi:=[${PYTHON_USEDEP}]
+ >=dev-python/pywayland-0.4.14[${PYTHON_USEDEP}]
+ >=dev-python/xkbcommon-0.2[${PYTHON_USEDEP}]
+ =gui-libs/wlroots-$(ver_cut 1-2)*:=[X?]
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ local PATCHES=(
+ "${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch
+ )
+
+ # override automagic detection and caching that's completely broken
+ # by design; https://github.com/flacjacket/pywlroots/issues/132
+ cat > wlroots/_build.py <<-EOF || die
+ has_xwayland = $(usex X True False)
+ EOF
+ sed -e "s:return.*has_xwayland$:return $(usex X True False):" \
+ -i wlroots/ffi_build.py || die
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ rm -rf wlroots || die
+ epytest
+}
diff --git a/dev-python/pywlroots/pywlroots-0.17.0.ebuild b/dev-python/pywlroots/pywlroots-0.17.0.ebuild
new file mode 100644
index 000000000000..9a4044ba719c
--- /dev/null
+++ b/dev-python/pywlroots/pywlroots-0.17.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python binding to the wlroots library using cffi"
+HOMEPAGE="
+ https://github.com/flacjacket/pywlroots/
+ https://pypi.org/project/pywlroots/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="X"
+
+# See README for wlroots dep
+DEPEND="
+ dev-python/cffi:=[${PYTHON_USEDEP}]
+ >=dev-python/pywayland-0.4.14[${PYTHON_USEDEP}]
+ >=dev-python/xkbcommon-0.2[${PYTHON_USEDEP}]
+ =gui-libs/wlroots-$(ver_cut 1-2)*:=[X?]
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ local PATCHES=(
+ "${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch
+ )
+
+ # override automagic detection and caching that's completely broken
+ # by design; https://github.com/flacjacket/pywlroots/issues/132
+ cat > wlroots/_build.py <<-EOF || die
+ has_xwayland = $(usex X True False)
+ EOF
+ sed -e "s:return.*has_xwayland$:return $(usex X True False):" \
+ -i wlroots/ffi_build.py || die
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ rm -rf wlroots || die
+ epytest
+}