summaryrefslogtreecommitdiff
path: root/dev-python/lru-dict/lru-dict-1.4.1.ebuild
blob: dbc2e85158d1102629d7834ab4fc97e00ec96159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
inherit distutils-r1 pypi

DESCRIPTION="Dict like LRU container"
HOMEPAGE="
	https://pypi.org/project/lru-dict/
	https://github.com/amitdev/lru-dict
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

distutils_enable_tests unittest

python_test() {
	cd "${T}" || die
	eunittest "${S}"/test
}