summaryrefslogtreecommitdiff
path: root/dev-util/devscripts/files/distutils-r1.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-12 21:03:09 +0000
commitd97953e6ff67978da9554e7b4601aedceb21e215 (patch)
tree674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-util/devscripts/files/distutils-r1.patch
parent1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff)
downloadsrcux-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz
srcux-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz
srcux-d97953e6ff67978da9554e7b4601aedceb21e215.zip
Adding metadata
Diffstat (limited to 'dev-util/devscripts/files/distutils-r1.patch')
-rw-r--r--dev-util/devscripts/files/distutils-r1.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/devscripts/files/distutils-r1.patch b/dev-util/devscripts/files/distutils-r1.patch
new file mode 100644
index 000000000000..7b6b526f0bb3
--- /dev/null
+++ b/dev-util/devscripts/files/distutils-r1.patch
@@ -0,0 +1,26 @@
+--- a/scripts/Makefile
++++ b/scripts/Makefile
+@@ -99,7 +99,6 @@
+ perl -I ../lib -c $<; \
+
+ test_py: $(VERSION_FILE)
+- $(foreach python,$(shell py3versions -r ../debian/control),$(python) setup.py test$(\n))
+
+ debbisect.1: debbisect
+ help2man \
+@@ -131,7 +130,6 @@
+ cp $< $@
+
+ clean:
+- python3 setup.py clean -a
+ find -name '*.pyc' -delete
+ find -name __pycache__ -delete
+ rm -rf devscripts.egg-info $(BC_BUILD_DIR) .pylint.d
+@@ -142,7 +140,6 @@
+ test: test_pl test_sh test_py
+
+ install: all
+- python3 setup.py install --root="$(DESTDIR)" --no-compile --install-layout=deb
+ cp $(SCRIPTS) $(DESTDIR)$(BINDIR)
+ ln -sf edit-patch $(DESTDIR)$(BINDIR)/add-patch
+ install -d $(DESTDIR)$(COMPL_DIR)