summaryrefslogtreecommitdiff
path: root/dev-python/datastructclass/datastructclass-0.1.1.ebuild
blob: b9c154a8fe4075b2782dc397444f4cff3e4c7640 (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=flit
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )

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
}