Install this version:
emerge -a =dev-python/dataclasses-jsonschema-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/dataclasses-jsonschema-9999
Or alternatively:
emerge --autounmask-write -a =dev-python/dataclasses-jsonschema-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 git-r3
DESCRIPTION="JSON schema generation from dataclasses"
HOMEPAGE="https://github.com/s-knibbs/dataclasses-jsonschema"
EGIT_REPO_URI="https://github.com/s-knibbs/${PN}.git"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/mypy-extensions[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? ( dev-python/apispec[${PYTHON_USEDEP}]
dev-python/apispec-webframeworks[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# AssertionError
tests/test_core.py::test_embeddable_json_schema
tests/test_core.py::test_property_serialisation
tests/test_core.py::test_property_serialisation_all_properties
)
python_prepare_all() {
# remove pytest-runner
sed -i "/setup_requires/s/'pytest-runner', //" \
setup.py || die "sed failed for setup.py"
distutils-r1_python_prepare_all
}
dev-python/jsonschema[] dev-python/mypy-extensions[] dev-python/python-dateutil[] dev-python/typing-extensions[]
dev-python/jsonschema[] dev-python/mypy-extensions[] dev-python/python-dateutil[] dev-python/typing-extensions[]
dev-python/setuptools-scm[] test? ( dev-python/apispec[] dev-python/apispec-webframeworks[] dev-python/flask[] )