Debian Codegraph @

debian/patches/0006-Remove-vendor-deps-target-call.patch

raw
1 From: Emmanuel Arias <[email protected]>
2 Date: Sat, 3 Feb 2024 17:48:35 -0300
3 Subject: Remove vendor-deps target call
4
5 d/watch point to pypy.debian.net so, it already have the vendor
6 dependency include in the upstream source code. As does not exists any
7 RFP for this vendors, I do not consider necessary include in Debian for
8 the moment.
9 ---
10 GNUmakefile | 6 +++---
11 setup.py | 3 ++-
12 2 files changed, 5 insertions(+), 4 deletions(-)
13
14 diff --git a/GNUmakefile b/GNUmakefile
15 index a03cd90..6566e83 100644
16 --- a/GNUmakefile
17 +++ b/GNUmakefile
18 @@ -43,7 +43,7 @@ OUTDIR=scalene
19
20 all: $(OUTDIR)/$(LIBFILE)
21
22 -$(OUTDIR)/$(LIBFILE): vendor-deps $(SRC) $(C_SOURCES) GNUmakefile
23 +$(OUTDIR)/$(LIBFILE): $(SRC) $(C_SOURCES) GNUmakefile
24 $(CXX) $(SCALENECXXFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(INCLUDES) $(SRC) -o $(OUTDIR)/$(LIBFILE) -ldl -lpthread
25
26 clean:
27 @@ -81,7 +81,7 @@ black:
28 prettier:
29 -npx prettier -w $(JS_SOURCES)
30
31 -bdist: vendor-deps
32 +bdist:
33 $(PYTHON) -m build --wheel
34 ifeq ($(shell uname -s),Linux)
35 auditwheel repair dist/*.whl
36 @@ -89,7 +89,7 @@ ifeq ($(shell uname -s),Linux)
37 mv wheelhouse/*.whl dist/
38 endif
39
40 -sdist: vendor-deps
41 +sdist:
42 $(PYTHON) -m build --sdist
43
44 upload: sdist bdist # to pypi
45 diff --git a/setup.py b/setup.py
46 index f99039f..c2fe5b9 100755
47 --- a/setup.py
48 +++ b/setup.py
49 @@ -86,7 +86,8 @@ class EggInfoCommand(setuptools.command.egg_info.egg_info):
50
51 def run(self):
52 if sys.platform != "win32":
53 - self.spawn([make_command(), "vendor-deps"])
54 + # self.spawn([make_command(), "vendor-deps"])
55 + pass
56 super().run()
57
58