From c984775e862f1fdb28e23fbb15ef90d39b71c1fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 27 Sep 2026 03:56:26 +0200 Subject: [PATCH] dev-python/deprecated: Bump to 3.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/deprecated/Manifest | 1 + dev-python/deprecated/deprecated-3.0.0.ebuild | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-python/deprecated/deprecated-3.0.0.ebuild diff --git a/dev-python/deprecated/Manifest b/dev-python/deprecated/Manifest index 866edf4177fd0..7ce6e86e1eb10 100644 --- a/dev-python/deprecated/Manifest +++ b/dev-python/deprecated/Manifest @@ -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 diff --git a/dev-python/deprecated/deprecated-3.0.0.ebuild b/dev-python/deprecated/deprecated-3.0.0.ebuild new file mode 100644 index 0000000000000..71d78d9ffb4cc --- /dev/null +++ b/dev-python/deprecated/deprecated-3.0.0.ebuild @@ -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 +}