diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/linkchecker/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/linkchecker/files')
4 files changed, 119 insertions, 0 deletions
diff --git a/net-analyzer/linkchecker/files/linkchecker-9.2-unbundle.patch b/net-analyzer/linkchecker/files/linkchecker-9.2-unbundle.patch new file mode 100644 index 000000000000..598f856b0007 --- /dev/null +++ b/net-analyzer/linkchecker/files/linkchecker-9.2-unbundle.patch @@ -0,0 +1,30 @@ + setup.py | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/setup.py b/setup.py +old mode 100755 +new mode 100644 +index dc30a7d..d62622b +--- a/setup.py ++++ b/setup.py +@@ -900,9 +900,6 @@ o a command line, GUI and web interface + 'py2exe': MyPy2exe, + 'py2app': MyPy2app, + }, +- package_dir = { +- 'linkcheck_dns.dns': 'third_party/dnspython/dns', +- }, + packages = [ + 'linkcheck', + 'linkcheck.bookmarks', +@@ -917,10 +914,6 @@ o a command line, GUI and web interface + 'linkcheck.network', + 'linkcheck.parser', + 'linkcheck.plugins', +- 'linkcheck_dns.dns', +- 'linkcheck_dns.dns.rdtypes', +- 'linkcheck_dns.dns.rdtypes.ANY', +- 'linkcheck_dns.dns.rdtypes.IN', + ], + ext_modules = [ + Extension('linkcheck.HtmlParser.htmlsax', diff --git a/net-analyzer/linkchecker/files/linkchecker-9.3-bash-completion.patch b/net-analyzer/linkchecker/files/linkchecker-9.3-bash-completion.patch new file mode 100644 index 000000000000..5c7540f0bc85 --- /dev/null +++ b/net-analyzer/linkchecker/files/linkchecker-9.3-bash-completion.patch @@ -0,0 +1,21 @@ + config/linkchecker-completion | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/config/linkchecker-completion b/config/linkchecker-completion +index 5252b3b..0ea3b21 100644 +--- a/config/linkchecker-completion ++++ b/config/linkchecker-completion +@@ -2,7 +2,6 @@ + # Debian Linux system. For other system read the documentation that + # comes with the bash-completion package. + +-have linkchecker && + _linkcheck() { + local cur prev + +@@ -17,4 +16,4 @@ _linkcheck() { + fi + return 0 + } +-[ "$have" ] && complete $filenames -F _linkcheck linkchecker ++complete $filenames -F _linkcheck linkchecker diff --git a/net-analyzer/linkchecker/files/linkchecker-9.3-desktop.patch b/net-analyzer/linkchecker/files/linkchecker-9.3-desktop.patch new file mode 100644 index 000000000000..40fa18a45983 --- /dev/null +++ b/net-analyzer/linkchecker/files/linkchecker-9.3-desktop.patch @@ -0,0 +1,34 @@ +From c25bdb3f55a791bfa087fb5a3d8e3d5d62991745 Mon Sep 17 00:00:00 2001 +From: Christopher Meng <cickumqt@gmail.com> +Date: Fri, 10 Jan 2014 19:57:47 +0800 +Subject: [PATCH] Fix non-standard deskop file + +desktop-file-validate /home/rpmaker/rpmbuild/BUILDROOT/linkchecker-8.6-1.fc21.i386/usr/share/applications/linkchecker-gui.desktop /home/rpmaker/rpmbuild/BUILDROOT/linkchecker-8.6-1.fc21.i386/usr/share/applications/linkchecker.desktop +/home/rpmaker/rpmbuild/BUILDROOT/linkchecker-8.6-1.fc21.i386/usr/share/applications/linkchecker-gui.desktop: error: value "Network;WebDevelopment" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character +/home/rpmaker/rpmbuild/BUILDROOT/linkchecker-8.6-1.fc21.i386/usr/share/applications/linkchecker.desktop: error: value "True" for boolean key "Terminal" in group "Desktop Entry" contains invalid characters, boolean values must be "false" or "true" +/home/rpmaker/rpmbuild/BUILDROOT/linkchecker-8.6-1.fc21.i386/usr/share/applications/linkchecker.desktop: error: value "Network;WebDevelopment" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character +--- + doc/linkchecker-gui.desktop | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/doc/linkchecker-gui.desktop b/doc/linkchecker-gui.desktop +index 7e06b6e..09bd997 100644 +--- a/doc/linkchecker-gui.desktop ++++ b/doc/linkchecker-gui.desktop +@@ -1,10 +1,10 @@ + [Desktop Entry] +-Name=LinkChecker GUI ++Name=LinkChecker GUI + GenericName=URL validator + GenericName[de]=URL Validator + Version=1.0 + Type=Application + Exec=linkchecker-gui + Terminal=false +-Categories=Network;WebDevelopment; +-Icon=logo48x48 ++Categories=Network;WebDevelopment; ++Icon=linkchecker +-- +1.8.5.1 + diff --git a/net-analyzer/linkchecker/files/linkchecker-9.3-requests-check.patch b/net-analyzer/linkchecker/files/linkchecker-9.3-requests-check.patch new file mode 100644 index 000000000000..905b7f718414 --- /dev/null +++ b/net-analyzer/linkchecker/files/linkchecker-9.3-requests-check.patch @@ -0,0 +1,34 @@ +From c2ce810c3fb00b895a841a7be6b2e78c64e7b042 Mon Sep 17 00:00:00 2001 +From: Bastian Kleineidam <bastian.kleineidam@web.de> +Date: Tue, 28 Jun 2016 21:55:10 +0200 +Subject: [PATCH] Fix python requests version check + +--- + linkcheck/__init__.py | 13 ++++++++++--- + 1 file changed, 10 insertions(+), 3 deletions(-) + +diff --git a/linkcheck/__init__.py b/linkcheck/__init__.py +index 22a0cf5..1cec214 100644 +--- a/linkcheck/__init__.py ++++ b/linkcheck/__init__.py +@@ -24,10 +24,17 @@ + # Needs Python >= 2.7.2 which fixed http://bugs.python.org/issue11467 + if not (hasattr(sys, 'version_info') or + sys.version_info < (2, 7, 2, 'final', 0)): +- raise SystemExit("This program requires Python 2.7.2 or later.") ++ import platform ++ version = platform.python_version() ++ raise SystemExit("This program requires Python 2.7.2 or later instead of %s." % version) ++# require a reasonably recent requests module: 2.4.0 from 2014-08-29 + import requests +-if requests.__version__ <= '2.2.0': +- raise SystemExit("This program requires Python requests 2.2.0 or later.") ++# PEP 396 has only version strings, bummer! PEP 386 is also not helpful. ++requests_version = requests.__version__.split('.') ++# Depends on the version scheme of Python requests ++if int(requests_version[0]) < 2 or \ ++ (int(requests_version[0]) == 2 and int(requests_version[1]) < 4): ++ raise SystemExit("This program requires Python requests 2.4.0 or later instead of %s." % requests.__version__) + + import os + # add the custom linkcheck_dns directory to sys.path |