diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/files/0001-remove-pkg_resources-import.patch | 32 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/files/0001-remove-pkg_resources-import.patch b/meta-python/recipes-devtools/python/files/0001-remove-pkg_resources-import.patch new file mode 100644 index 0000000000..6278d58fc1 --- /dev/null +++ b/meta-python/recipes-devtools/python/files/0001-remove-pkg_resources-import.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From d9152f0dc31b655654edcee6859b3e3a06ef4c98 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 3 | Date: Sun, 15 Mar 2026 21:16:54 +0100 | ||
| 4 | Subject: [PATCH] remove pkg_resources import | ||
| 5 | |||
| 6 | setutools 82 dropped pkf_resources module. Also, beside importing | ||
| 7 | it, it isn't used for anything. | ||
| 8 | |||
| 9 | Upstream has started to rework their setup config, and moved to | ||
| 10 | build_meta, however that's still in development, and there seem to | ||
| 11 | be no stable version yet. | ||
| 12 | |||
| 13 | Once there is a new version, most likely this patch can be dropped. | ||
| 14 | |||
| 15 | Upstream-Status: Inappropriate [see above] | ||
| 16 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 17 | --- | ||
| 18 | setup.py | 1 - | ||
| 19 | 1 file changed, 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/setup.py b/setup.py | ||
| 22 | index b655222..c2aff91 100644 | ||
| 23 | --- a/setup.py | ||
| 24 | +++ b/setup.py | ||
| 25 | @@ -8,7 +8,6 @@ XStatic - setup.py | ||
| 26 | import os | ||
| 27 | |||
| 28 | from setuptools import setup, find_packages | ||
| 29 | -import pkg_resources | ||
| 30 | |||
| 31 | # The README.txt file should be written in reST so that PyPI can use | ||
| 32 | # it to generate your project's PyPI page. | ||
diff --git a/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb b/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb index f4a75c9b6c..bf542aba5a 100644 --- a/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb | |||
| @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://README.txt;md5=1418684272f85f400cebf1b1a255c5cd" | |||
| 7 | PYPI_PACKAGE = "XStatic" | 7 | PYPI_PACKAGE = "XStatic" |
| 8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
| 9 | 9 | ||
| 10 | SRC_URI += "file://0001-remove-pkg_resources-import.patch" | ||
| 10 | SRC_URI[sha256sum] = "402544cc9e179489441054f09c807804e115ea246907de87c0355fb4f5a31268" | 11 | SRC_URI[sha256sum] = "402544cc9e179489441054f09c807804e115ea246907de87c0355fb4f5a31268" |
| 11 | 12 | ||
| 12 | DEPENDS += " \ | 13 | DEPENDS += " \ |
