View Raw Ebuild
# automatically generated by g-sorcery
# please do not edit this file
EAPI=8
REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone
inherit python-r1 gs-pypi
DESCRIPTION="Python binding of the yahdlc library allowing to encode and decode HDLC frames."
HOMEPAGE="https://github.com/SkypLabs/python4yahdlc"
LICENSE="GPL-3"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples tests"
DEPENDENCIES="examples? ( dev-python/fysom[${PYTHON_USEDEP}] )
examples? ( dev-python/pyserial[${PYTHON_USEDEP}] )
tests? ( dev-python/black[${PYTHON_USEDEP}] )
tests? ( dev-python/ruff[${PYTHON_USEDEP}] )
tests? ( dev-python/tox[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"