dev-python/phx-class-registry: Bump to 4.0.6

Also addressed some lints in 3.0.5 and bumped PYTHON_COMPAT to 3.11.

Since it depends on nose though, it will go away soonish.

Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
This commit is contained in:
Wolfgang E. Sanyer
2023-06-04 21:35:08 -04:00
parent 25e6715d4b
commit 9c8ef669a3
4 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_10 python3_11 )
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"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/class-registry-${PV}"
distutils_enable_tests unittest
python_test() {
"${EPYTHON}" -m unittest || die "Tests failed with ${EPYTHON}"
}