From 9c8ef669a306d8bfeefab08eb114e31eba6f0a82 Mon Sep 17 00:00:00 2001 From: "Wolfgang E. Sanyer" Date: Sun, 4 Jun 2023 21:35:08 -0400 Subject: [PATCH] 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 --- dev-python/phx-class-registry/Manifest | 1 + dev-python/phx-class-registry/metadata.xml | 3 +++ .../phx-class-registry-3.0.5-r1.ebuild | 3 ++- .../phx-class-registry-4.0.6.ebuild | 23 +++++++++++++++++++ 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 dev-python/phx-class-registry/phx-class-registry-4.0.6.ebuild diff --git a/dev-python/phx-class-registry/Manifest b/dev-python/phx-class-registry/Manifest index 4622fc7764..3891dc45e3 100644 --- a/dev-python/phx-class-registry/Manifest +++ b/dev-python/phx-class-registry/Manifest @@ -1 +1,2 @@ DIST phx-class-registry-3.0.5.tar.gz 23756 BLAKE2B 7ba98323cb91a328b7dbe3df2def174d950c9f78da2fbd62c81dbf3803d570d42794a20ca3219b41f8f5b739efd3317ce8672f70169db492c2cda8a980460fb1 SHA512 324171cbf14132e02c58026d90c87d408fd321d95258cf8cd66de472a125177c4131ca1e47fad279db3384a8a3a50832eb1287a4b577c76c79a9391fa1d998c6 +DIST phx-class-registry-4.0.6.tar.gz 26010 BLAKE2B 8c0f65f97efbe0dbae15d11ab52c7081f62654a485a784a6668eb37dbe3dbecf16f1fbc62edab06aafb34afd25ad1cb411de5b8768c10d4a501debc385de715f SHA512 da6d328359aae7488b1a34b4248e480c2f5e9c52e1f82bfeeba2be6d43a6014231fec0c32430e9f73c6761206197bb7e3db0b6bad9c847a5643d1609c3534293 diff --git a/dev-python/phx-class-registry/metadata.xml b/dev-python/phx-class-registry/metadata.xml index a58f7abe89..6bf7032552 100644 --- a/dev-python/phx-class-registry/metadata.xml +++ b/dev-python/phx-class-registry/metadata.xml @@ -10,4 +10,7 @@ ClassRegistry. This package contains the python modules necessary to use this dessign pattern + + todofixthis/class-registry + diff --git a/dev-python/phx-class-registry/phx-class-registry-3.0.5-r1.ebuild b/dev-python/phx-class-registry/phx-class-registry-3.0.5-r1.ebuild index da930eef0b..fceff661e3 100644 --- a/dev-python/phx-class-registry/phx-class-registry-3.0.5-r1.ebuild +++ b/dev-python/phx-class-registry/phx-class-registry-3.0.5-r1.ebuild @@ -3,7 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_10 pypy3 ) +PYTHON_COMPAT=( python3_10 python3_11 pypy3 ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="An intersection of the Registry and Factory pattern" diff --git a/dev-python/phx-class-registry/phx-class-registry-4.0.6.ebuild b/dev-python/phx-class-registry/phx-class-registry-4.0.6.ebuild new file mode 100644 index 0000000000..825c7fb508 --- /dev/null +++ b/dev-python/phx-class-registry/phx-class-registry-4.0.6.ebuild @@ -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}" +}