# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..15} ) inherit distutils-r1 DESCRIPTION="Modern way to convert python dataclasses to and from plain types" HOMEPAGE="https://github.com/reagento/adaptix" # 2.16 was published on PyPI as dataclass-factory (wheel only), so this uses # the tag instead. It still installs the dataclass_factory module. SRC_URI="https://github.com/reagento/adaptix/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" # test_literal.py and test_typeddict.py parametrise with nose2. BDEPEND="test? ( dev-python/nose2[${PYTHON_USEDEP}] )" EPYTEST_PLUGINS=() distutils_enable_tests pytest