summaryrefslogtreecommitdiff
path: root/dev-util/devscripts/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/devscripts/files')
-rw-r--r--dev-util/devscripts/files/Remove-failing-tests.patch22
-rw-r--r--dev-util/devscripts/files/Replace-Debian-xsl-stylesheets-paths-with-Gentoos.patch42
-rw-r--r--dev-util/devscripts/files/distutils-r1.patch26
3 files changed, 90 insertions, 0 deletions
diff --git a/dev-util/devscripts/files/Remove-failing-tests.patch b/dev-util/devscripts/files/Remove-failing-tests.patch
new file mode 100644
index 000000000000..ed0726a905c2
--- /dev/null
+++ b/dev-util/devscripts/files/Remove-failing-tests.patch
@@ -0,0 +1,22 @@
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -3,14 +3,14 @@
+ perl \
+ annotate-output \
+ checkbashisms \
+- dd-list \
++ \
+ debchange \
+ debdiff \
+- debrepro \
++ \
+ debsign \
+ mergechanges \
+- mk-origtargz \
++ \
+- package_lifecycle \
++ \
+- sadt \
++ \
+ uscan \
+ uscan_ftp \
diff --git a/dev-util/devscripts/files/Replace-Debian-xsl-stylesheets-paths-with-Gentoos.patch b/dev-util/devscripts/files/Replace-Debian-xsl-stylesheets-paths-with-Gentoos.patch
new file mode 100644
index 000000000000..6b7294041800
--- /dev/null
+++ b/dev-util/devscripts/files/Replace-Debian-xsl-stylesheets-paths-with-Gentoos.patch
@@ -0,0 +1,42 @@
+--- a/po4a/Makefile
++++ b/po4a/Makefile
+@@ -34,8 +34,8 @@
+ pod2man --utf8 --center=" " --release="$(DESC_$(dir $@))" $< > $@
+ %.1:: %.dbk translate
+ xsltproc --nonet \
+- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
+- # /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/other.xsl
++ /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl $<
++ # /usr/share/sgml/docbook/xsl-stylesheets/manpages/other.xsl
+ # (which is imported by the above stylesheet) insists in writing the output
+ # to where it wants to. we can only move the file ourselves.
+ # ($* → de/deb-reversion.de)
+--- a/scripts/deb-reversion.dbk
++++ b/scripts/deb-reversion.dbk
+@@ -5,13 +5,13 @@
+ <!--
+
+ Process this file with an XSLT processor: `xsltproc \
+--''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
++-''-nonet /usr/share/sgml/docbook/xsl-stylesheets/\
+ manpages/docbook.xsl manpage.dbk'. A manual page
+ <package>.<section> will be generated. You may view the
+ manual page with: nroff -man <package>.<section> | less'. A
+ typical entry in a Makefile or Makefile.am is:
+
+-DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
++DB2MAN=/usr/share/sgml/docbook/xsl-stylesheets/\
+ manpages/docbook.xsl
+ XP=xsltproc -''-nonet
+
+--- a/scripts/Makefile
++++ b/scripts/Makefile
+@@ -87,7 +87,7 @@
+ pod2man --utf8 --center=" " --release="Debian Utilities" $< > $@
+ %.1: %.dbk
+ xsltproc --nonet -o $@ \
+- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
++ /usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl $<
+
+ # Syntax checker
+ test_sh: $(SH_CHECKS)
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)