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/pylru/
Date: Fri, 28 May 2021 14:19:38
Message-Id: 1622211569.6302726dcb462651759121a0399ca3bf21704646.mgorny@gentoo
1 commit: 6302726dcb462651759121a0399ca3bf21704646
2 Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
3 AuthorDate: Thu May 27 07:29:49 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 28 14:19:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6302726d
7
8 dev-python/pylru: bump python 3.{9,10}, add tests
9
10 passes tests
11
12 Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 dev-python/pylru/pylru-1.2.0.ebuild | 12 +++++++-----
16 1 file changed, 7 insertions(+), 5 deletions(-)
17
18 diff --git a/dev-python/pylru/pylru-1.2.0.ebuild b/dev-python/pylru/pylru-1.2.0.ebuild
19 index 73f3e86bb7f..f22b1b0e9eb 100644
20 --- a/dev-python/pylru/pylru-1.2.0.ebuild
21 +++ b/dev-python/pylru/pylru-1.2.0.ebuild
22 @@ -1,18 +1,20 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28
29 -PYTHON_COMPAT=( python3_{7,8} )
30 +PYTHON_COMPAT=( python3_{7..10} )
31
32 inherit distutils-r1
33
34 DESCRIPTION="A least recently used (LRU) cache for Python"
35 HOMEPAGE="https://github.com/jlhutch/pylru"
36 -LICENSE="GPL-2"
37 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
38 +
39 +LICENSE="GPL-2"
40 SLOT="0"
41 KEYWORDS="~amd64 ~arm ~arm64"
42
43 -BDEPEND=""
44 -RDEPEND=""
45 +python_test() {
46 + "${EPYTHON}" test.py || die "tests failed under ${EPYTHON}"
47 +}