diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/linkchecker | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/linkchecker')
12 files changed, 393 insertions, 0 deletions
diff --git a/net-analyzer/linkchecker/Manifest b/net-analyzer/linkchecker/Manifest new file mode 100644 index 000000000000..05bbc69fa0d3 --- /dev/null +++ b/net-analyzer/linkchecker/Manifest @@ -0,0 +1 @@ +DIST LinkChecker-9.3.tar.gz 719896 SHA256 ee0aa60de440fdcf8587ddebf1f691bc777a32d8d4f119beed63f405dc56176d SHA512 26686e5373aaa942b631b5184f8bda8fbe1410c8875bf8499a2b61dc18b7bdfa29a3c18edf98c28dc189a493a3f5794a0020a0211b7d5d3814b33994603dcc59 WHIRLPOOL 6b0b41d3edacafba6ae5df5b0f4ccf1fb5877c938acdd2d66c443bf10c43fcc9213f08cfff212a1a259d9f767138cd04fc1c481db1594d426784b0ce5702ee5f diff --git a/net-analyzer/linkchecker/files/7.0-unbundle.patch b/net-analyzer/linkchecker/files/7.0-unbundle.patch new file mode 100644 index 000000000000..74b9d11c26e9 --- /dev/null +++ b/net-analyzer/linkchecker/files/7.0-unbundle.patch @@ -0,0 +1,28 @@ + setup.py | 7 ------- + 1 files changed, 0 insertions(+), 7 deletions(-) + +diff --git a/setup.py b/setup.py +index 8eace2a..e6aaf68 100644 +--- a/setup.py ++++ b/setup.py +@@ -754,9 +754,6 @@ o a (Fast)CGI web interface (requires HTTP server) + 'py2app': MyPy2app, + 'register': MyRegister, + }, +- package_dir = { +- 'dns': 'third_party/dnspython/dns', +- }, + packages = [ + 'linkcheck', + 'linkcheck.bookmarks', +@@ -769,10 +766,6 @@ o a (Fast)CGI web interface (requires HTTP server) + 'linkcheck.HtmlParser', + 'linkcheck.logger', + 'linkcheck.network', +- 'dns', +- 'dns.rdtypes', +- 'dns.rdtypes.ANY', +- 'dns.rdtypes.IN', + ], + ext_modules = [ + Extension('linkcheck.HtmlParser.htmlsax', diff --git a/net-analyzer/linkchecker/files/7.4-missing-files.patch b/net-analyzer/linkchecker/files/7.4-missing-files.patch new file mode 100644 index 000000000000..cb8e44ad5919 --- /dev/null +++ b/net-analyzer/linkchecker/files/7.4-missing-files.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index 38b4c15..716203d 100755 +--- a/setup.py ++++ b/setup.py +@@ -375,7 +375,7 @@ myemail = "calvin@users.sourceforge.net" + data_files = [ + ('share/linkchecker', + ['config/linkcheckerrc', +- 'doc/html/lccollection.qhc', 'doc/html/lcdoc.qch']), ++ 'doc/html/lccollection.qhcp', 'doc/html/lcdoc.qhp']), + ('share/linkchecker/examples', + ['cgi-bin/lconline/leer.html.en', + 'cgi-bin/lconline/leer.html.de', diff --git a/net-analyzer/linkchecker/files/linkchecker-8.0-desktop.patch b/net-analyzer/linkchecker/files/linkchecker-8.0-desktop.patch new file mode 100644 index 000000000000..dc07637e0fac --- /dev/null +++ b/net-analyzer/linkchecker/files/linkchecker-8.0-desktop.patch @@ -0,0 +1,28 @@ + doc/linkchecker-gui.desktop | 2 +- + doc/linkchecker.desktop | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/doc/linkchecker-gui.desktop b/doc/linkchecker-gui.desktop +index 7e06b6e..1b3988f 100644 +--- a/doc/linkchecker-gui.desktop ++++ b/doc/linkchecker-gui.desktop +@@ -6,5 +6,5 @@ Version=1.0 + Type=Application + Exec=linkchecker-gui + Terminal=false +-Categories=Network;WebDevelopment ++Categories=Network;WebDevelopment; + Icon=logo48x48 +diff --git a/doc/linkchecker.desktop b/doc/linkchecker.desktop +index 0c0617c..7a88405 100644 +--- a/doc/linkchecker.desktop ++++ b/doc/linkchecker.desktop +@@ -5,6 +5,6 @@ GenericName[de]=URL Validator + Version=1.0 + Type=Application + Exec=linkchecker +-Terminal=True +-Categories=Network;WebDevelopment ++Terminal=true ++Categories=Network;WebDevelopment; + Icon=logo48x48 diff --git a/net-analyzer/linkchecker/files/linkchecker-8.3-unbundle.patch b/net-analyzer/linkchecker/files/linkchecker-8.3-unbundle.patch new file mode 100644 index 000000000000..558bb2710d96 --- /dev/null +++ b/net-analyzer/linkchecker/files/linkchecker-8.3-unbundle.patch @@ -0,0 +1,28 @@ + setup.py | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/setup.py b/setup.py +index 36c2536..99fdf08 100644 +--- a/setup.py ++++ b/setup.py +@@ -898,9 +898,6 @@ o a command line, GUI and web interface + 'py2app': MyPy2app, + 'register': MyRegister, + }, +- package_dir = { +- 'linkcheck_dns.dns': 'third_party/dnspython/dns', +- }, + packages = [ + 'linkcheck', + 'linkcheck.bookmarks', +@@ -913,10 +910,6 @@ o a command line, GUI and web interface + 'linkcheck.HtmlParser', + 'linkcheck.logger', + 'linkcheck.network', +- '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-8.4-help.patch b/net-analyzer/linkchecker/files/linkchecker-8.4-help.patch new file mode 100644 index 000000000000..32360b6ea89e --- /dev/null +++ b/net-analyzer/linkchecker/files/linkchecker-8.4-help.patch @@ -0,0 +1,36 @@ +From a7c1cdd6f69a1b91a95361359e49494b4ed88701 Mon Sep 17 00:00:00 2001 +From: Bastian Kleineidam <bastian.kleineidam@web.de> +Date: Tue, 10 Dec 2013 20:56:26 +0100 +Subject: [PATCH] Check for help files. + +--- + linkcheck/configuration/__init__.py | 6 ++++-- + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/linkcheck/configuration/__init__.py b/linkcheck/configuration/__init__.py +index 3b72499..f40f285 100644 +--- a/linkcheck/configuration/__init__.py ++++ b/linkcheck/configuration/__init__.py +@@ -96,7 +96,8 @@ def get_share_file (devel_dir, filename): + @param filename: filename to search for + @ptype filename: string + @return: the found filename or None +- @rtype: string or None ++ @rtype: string ++ @raises: ValueError if not found + """ + paths = [ + # when developing +@@ -112,7 +113,8 @@ def get_share_file (devel_dir, filename): + if os.path.isfile(fullpath): + return fullpath + # not found +- return None ++ msg = "%s not found in %s; check your installation" % (filename, paths) ++ raise ValueError(msg) + + + # dynamic options +-- +1.8.5.1 + 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/linkchecker-9.3-r1.ebuild b/net-analyzer/linkchecker/linkchecker-9.3-r1.ebuild new file mode 100644 index 000000000000..8175b8f16e7f --- /dev/null +++ b/net-analyzer/linkchecker/linkchecker-9.3-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite?" + +inherit bash-completion-r1 distutils-r1 eutils multilib + +MY_PN="${PN/linkchecker/LinkChecker}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Check websites for broken links" +HOMEPAGE="http://wummel.github.com/linkchecker/ http://pypi.python.org/pypi/linkchecker/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~ppc-macos ~x64-solaris" +IUSE="gnome sqlite X" + +RDEPEND=" + dev-python/dnspython[${PYTHON_USEDEP}] + >=dev-python/requests-2.2.1[${PYTHON_USEDEP}] + gnome? ( dev-python/pygtk:2[${PYTHON_USEDEP}] ) + X? ( + dev-python/PyQt4[X,help,${PYTHON_USEDEP}] + dev-python/qscintilla-python[${PYTHON_USEDEP}] + )" +DEPEND=" + X? ( + dev-qt/qthelp:4 + dev-python/markdown2[${PYTHON_USEDEP}] + )" + +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}"/${PN}-9.2-unbundle.patch + "${FILESDIR}"/${P}-bash-completion.patch + "${FILESDIR}"/${P}-desktop.patch + ) + + emake -C doc/html + + distutils-r1_python_prepare_all +} + +python_install_all() { + DOCS=( + doc/upgrading.txt + doc/python3.txt + doc/changelog.txt + doc/development.txt + ) + distutils-r1_python_install_all + if ! use X; then + delete_gui() { + rm -rf \ + "${ED}"/usr/bin/linkchecker-gui* \ + "${ED}"/$(python_get_sitedir)/linkcheck/gui* || die + } + python_foreach_impl delete_gui + rm -f "${ED}"/usr/share/applications/linkchecker*.desktop || die + fi + + rm -f "${ED}"/usr/share/applications/linkchecker.desktop || die + + newicon doc/html/logo64x64.png ${PN}.png + + docinto html + dodoc doc/html/* + newbashcomp config/linkchecker-completion ${PN} + optfeature "bash-completion support" dev-python/argcomplete[${PYTHON_USEDEP}] + optfeature "Virus scanning" app-antivirus/clamav + optfeature "Geo IP support" dev-python/geoip-python[${PYTHON_USEDEP}] +} diff --git a/net-analyzer/linkchecker/linkchecker-9999.ebuild b/net-analyzer/linkchecker/linkchecker-9999.ebuild new file mode 100644 index 000000000000..21e344faf6c0 --- /dev/null +++ b/net-analyzer/linkchecker/linkchecker-9999.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite?" + +inherit bash-completion-r1 distutils-r1 eutils git-r3 multilib + +MY_P="${P/linkchecker/LinkChecker}" + +DESCRIPTION="Check websites for broken links" +HOMEPAGE="http://wummel.github.com/linkchecker/ http://pypi.python.org/pypi/linkchecker/" +SRC_URI="" +EGIT_REPO_URI="https://github.com/wummel/linkchecker.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="gnome sqlite X" + +RDEPEND=" + dev-python/dnspython[${PYTHON_USEDEP}] + gnome? ( dev-python/pygtk:2[${PYTHON_USEDEP}] ) + X? ( + dev-python/PyQt4[X,help,${PYTHON_USEDEP}] + dev-python/qscintilla-python[${PYTHON_USEDEP}] + )" +DEPEND=" + X? ( + dev-qt/qthelp:4 + dev-python/markdown2[${PYTHON_USEDEP}] + )" + +RESTRICT="test" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}"/${PN}-9.2-unbundle.patch + "${FILESDIR}"/${PN}-9.3-bash-completion.patch + "${FILESDIR}"/${PN}-9.3-desktop.patch + ) + + emake -C doc/html + + distutils-r1_python_prepare_all +} + +python_install_all() { + DOCS=( + doc/upgrading.txt + doc/python3.txt + doc/changelog.txt + doc/development.txt + ) + distutils-r1_python_install_all + if ! use X; then + delete_gui() { + rm -rf \ + "${ED}"/usr/bin/linkchecker-gui* \ + "${ED}"/$(python_get_sitedir)/linkcheck/gui* || die + } + python_foreach_impl delete_gui + rm -f "${ED}"/usr/share/applications/linkchecker*.desktop || die + fi + + rm -f "${ED}"/usr/share/applications/linkchecker.desktop || die + + newicon doc/html/logo64x64.png ${PN}.png + + docinto html + dodoc doc/html/* + newbashcomp config/linkchecker-completion ${PN} + optfeature "bash-completion support" dev-python/argcomplete[${PYTHON_USEDEP}] + optfeature "Virus scanning" app-antivirus/clamav + optfeature "Geo IP support" dev-python/geoip-python[${PYTHON_USEDEP}] +} diff --git a/net-analyzer/linkchecker/metadata.xml b/net-analyzer/linkchecker/metadata.xml new file mode 100644 index 000000000000..9d0f406a3831 --- /dev/null +++ b/net-analyzer/linkchecker/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> + <use> + <flag name="sqlite">Mozilla Bookmark parsing</flag> + </use> + <upstream> + <remote-id type="pypi">LinkChecker</remote-id> + </upstream> +</pkgmetadata> |