[143786] users/raimue/ports/sysutils

raimue at macports.org raimue at macports.org
Mon Dec 21 07:22:06 PST 2015


Revision: 143786
          https://trac.macports.org/changeset/143786
Author:   raimue at macports.org
Date:     2015-12-21 07:22:06 -0800 (Mon, 21 Dec 2015)
Log Message:
-----------
sysutils/diffoscope:
New port, in-depth comparison of files, archives, and directories

Added Paths:
-----------
    users/raimue/ports/sysutils/diffoscope/
    users/raimue/ports/sysutils/diffoscope/Portfile
    users/raimue/ports/sysutils/diffoscope/files/
    users/raimue/ports/sysutils/diffoscope/files/patch-gnutar.diff

Added: users/raimue/ports/sysutils/diffoscope/Portfile
===================================================================
--- users/raimue/ports/sysutils/diffoscope/Portfile	                        (rev 0)
+++ users/raimue/ports/sysutils/diffoscope/Portfile	2015-12-21 15:22:06 UTC (rev 143786)
@@ -0,0 +1,52 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+name                diffoscope
+version             44
+platforms           darwin
+supported_archs     noarch
+license             GPL-3+
+maintainers         raimue \
+                    openmaintainer
+
+description         in-depth comparison of files, archives, and directories
+long_description    diffoscope will try to get to the bottom of what makes \
+                    files or directories different. It will recursively unpack \
+                    archives of many kinds and transform various binary \
+                    formats into more human readable form to compare them. It \
+                    can compare two tarballs, ISO images, or PDF just as easily. \
+                    Please note some file formats will require the installation \
+                    of additional ports.
+
+homepage            https://diffoscope.org/
+master_sites        pypi:d/diffoscope
+
+checksums           md5     c5fd0ae1eaa4eb35d1178bf344bfb372 \
+                    rmd160  3b49f689fde98434c193acba588555af9669ea22 \
+                    sha256  d1ded18b779066c6f54434b21fea0074a1c5c31b2dc9d4099f0f00bc8e7537af
+
+python.default_version 35
+
+depends_build-append \
+                    port:py${python.version}-setuptools \
+                    port:py${python.version}-libarchive-c \
+                    port:py${python.version}-magic
+                    
+depends_run-append  port:gnutar \
+                    bin:bzip2:bzip2 \
+                    bin:gzip:gzip \
+                    bin:cpio:cpio
+
+patchfiles          patch-gnutar.diff
+
+# MacPorts >= 2.4
+#depends_test-append \
+#                    port:py${python.version}-py \
+#                    port:py${python.version}-pytest
+
+test.run yes
+
+livecheck.type      pypi


Property changes on: users/raimue/ports/sysutils/diffoscope/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: users/raimue/ports/sysutils/diffoscope/files/patch-gnutar.diff
===================================================================
--- users/raimue/ports/sysutils/diffoscope/files/patch-gnutar.diff	                        (rev 0)
+++ users/raimue/ports/sysutils/diffoscope/files/patch-gnutar.diff	2015-12-21 15:22:06 UTC (rev 143786)
@@ -0,0 +1,11 @@
+--- diffoscope/comparators/tar.py.orig	2015-12-21 15:09:35.000000000 +0100
++++ diffoscope/comparators/tar.py	2015-12-21 15:10:02.000000000 +0100
+@@ -29,7 +29,7 @@
+ class TarListing(Command):
+     @tool_required('tar')
+     def cmdline(self):
+-        return ['tar', '--full-time', '-tvf', self.path]
++        return ['gnutar', '--full-time', '-tvf', self.path]
+ 
+ 
+ class TarFile(File):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151221/105b8a8c/attachment.html>


More information about the macports-changes mailing list