From 6302726dcb462651759121a0399ca3bf21704646 Mon Sep 17 00:00:00 2001 From: Zamarin Arthur Date: Thu, 27 May 2021 10:29:49 +0300 Subject: dev-python/pylru: bump python 3.{9,10}, add tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit passes tests Signed-off-by: Zamarin Arthur Signed-off-by: Michał Górny --- dev-python/pylru/pylru-1.2.0.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dev-python/pylru/pylru-1.2.0.ebuild b/dev-python/pylru/pylru-1.2.0.ebuild index 73f3e86bb7fa..f22b1b0e9eb6 100644 --- a/dev-python/pylru/pylru-1.2.0.ebuild +++ b/dev-python/pylru/pylru-1.2.0.ebuild @@ -1,18 +1,20 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..10} ) inherit distutils-r1 DESCRIPTION="A least recently used (LRU) cache for Python" HOMEPAGE="https://github.com/jlhutch/pylru" -LICENSE="GPL-2" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64" -BDEPEND="" -RDEPEND="" +python_test() { + "${EPYTHON}" test.py || die "tests failed under ${EPYTHON}" +} -- cgit v1.2.3-65-gdbad