dev-python/phx-class-registry: bump to 4.1.0

Also unmask - this package does not depend on nose, and 38 tests ran and
passed fine in a fresh stage3 docker image.

Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
This commit is contained in:
Wolfgang E. Sanyer
2024-04-02 00:57:04 -04:00
parent b09830e960
commit 98ae06fe25
3 changed files with 24 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 python3_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}"
}