summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/debugpy/hardcode-version.patch
diff options
context:
space:
mode:
authorjunji hashimoto <junjihashimoto@users.noreply.github.com>2021-09-14 13:40:26 +0900
committerGitHub <noreply@github.com>2021-09-14 13:40:26 +0900
commitb9b70a121710b3bf1c964c4411ccc3916416c421 (patch)
tree15d02b0a4ff8be0fdd3466fc5306db64349ef4ff /pkgs/development/python-modules/debugpy/hardcode-version.patch
parent34e940938de9fdb0c8993841fe7a90f868b12bae (diff)
parentf6ffb3d8191dda4ca6406379ebef94c7af6aed4c (diff)
Merge branch 'master' into feature/bump-torchvision
Diffstat (limited to 'pkgs/development/python-modules/debugpy/hardcode-version.patch')
-rw-r--r--pkgs/development/python-modules/debugpy/hardcode-version.patch22
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/debugpy/hardcode-version.patch b/pkgs/development/python-modules/debugpy/hardcode-version.patch
index 2879716f704d..7d3fd5abfc2d 100644
--- a/pkgs/development/python-modules/debugpy/hardcode-version.patch
+++ b/pkgs/development/python-modules/debugpy/hardcode-version.patch
@@ -1,27 +1,25 @@
diff --git a/setup.py b/setup.py
-index cfec60d..32ca206 100644
+index e7487100..10d36520 100644
--- a/setup.py
+++ b/setup.py
-@@ -24,7 +24,6 @@ elif "--abi" in sys.argv:
- from setuptools import setup # noqa
+@@ -12,7 +12,6 @@ import sys
+
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
-import versioneer # noqa
del sys.path[0]
-@@ -86,7 +85,7 @@ if __name__ == "__main__":
- if not os.getenv("SKIP_CYTHON_BUILD"):
- cython_build()
+@@ -141,13 +140,13 @@ if __name__ == "__main__":
+ if platforms is not None:
+ extras["platforms"] = platforms
- cmds = versioneer.get_cmdclass()
+ cmds = {}
- cmds["bdist_wheel"] = bdist_wheel
-
- extras = {}
-@@ -96,7 +95,7 @@ if __name__ == "__main__":
+ override_build(cmds)
+ override_build_py(cmds)
- setup(
+ setuptools.setup(
name="debugpy",
- version=versioneer.get_version(),
+ version="@version@",
@@ -29,7 +27,7 @@ index cfec60d..32ca206 100644
long_description=long_description,
long_description_content_type="text/markdown",
diff --git a/src/debugpy/__init__.py b/src/debugpy/__init__.py
-index baa5a7c..5355327 100644
+index baa5a7c5..53553272 100644
--- a/src/debugpy/__init__.py
+++ b/src/debugpy/__init__.py
@@ -27,7 +27,6 @@ __all__ = [