From adf2493bc15dece8e5a4b1dedea642158118767c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 1 Apr 2026 07:18:39 +0000 Subject: Adding metadata --- dev-python/decopatch/decopatch-1.4.10-r1.ebuild | 7 +++++-- .../files/decopatch-1.4.10-pkg_resources.patch | 24 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 dev-python/decopatch/files/decopatch-1.4.10-pkg_resources.patch (limited to 'dev-python/decopatch') diff --git a/dev-python/decopatch/decopatch-1.4.10-r1.ebuild b/dev-python/decopatch/decopatch-1.4.10-r1.ebuild index e45f6436982d..d7f8ad7f29fd 100644 --- a/dev-python/decopatch/decopatch-1.4.10-r1.ebuild +++ b/dev-python/decopatch/decopatch-1.4.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,10 @@ KEYWORDS="~amd64" RDEPEND="dev-python/makefun[${PYTHON_USEDEP}]" BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-python12.patch" ) +PATCHES=( + "${FILESDIR}/${P}-python12.patch" + "${FILESDIR}/${P}-pkg_resources.patch" +) EPYTEST_PLUGINS=( pytest-cases ) EPYTEST_DESELECT=( diff --git a/dev-python/decopatch/files/decopatch-1.4.10-pkg_resources.patch b/dev-python/decopatch/files/decopatch-1.4.10-pkg_resources.patch new file mode 100644 index 000000000000..3b1b47773a13 --- /dev/null +++ b/dev-python/decopatch/files/decopatch-1.4.10-pkg_resources.patch @@ -0,0 +1,24 @@ +https://github.com/smarie/python-decopatch/pull/39 + +--- + setup.py | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/setup.py b/setup.py +index ab1583e..f533213 100644 +--- a/setup.py ++++ b/setup.py +@@ -15,13 +15,6 @@ + from setuptools import setup + + +-# (1) check required versions (from https://medium.com/@daveshawley/safely-using-setup-cfg-for-metadata-1babbe54c108) +-import pkg_resources +- +-pkg_resources.require("setuptools>=39.2") +-pkg_resources.require("setuptools_scm") +- +- + # (2) Generate download url using git version + from setuptools_scm import get_version # noqa: E402 + -- cgit v1.3