Update of /cvsroot/fink/experimental/dmacks/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv17444

Modified Files:
        linkchecker.info 
Added Files:
        linkchecker.patch 
Log Message:
new version; packaging is clean, seems to find its modules; completely untested 
for real use though


--- 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-28 23:59:42.000000000 
-0400
@@ -151,7 +151,7 @@
 
 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"))
Binary files LinkChecker-7.0.orig/linkcheck/__init__.pyc and 
LinkChecker-7.0/linkcheck/__init__.pyc differ
Binary files LinkChecker-7.0.orig/linkcheck/i18n.pyc and 
LinkChecker-7.0/linkcheck/i18n.pyc differ
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:00:17.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/experimental/dmacks/finkinfo/linkchecker.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- linkchecker.info    29 Jul 2011 03:14:41 -0000      1.1
+++ linkchecker.info    29 Jul 2011 04:28:21 -0000      1.2
@@ -1,25 +1,33 @@
 Package: linkchecker
-Version: 5.2
-Revision: 2
+Version: 7.0
+Revision: 1
 Description: Check websites and HTML docs for broken links
 License: GPL
 Maintainer: None <fink-de...@lists.sourceforge.net>
 
 # 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: 35a5e825a16a0881bed82f2c7c224a0c
 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,10 @@
 
 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).
 <<
 
 Homepage: http://linkchecker.sourceforge.net/


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to