guru/dev-python/phx-class-registry/phx-class-registry-4.0.6-r1.ebuild
Anna (cybertailor) Vyalkova 4207fd278e
*/*: apply style fixes after py3.10 cleanup
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-02-21 18:12:56 +05:00

24 lines
616 B
Bash

# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="An intersection of the Registry and Factory pattern"
HOMEPAGE="https://github.com/todofixthis/class-registry"
SRC_URI="https://github.com/todofixthis/class-registry/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/class-registry-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
distutils_enable_tests unittest
python_test() {
"${EPYTHON}" -m unittest || die "Tests failed with ${EPYTHON}"
}