]> gitweb.michael.orlitzky.com - mjo-overlay.git/commitdiff
Add revbump net-analyzer/linkchecker-9.2-r1 to fix bug #513514.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 22 Oct 2014 01:00:39 +0000 (21:00 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 22 Oct 2014 01:00:39 +0000 (21:00 -0400)
net-analyzer/linkchecker/Manifest [new file with mode: 0644]
net-analyzer/linkchecker/files/linkchecker-9.2-unbundle.patch [new file with mode: 0644]
net-analyzer/linkchecker/linkchecker-9.2-r1.ebuild [new file with mode: 0644]
net-analyzer/linkchecker/metadata.xml [new file with mode: 0644]

diff --git a/net-analyzer/linkchecker/Manifest b/net-analyzer/linkchecker/Manifest
new file mode 100644 (file)
index 0000000..fab488b
--- /dev/null
@@ -0,0 +1,4 @@
+AUX linkchecker-9.2-unbundle.patch 840 SHA256 00e09db9076262acce8a6bc4171b78e972622ccb1b9e01d88cbeaed5f1871a0a SHA512 899db2f7567d7f101ca995d2b8b26dfaedb854a856902cb3fd2bda50f872e9bd345d10acf7b4687635541a8c5cc69050146c317c7f2875d8841f98d5d8b9d7d4 WHIRLPOOL 57050f5bb5b568364545492fb371927033dcd5ffe72315481739145314ced8cc4f8b36d828d23971377dc22cdc5c8ed18d717c1c518488bcdf1fe036d4fcf06a
+DIST LinkChecker-9.2.tar.gz 715452 SHA256 ba556cd1c172c2cbcb92fc3405d48f44fa56c3074ed3b7ead87f635ad54fb907 SHA512 41f500966abeec036ef692fd77bab5c487665de70728dddf909feea6f636e6bf62624b9200115dcb7ea8e7c3e06716953f2e855aa74992f8dde5c2d4dc553426 WHIRLPOOL 12a444475b6d478c9583e9ab42fc7cf812556c773ecb332664d65606ecb764bde2d60da06fd8e15e4c85b65ec4d3e31bb98c6c5b45babfb36429ce5c8a61ed9e
+EBUILD linkchecker-9.2-r1.ebuild 1754 SHA256 1e6c41f60c08ac83c862032436c8f38f76dcd5ff9020e397a363e9a074756dc4 SHA512 75750fb32f6015552d4cd8bcef40001fff220bbf5fba10fe106a91bea0b2f6d21f9af94ecb5c2af63af688a0e203236de5f2e0b992baaf1deaa3a4063ef1914a WHIRLPOOL 695a2b31eef43f5af6c6fedc84dc7338f02ee509c8f659998b75ea327b05b473ac584cf7d82a7c5c1bbe6c1d975a72588984693fb36a129e2fd1ffd8c3bfbfdf
+MISC metadata.xml 330 SHA256 87a79f535462af31b344bf9412758c22d8026475f32954ebd5da57be21e5b88a SHA512 487852f0310cb95eb394dac70cfff4dd93a13704a276d2fec6cb08014c685211b740d8a45dbb0967b3b2efeba3e8a95b6e620c70d8147e45e88a5c1e3e374134 WHIRLPOOL 9e09ec46ed56925a9f0c4cc5b9b4aa02a4512394d47d7db4d8eae6faed89e9706303816dd424176d777d4aad5c460fcb76f5017603e1a55a8d33d3a7ad51e2a5
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 (file)
index 0000000..598f856
--- /dev/null
@@ -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/linkchecker-9.2-r1.ebuild b/net-analyzer/linkchecker/linkchecker-9.2-r1.ebuild
new file mode 100644 (file)
index 0000000..7d9542d
--- /dev/null
@@ -0,0 +1,74 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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="bash-completion clamav geoip gnome login sqlite X"
+
+RDEPEND="
+       dev-python/dnspython[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
+       bash-completion? ( dev-python/argcomplete[${PYTHON_USEDEP}] )
+       clamav? ( app-antivirus/clamav )
+       geoip? ( dev-python/geoip-python[${PYTHON_USEDEP}] )
+       gnome? ( dev-python/pygtk:2[${PYTHON_USEDEP}] )
+       login? ( dev-python/twill[${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}"/${P}-unbundle.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
+       fi
+       dohtml doc/html/*
+       use bash-completion && dobashcomp config/linkchecker-completion
+}
diff --git a/net-analyzer/linkchecker/metadata.xml b/net-analyzer/linkchecker/metadata.xml
new file mode 100644 (file)
index 0000000..c7a04e9
--- /dev/null
@@ -0,0 +1,11 @@
+<?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>
+    <flag name="login">login form submission</flag>
+  </use>
+</pkgmetadata>