From 97cfb35eb89661d99cda7a3727656595b3350c8d Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Fri, 10 Sep 2021 19:05:43 -0400 Subject: =?UTF-8?q?pythonPackages.debugpy:=201.4.2=20=E2=86=92=201.4.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../development/python-modules/debugpy/hardcode-version.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'pkgs/development/python-modules/debugpy/hardcode-version.patch') 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@", -- cgit v1.2.3