Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/web
In directory vz-cvs-3.sog:/tmp/cvs-serv20393/stable/main/finkinfo/web

Modified Files:
        linkchecker.info 
Added Files:
        linkchecker.patch 
Log Message:
latest linkchecker to stable


--- NEW FILE: linkchecker.patch ---
diff -Nurd -x'*~' LinkChecker-7.0.orig/linkcheck/__init__.py 
LinkChecker-7.0/linkcheck/__init__.py
--- LinkChecker-7.0.orig/linkcheck/__init__.py  2011-05-28 01:54:11.000000000 
-0400
+++ LinkChecker-7.0/linkcheck/__init__.py       2011-07-29 00:47:33.000000000 
-0400
@@ -151,9 +151,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-7.0.orig/setup.py LinkChecker-7.0/setup.py
--- LinkChecker-7.0.orig/setup.py       2011-05-28 01:54:11.000000000 -0400
+++ LinkChecker-7.0/setup.py    2011-07-29 00:46:52.000000000 -0400
@@ -754,9 +754,6 @@
         'py2app': MyPy2app,
         'register': MyRegister,
     },
-    package_dir = {
-        'dns': 'third_party/dnspython/dns',
-    },
     packages = [
         'linkcheck',
         'linkcheck.bookmarks',
@@ -769,10 +766,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',

Index: linkchecker.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/web/linkchecker.info,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- linkchecker.info    6 Nov 2010 17:26:18 -0000       1.9
+++ linkchecker.info    21 Jan 2012 22:54:23 -0000      1.10
@@ -1,25 +1,33 @@
 Package: linkchecker
-Version: 5.2
+Version: 7.0
 Revision: 2
 Description: Check websites and HTML docs for broken links
 License: GPL
 Maintainer: None <[email protected]>
 
 # Dependencies:
-Depends: python26, python-dns-py26
+BuildDepends: fink (>= 0.24.12)
+Depends: python26
 
 # Unpack Phase:
-Source: mirror:sourceforge:%n/%v/LinkChecker-%v.tar.gz
-Source-MD5: 671e80434e24aaead5352ed62cb45142
+Source: mirror:sourceforge:%n/%v/LinkChecker-%v.tar.bz2
+Source-MD5: 5823a7798c62c497192a088d3e46195e
 
 # Patch Phase:
+PatchFile: %n.patch
+PatchFile-MD5: 149cad6aeb3ed61d04400ef3ed39e65f
 PatchScript: <<
+       %{default_script}
+
  ### why are only these moved to %p/bin/python2.6 and not the other scripts 
that also reference /usr/bin/python?
  perl -pi.bak -e 's;#!/usr/bin/python;#!%p/bin/python2.6;' cgi-bin/*.cgi
  perl -pi.bak -e 's;#!/usr/bin/python;#!%p/bin/python2.6;' cgi-bin/*.fcgi
+
  ### do not install these QHelpCollectionProject files or depend on qt4-* to 
compile them
  perl -pi -e "s|linkcheckerrc\', \'config/logging.conf\',|linkcheckerrc\', 
\'config/logging.conf\'\]\),|g" setup.py
  perl -pi -e "s|        'doc/html/lccollection.qhc', 
'doc/html/lcdoc.qch'\]\),\n||g" setup.py
+
+       mv third_party linkcheck
 <<
 
 # Compile Phase:
@@ -35,7 +43,7 @@
  /usr/bin/install -d %i/share/doc/%n
  cp -r doc/* %i/share/doc/%n
 <<
-DocFiles: COPYING doc/changelog.txt doc/install.txt readme.txt doc/todo.txt 
doc/upgrading.txt
+DocFiles: COPYING doc/changelog.txt doc/install.txt readme.txt doc/todo.txt 
doc/upgrading.txt 
linkcheck/third_party/dnspython/changelog.txt:changelog.txt.dnspython
 ConfFiles: %p/share/%n/linkcheckerrc %p/share/%n/logging.conf
 
 # Additional Info
@@ -60,6 +68,11 @@
 
 Previous versions by Ben Hines <[email protected]>,
 Christian Schaffner <[email protected]>.
+
+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).
 <<
 
 Homepage: http://linkchecker.sourceforge.net/


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to