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/snappy/
Date: Thu, 19 May 2022 15:23:47
Message-Id: 1652973809.7ca0131b134653369d2765fbe4c3c232a16e206e.mgorny@gentoo
1 commit: 7ca0131b134653369d2765fbe4c3c232a16e206e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 19 14:21:11 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 19 15:23:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca0131b
7
8 dev-python/snappy: Enable py3.11
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/snappy/snappy-0.6.1.ebuild | 15 +++++++++++----
13 1 file changed, 11 insertions(+), 4 deletions(-)
14
15 diff --git a/dev-python/snappy/snappy-0.6.1.ebuild b/dev-python/snappy/snappy-0.6.1.ebuild
16 index 2d2b76271cae..3cf02af40dda 100644
17 --- a/dev-python/snappy/snappy-0.6.1.ebuild
18 +++ b/dev-python/snappy/snappy-0.6.1.ebuild
19 @@ -4,7 +4,7 @@
20 EAPI=8
21
22 DISTUTILS_USE_PEP517=setuptools
23 -PYTHON_COMPAT=( python3_{8..10} )
24 +PYTHON_COMPAT=( python3_{8..11} )
25
26 inherit distutils-r1
27
28 @@ -12,7 +12,10 @@ MY_PN=python-${PN}
29 MY_P=${MY_PN}-${PV}
30
31 DESCRIPTION="Python library for the snappy compression library from Google"
32 -HOMEPAGE="https://pypi.org/project/python-snappy/"
33 +HOMEPAGE="
34 + https://github.com/andrix/python-snappy/
35 + https://pypi.org/project/python-snappy/
36 +"
37 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
38 S=${WORKDIR}/${MY_P}
39
40 @@ -20,8 +23,12 @@ LICENSE="BSD"
41 KEYWORDS="amd64 arm arm64 ~riscv x86 ~amd64-linux ~x86-linux"
42 SLOT="0"
43
44 -DEPEND=">=app-arch/snappy-1.0.2:="
45 -RDEPEND=${DEPEND}
46 +DEPEND="
47 + >=app-arch/snappy-1.0.2:=
48 +"
49 +RDEPEND="
50 + ${DEPEND}
51 +"
52
53 python_test() {
54 cp test*.py "${BUILD_DIR}" || die