dev-python/injector: drop 0.22.0, add 0.22.0-r1, 0.24.0

* the furo depedency should only be required on python3.14
* since I didnt update to python3.14 yet I will add the depdency globaly
  just in case

Closes: https://bugs.gentoo.org/974813
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Negrier Duarte
2026-05-16 13:10:29 +01:00
parent 55e204fea6
commit 358f15550d
3 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST injector-0.22.0.gh.tar.gz 47416 BLAKE2B 291322db5d173797651a754584f0c358051615b3841a8a313e7ed6ffb1578e7380a55992cffe40a749aa563948237612167a18f06262879b4b04c1be52b3eb3f SHA512 956108656abba069f2f27e9f0eefea5c78f0381e91a687aa9f3ecf236b70cd21e6fdaea8a29c2d44bf8b8ff82945d22deda654422996b3722c0d069085e59515
DIST injector-0.24.0.gh.tar.gz 50813 BLAKE2B 789a916f84d6b28f35500b28e0b3f8fa1a7c48236826d24ba9cdd70f04965899e888f99dbee187dbe343fa6072927a33bac391727cd31ec0569bb2d232a747e2 SHA512 a11197fcf0b17c8674568cd3473ead651f4d1718988e93831f8f3786811eeaf98016966dbd94d28b39d3af69232a2a1dc07810720e370b7d37bea19007dc7f86

View File

@@ -14,6 +14,8 @@ SRC_URI="
https://github.com/python-injector/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
BDEPEND="dev-python/furo"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Python dependency injection framework, inspired by Guice"
HOMEPAGE="https://github.com/python-injector/injector"
SRC_URI="
https://github.com/python-injector/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
BDEPEND="dev-python/furo"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
distutils_enable_sphinx docs
distutils_enable_tests pytest
python_test() {
# bug 928158
epytest -o addopts=
}
python_install_all() {
distutils-r1_python_install_all
}