# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
# upstream is inactive and hasn't updated python compatibility declarations,
# so just use gentoo's python versions instead
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1 pypi

DESCRIPTION="Helper class for working with steno strokes"
HOMEPAGE="https://github.com/opensteno/plover_stroke"

# based on setup.cfg
# https://github.com/opensteno/plover_stroke/issues/4
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
	dev-python/wheel
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest