[73016] trunk/dports/python/py31-djvubind

raphael at macports.org raphael at macports.org
Mon Nov 1 03:00:30 PDT 2010


Revision: 73016
          http://trac.macports.org/changeset/73016
Author:   raphael at macports.org
Date:     2010-11-01 03:00:26 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
py31-djvubind: update to version 1.0.1; closes #27080

Modified Paths:
--------------
    trunk/dports/python/py31-djvubind/Portfile
    trunk/dports/python/py31-djvubind/files/patch-setup.py.diff

Modified: trunk/dports/python/py31-djvubind/Portfile
===================================================================
--- trunk/dports/python/py31-djvubind/Portfile	2010-11-01 03:40:37 UTC (rev 73015)
+++ trunk/dports/python/py31-djvubind/Portfile	2010-11-01 10:00:26 UTC (rev 73016)
@@ -5,7 +5,7 @@
 PortGroup                       python31 1.0
 
 name                            py31-djvubind
-version                         0.3.1
+version                         1.0.1
 platforms                       darwin
 supported_archs                 noarch
 maintainers                     raphael openmaintainer
@@ -30,17 +30,10 @@
 
 master_sites                    googlecode:djvubind
 
-checksums                       md5     a7fb02c2e5a88c46e548edfab455116d \
-                                sha1    c075658e94f3458f3896bdf7a9ac3f3c423d26cd \
-                                rmd160  5cc13036190f83356090c4471360e9203b25e54f
+checksums                       md5     16b9db4bd364c35babedd1eef188ca46 \
+                                sha1    d167e7a1e4c947e75d404df0574d1bc82ed29b9c \
+                                rmd160  b34e203afac927fe5eb3b4eba3582d5d9088886d
 
-# Workaround for case insensitive file systems:
-# The dist archive contains a directory 'Djvubind' and a python script 'djvubind' in the same directory.
-extract.post_args-append        --exclude ${distname}/djvubind
-post-extract {                  system "/usr/bin/gnutar --no-same-owner -C ${worksrcpath} -xjf ${distpath}/${distfiles} ${distname}/djvubind"
-                                move ${worksrcpath}/${distname} ${worksrcpath}/bin
-}
-
 patchfiles                      patch-setup.py.diff
 post-patch {                    reinplace "s|/usr/bin/env python3|${python.bin}|" ${worksrcpath}/bin/djvubind
 }
@@ -51,7 +44,10 @@
                                 set docdir ${destroot}${prefix}/share/doc/${name}
                                 xinstall -d ${docdir}
                                 xinstall -m 644 -W ${worksrcpath} \
-                                    readme \
+                                    README \
                                     docs/changelog \
                                     ${docdir}
+                                set sysconfigdir ${destroot}${prefix}/etc/djvubind
+                                xinstall -d ${sysconfigdir}
+                                ln -s "${python.prefix}/etc/djvubind/config" "${sysconfigdir}/config"
 }

Modified: trunk/dports/python/py31-djvubind/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py31-djvubind/files/patch-setup.py.diff	2010-11-01 03:40:37 UTC (rev 73015)
+++ trunk/dports/python/py31-djvubind/files/patch-setup.py.diff	2010-11-01 10:00:26 UTC (rev 73016)
@@ -1,9 +1,10 @@
---- setup.py.orig	2010-10-08 09:27:31.000000000 +0200
-+++ setup.py	2010-10-08 09:27:47.000000000 +0200
-@@ -11,5 +11,5 @@
+--- setup.py.orig	2010-11-01 10:38:32.000000000 +0100
++++ setup.py	2010-11-01 10:38:44.000000000 +0100
+@@ -11,6 +11,6 @@
        license='GPL-3',
-       py_modules=['Djvubind/__init__', 'Djvubind/ocr', 'Djvubind/organizer', 'Djvubind/utils'],
-       data_files=[('share/man/man1', ['docs/djvubind.1.gz']),
--                  ('bin', ['djvubind'])]
-+                  ('bin', ['bin/djvubind'])]
+       py_modules=['djvubind/__init__', 'djvubind/encode', 'djvubind/ocr', 'djvubind/organizer', 'djvubind/utils'],
+       data_files=[('bin', ['bin/djvubind']),
+-                  ('/etc/djvubind', ['docs/config']),
++                  ('etc/djvubind', ['docs/config']),
+                   ('share/man/man1', ['docs/djvubind.1.gz'])]
  )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101101/705ec207/attachment-0001.html>


More information about the macports-changes mailing list