diff options
Diffstat (limited to 'pkgs/development/python-modules/debugpy/hardcode-version.patch')
| -rw-r--r-- | pkgs/development/python-modules/debugpy/hardcode-version.patch | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/debugpy/hardcode-version.patch b/pkgs/development/python-modules/debugpy/hardcode-version.patch index 33f56a64f7ef..7d3fd5abfc2d 100644 --- a/pkgs/development/python-modules/debugpy/hardcode-version.patch +++ b/pkgs/development/python-modules/debugpy/hardcode-version.patch @@ -1,8 +1,8 @@ diff --git a/setup.py b/setup.py -index ee5bbba9..0b7b9b45 100644 +index e7487100..10d36520 100644 --- a/setup.py +++ b/setup.py -@@ -15,7 +15,6 @@ from distutils.command.build_py import build_py as _build_py +@@ -12,7 +12,6 @@ import sys sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) @@ -10,15 +10,16 @@ index ee5bbba9..0b7b9b45 100644 del sys.path[0] -@@ -129,12 +128,12 @@ if __name__ == "__main__": +@@ -141,13 +140,13 @@ if __name__ == "__main__": if platforms is not None: extras["platforms"] = platforms - cmds = versioneer.get_cmdclass() + cmds = {} - cmds.update(build=build, build_py=build_py) + override_build(cmds) + override_build_py(cmds) - setup( + setuptools.setup( name="debugpy", - version=versioneer.get_version(), + version="@version@", |
