mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-python/decopatch: remove pkg_resources
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -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=(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user