gentoo/dev-python/datastructclass/datastructclass-0.1.1.ebuild
Michał Górny f5c8904e89
dev-python/datastructclass: New package, v0.1.1
Needed by >=dev-python/mcbootflash-10.0.0.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-12-23 07:17:34 +01:00

27 lines
501 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( pypy3 python3_{10..13} )
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
}