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/wcag-contrast-ratio/
Date: Tue, 10 May 2022 17:52:55
Message-Id: 1652205168.5cfb3a4b449bc528f9961723878d4f13dec43db2.mgorny@gentoo
1 commit: 5cfb3a4b449bc528f9961723878d4f13dec43db2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 10 17:31:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 10 17:52:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cfb3a4b
7
8 dev-python/wcag-contrast-ratio: Enable py3.11
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild | 12 ++++++++----
13 1 file changed, 8 insertions(+), 4 deletions(-)
14
15 diff --git a/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild b/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild
16 index 5b70bba8ad6d..cec8f300bb3a 100644
17 --- a/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild
18 +++ b/dev-python/wcag-contrast-ratio/wcag-contrast-ratio-0.9-r1.ebuild
19 @@ -4,16 +4,19 @@
20 EAPI=8
21
22 DISTUTILS_USE_PEP517=setuptools
23 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
24 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
25 +
26 inherit distutils-r1
27
28 DESCRIPTION="A library for computing contrast ratios, as required by WCAG 2.0"
29 HOMEPAGE="
30 https://github.com/gsnedders/wcag-contrast-ratio/
31 - https://pypi.org/project/wcag-contrast-ratio/"
32 + https://pypi.org/project/wcag-contrast-ratio/
33 +"
34 SRC_URI="
35 https://github.com/gsnedders/wcag-contrast-ratio/archive/${PV}.tar.gz
36 - -> ${P}.gh.tar.gz"
37 + -> ${P}.gh.tar.gz
38 +"
39
40 LICENSE="MIT"
41 SLOT="0"
42 @@ -22,7 +25,8 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv
43 BDEPEND="
44 test? (
45 dev-python/hypothesis[${PYTHON_USEDEP}]
46 - )"
47 + )
48 +"
49
50 distutils_enable_tests pytest