Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pywlroots/
Date: Sun, 19 Mar 2023 04:13:39
Message-Id: 1679199211.2420da01faf396bec96c5e0d543bc88f355105c1.mgorny@gentoo
1 commit: 2420da01faf396bec96c5e0d543bc88f355105c1
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 04:05:22 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 04:13:31 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2420da01
7
8 dev-python/pywlroots: Bump to 0.16.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pywlroots/Manifest | 1 +
13 dev-python/pywlroots/pywlroots-0.16.2.ebuild | 44 ++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-python/pywlroots/Manifest b/dev-python/pywlroots/Manifest
17 index c22522919570..446dcdbf2f88 100644
18 --- a/dev-python/pywlroots/Manifest
19 +++ b/dev-python/pywlroots/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pywlroots-0.15.24.gh.tar.gz 85570 BLAKE2B 0c7ba0be6159152488785298028bb1feec20e2380357060a850dab417b3fb1fccb4a9e6cc6564d2b7f124bf4fc454789549267e9036b0b4559e5fcd4c6f06196 SHA512 b29b76cf18a65b2ef19d15ecf018a9ba44119d60ee61435967d17f06d5f7544d2117f2e9a81574734c71591a237b00c8584a5cc6d6adb928f39f11170f21ee94
22 DIST pywlroots-0.16.1.gh.tar.gz 90101 BLAKE2B 5b26b8aeacef7336353376f1ac0f230f88e50da3dca1ac726470791555edb9c486234122242ced3220b893eb6d0666cfc6519f23ed3922645549ff012ab46d04 SHA512 599210486c6461660b2c85b69726afc30c5b0d835e61ee2cf246296aaccf9d8fb1e332d7eb50a30599f155fbbd7c5c204ca1158d9a8122fcc36fbf745085902f
23 +DIST pywlroots-0.16.2.gh.tar.gz 90372 BLAKE2B 94107199e912b53e484d0fd81f18900bb5b2283a588b09da2c078606881f1cbe8e25bec3bada32e1d0c74300374d66c95d56ff976661813730ffedaf023cb57a SHA512 314339e6b4f66f03af74fc7e69814b4e1e879da6ec624f33eb3b04e26a7a4159776f182830a3b2ff31720021386cab70cdfc16a0b2377414c94cd834fd1ca26c
24
25 diff --git a/dev-python/pywlroots/pywlroots-0.16.2.ebuild b/dev-python/pywlroots/pywlroots-0.16.2.ebuild
26 new file mode 100644
27 index 000000000000..b802883e934e
28 --- /dev/null
29 +++ b/dev-python/pywlroots/pywlroots-0.16.2.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{9..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Python binding to the wlroots library using cffi"
42 +HOMEPAGE="
43 + https://github.com/flacjacket/pywlroots/
44 + https://pypi.org/project/pywlroots/
45 +"
46 +SRC_URI="
47 + https://github.com/flacjacket/pywlroots/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="BSD"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~riscv ~x86"
54 +
55 +# See README for wlroots dep
56 +DEPEND="
57 + >=dev-python/pywayland-0.4.14[${PYTHON_USEDEP}]
58 + >=dev-python/xkbcommon-0.2[${PYTHON_USEDEP}]
59 + =gui-libs/wlroots-$(ver_cut 1-2)*:=
60 +"
61 +RDEPEND="
62 + ${DEPEND}
63 +"
64 +
65 +PATCHES=(
66 + "${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch
67 +)
68 +
69 +distutils_enable_tests pytest
70 +
71 +python_test() {
72 + rm -rf wlroots || die
73 + epytest
74 +}