summaryrefslogtreecommitdiff
path: root/dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-30 20:55:41 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-03-30 20:55:41 +0000
commit8261ffe818b257aff74988e5fbe099e35c0a57e1 (patch)
treec4f704ec7d3788394d16928b0e20a404b04ae3ee /dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch
parent2bf005c0193eaf54f7a72890ae78f69e2b68c387 (diff)
downloadbaldeagleos-repo-8261ffe818b257aff74988e5fbe099e35c0a57e1.tar.gz
baldeagleos-repo-8261ffe818b257aff74988e5fbe099e35c0a57e1.tar.xz
baldeagleos-repo-8261ffe818b257aff74988e5fbe099e35c0a57e1.zip
Adding metadata
Diffstat (limited to 'dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch')
-rw-r--r--dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch b/dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch
deleted file mode 100644
index fc7e55f6160e..000000000000
--- a/dev-python/python-ptrace/files/python-ptrace-0.9.8-python3_12.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Upstream: https://github.com/vstinner/python-ptrace/pull/81
-commit 80e0c97a84eccb8b82737cf40b9c5581c20c245f
-Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
-Date: Sat Sep 16 13:49:43 2023 +0200
-
- Remove deprecated `imp` module
-
---- a/setup.py
-+++ b/setup.py
-@@ -28,7 +28,7 @@
- # - git commit -a -m "post-release"
- # - git push
-
--from imp import load_source
-+import importlib.util
- from os import path
- try:
- # setuptools supports bdist_wheel
-@@ -55,7 +55,10 @@ CLASSIFIERS = [
- with open('README.rst') as fp:
- LONG_DESCRIPTION = fp.read()
-
--ptrace = load_source("version", path.join("ptrace", "version.py"))
-+ptrace_spec = importlib.util.spec_from_file_location("version", path.join("ptrace", "version.py"))
-+ptrace = importlib.util.module_from_spec(ptrace_spec)
-+ptrace_spec.loader.exec_module(ptrace)
-+
- PACKAGES = {}
- for name in MODULES:
- PACKAGES[name] = name.replace(".", "/")