summaryrefslogtreecommitdiff
path: root/dev-python/datastructclass/datastructclass-0.1.1.ebuild
blob: d18eeca7eddc77205b5891f09d95755c8c0959a3 (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 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )

inherit distutils-r1 pypi

DESCRIPTION="A dataclass with struct-like semantics"
HOMEPAGE="
	https://github.com/bessman/datastructclass/
	https://pypi.org/project/datastructclass/
"

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

distutils_enable_tests pytest

python_test() {
	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
	epytest
}