Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/web In directory vz-cvs-3.sog:/tmp/cvs-serv20426
Added Files: linkchecker.info linkchecker.patch Log Message: bring updated linkchecker 8.0 over from 10.4 --- NEW FILE: linkchecker.patch --- diff -Nurd -x'*~' LinkChecker-8.0.orig/linkcheck/__init__.py LinkChecker-8.0/linkcheck/__init__.py --- LinkChecker-8.0.orig/linkcheck/__init__.py 2012-08-11 15:19:17.000000000 -0400 +++ LinkChecker-8.0/linkcheck/__init__.py 2012-09-20 09:17:22.000000000 -0400 @@ -173,9 +173,9 @@ def find_third_party_modules (): """Find third party modules and add them to the python path.""" - parent = os.path.dirname(os.path.dirname(__file__)) + parent = os.path.dirname(__file__) third_party = os.path.join(parent, "third_party") if os.path.isdir(third_party): - sys.path.append(os.path.join(third_party, "dnspython")) + sys.path.insert(0,os.path.join(third_party, "dnspython")) find_third_party_modules() diff -Nurd -x'*~' LinkChecker-8.0.orig/linkchecker-gui LinkChecker-8.0/linkchecker-gui --- LinkChecker-8.0.orig/linkchecker-gui 2012-08-26 03:55:52.000000000 -0400 +++ LinkChecker-8.0/linkchecker-gui 2012-09-20 10:29:48.000000000 -0400 @@ -26,7 +26,14 @@ import os from linkcheck import get_install_data sys.path.append(os.path.join(get_install_data(), 'Microsoft.VC90.CRT')) -from PyQt4.QtGui import QApplication +sys.path.insert(1,'@PREFIX@/lib/qt4-x11/lib/python2.7/site-packages/') +try: + from PyQt4.QtGui import QApplication +except ImportError: + # warn of likely cause, but also display actual error message + print "To use this program, you must install fink's 'pyqt4-py27' package\n" + from PyQt4.QtGui import QApplication + exit(1) from linkcheck.fileutil import is_readable from linkcheck.gui import LinkCheckerMain, get_app_style from linkcheck.gui.projects import ProjectExt diff -Nurd -x'*~' LinkChecker-8.0.orig/setup.py LinkChecker-8.0/setup.py --- LinkChecker-8.0.orig/setup.py 2012-06-29 03:50:06.000000000 -0400 +++ LinkChecker-8.0/setup.py 2012-09-20 09:51:52.000000000 -0400 @@ -868,9 +868,6 @@ 'py2app': MyPy2app, 'register': MyRegister, }, - package_dir = { - 'dns': 'third_party/dnspython/dns', - }, packages = [ 'linkcheck', 'linkcheck.bookmarks', @@ -883,10 +880,11 @@ 'linkcheck.HtmlParser', 'linkcheck.logger', 'linkcheck.network', - 'dns', - 'dns.rdtypes', - 'dns.rdtypes.ANY', - 'dns.rdtypes.IN', + 'linkcheck.third_party.dnspython.dns', + 'linkcheck.third_party.dnspython.dns.rdtypes', + 'linkcheck.third_party.dnspython.dns.rdtypes.ANY', + 'linkcheck.third_party.dnspython.dns.rdtypes.IN', + 'linkcheck.third_party.dnspython.tests', ], ext_modules = [ Extension('linkcheck.HtmlParser.htmlsax', --- NEW FILE: linkchecker.info --- Package: linkchecker Version: 8.0 Revision: 1 Description: Check websites and HTML docs for broken links License: GPL Maintainer: None <fink-de...@lists.sourceforge.net> # Dependencies: BuildDepends: fink (>= 0.32) Depends: << geoip-py27, python27 (>= 2.7.2-1) << #cssutils-py27 -- fails its selftests #optcomplete Python module from http://furius.ca/optcomplete/ -- not in fink #HTML tidy from http://utidylib.berlios.de/ -- not in fink Recommends: << pyqt4-py27 << # Unpack Phase: Source: mirror:sourceforge:%n/%v/LinkChecker-%v.tar.xz Source-MD5: 8992bdb120b775b8f5ab8d4c177ac173 # Patch Phase: PatchFile: %n.patch PatchFile-MD5: b81f877b96eafdf121e38f7e8528b19a PatchScript: << sed 's,@PREFIX@,%p,g' < %{PatchFile} | patch -p1 # setup.py automatically fixes #! line of bin/* scripts perl -pi.bak -e 's;#!/usr/bin/python;#!%p/bin/python2.7;' cgi-bin/*.wsgi mv third_party linkcheck perl -pi -e 's,third_party,linkcheck/third_party,' MANIFEST MANIFEST.in << # Compile Phase: CompileScript: %p/bin/python2.7 setup.py build # Install Phase: InstallScript: << %p/bin/python2.7 setup.py install --root=%d << DocFiles: << COPYING readme.txt doc/changelog.txt doc/install.txt doc/upgrading.txt linkcheck/third_party/dnspython/changelog.txt:changelog.txt.dnspython << ConfFiles: %p/share/%n/linkcheckerrc # Additional Info DescDetail: << Linkchecker features: * recursive and multithreaded checking and site crawling * output in colored or normal text, HTML, SQL, CSV, XML or a sitemap graph in different formats * HTTP/1.1, HTTPS, FTP, mailto:, news:, nntp:, Telnet and local file links support * restriction of link checking with regular expression filters for URLs * proxy support * username/password authorization for HTTP and FTP and Telnet * honors robots.txt exclusion protocol * Cookie support * HTML5 support * HTML and CSS syntax check * Antivirus check * Different interfaces: command line, GUI and web interface << DescPackaging: << Previous versions by Ben Hines <bhi...@alumni.ucsd.edu>, Christian Schaffner <chri...@users.sourceforge.net>. Includes a specially patched version of dnspython. Bury it in linkcheck's own module-hierarchy to avoid colliding with the actual dnspython module (and update search-path games to find it--prepend hacked location so it takes precedence over others). << DescUsage: << The command-line program is "linkchecker". The gui program is "linkchecker-gui", and requires that you install the fink "pyqt4-py27" package. << Homepage: http://linkchecker.sourceforge.net/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs