dev-python/deprecated: Bump to 3.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-09-27 04:12:17 +02:00
parent 8d9130e18f
commit c984775e86
2 changed files with 40 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST deprecated-1.3.1.tar.gz 2932523 BLAKE2B 68fcfd7d22cc5b02624b9ea175c02d7999806f6233e8fdcdfa2b266e396e9654530335636cfcd6eaab00728f1e985aaba5e8a3c5a3d2cd1b3a2f8baef98b0761 SHA512 1218a010ee83ec3ddcec279007af2aa7f5b9ec34a36a6b592cfdf3ef8d621dd6aba0a2e93f8ccacd190b111f1d47699a6484f546ea068a1b40103dcc114a2a36
DIST deprecated-3.0.0.tar.gz 166912 BLAKE2B 17253793981b1bc36fc9b22fdd584c34c142fd39e2d003118d5ccb898beca9b6c309cd47533f4e8d0302e67bb7f738baef83c535cd4f0819a6b03a59e3385936 SHA512 cc3adb4918cb8257afb9e7b73d4e63b1d6869528ff76cec62f0729fa9788eb765d4d8d68cec6a409a2da520c1f853b18d6fa6be4ec98d55e5ab88f15001932f2
@@ -0,0 +1,39 @@
# Copyright 2019-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_PN=${PN^}
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 pypi
DESCRIPTION="Python @deprecated decorator to deprecate old API"
HOMEPAGE="
https://github.com/laurent-laporte-pro//deprecated/
https://pypi.org/project/Deprecated/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
>=dev-python/wrapt-1.16[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/packaging[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# unpin deps
sed -i -e 's:,< [0-9.]*::' pyproject.toml || die
}