Index: head/sysutils/py-diffoscope/pkg-message =================================================================== --- head/sysutils/py-diffoscope/pkg-message (revision 433525) +++ head/sysutils/py-diffoscope/pkg-message (nonexistent) @@ -1,12 +0,0 @@ -=========================================================================== - - diffoscope currently relies on /dev/fd. To enable this feature on your - system, run: - - # mount -t fdescfs fdesc /dev/fd - - To make it permanent, add the to /etc/fstab: - - fdesc /dev/fd fdescfs rw 0 0 - -=========================================================================== Property changes on: head/sysutils/py-diffoscope/pkg-message ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/py-diffoscope/files/patch-diffoscope_comparators_directory.py =================================================================== --- head/sysutils/py-diffoscope/files/patch-diffoscope_comparators_directory.py (revision 433525) +++ head/sysutils/py-diffoscope/files/patch-diffoscope_comparators_directory.py (nonexistent) @@ -1,47 +0,0 @@ ---- diffoscope/comparators/directory.py.orig 2016-01-30 11:54:52 UTC -+++ diffoscope/comparators/directory.py -@@ -72,8 +72,11 @@ def lsattr(path): - class Getfacl(Command): - @tool_required('getfacl') - def cmdline(self): -- return ['getfacl', '-p', '-c', self.path] -- -+ osname = os.uname()[0] -+ if osname == 'Linux': -+ return ['getfacl', '-p', '-c', self.path] -+ else: # FreeBSD -+ return ['getfacl', '-q', '-h', self.path] - - def compare_meta(path1, path2): - logger.debug('compare_meta(%s, %s)', path1, path2) -@@ -84,17 +87,19 @@ def compare_meta(path1, path2): - logger.warn("'stat' not found! Is PATH wrong?") - if os.path.islink(path1) or os.path.islink(path2): - return [d for d in differences if d is not None] -- try: -- lsattr1 = lsattr(path1) -- lsattr2 = lsattr(path2) -- differences.append(Difference.from_text( -- lsattr1, lsattr2, path1, path2, source="lattr")) -- except RequiredToolNotFound: -- logger.info("Unable to find 'lsattr'.") -- try: -- differences.append(Difference.from_command(Getfacl, path1, path2)) -- except RequiredToolNotFound: -- logger.info("Unable to find 'getfacl'.") -+ osname = os.uname()[0] -+ if osname == "Linux" or osname == "FreeBSD": -+ try: -+ lsattr1 = lsattr(path1) -+ lsattr2 = lsattr(path2) -+ differences.append(Difference.from_text( -+ lsattr1, lsattr2, path1, path2, source="lattr")) -+ except RequiredToolNotFound: -+ logger.info("Unable to find 'lsattr'.") -+ try: -+ differences.append(Difference.from_command(Getfacl, path1, path2)) -+ except RequiredToolNotFound: -+ logger.info("Unable to find 'getfacl'.") - return [d for d in differences if d is not None] - - Property changes on: head/sysutils/py-diffoscope/files/patch-diffoscope_comparators_directory.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/py-diffoscope/Makefile =================================================================== --- head/sysutils/py-diffoscope/Makefile (revision 433525) +++ head/sysutils/py-diffoscope/Makefile (revision 433526) @@ -1,33 +1,31 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= diffoscope -PORTVERSION= 59 +PORTVERSION= 67 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= In-depth comparison of files, archives, and directories LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libarchive-c>=0:archivers/py3-libarchive-c \ ${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py3-python-magic TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest \ zipinfo:archivers/unzip \ isoinfo:sysutils/cdrkit \ rpm2cpio:archivers/rpm2cpio USES= python:3.4+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes - -# mount -t fdescfs fdesc /dev/fd before running tests do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test --pytest-args="-rsx -l -vv" .include Index: head/sysutils/py-diffoscope/distinfo =================================================================== --- head/sysutils/py-diffoscope/distinfo (revision 433525) +++ head/sysutils/py-diffoscope/distinfo (revision 433526) @@ -1,3 +1,3 @@ -TIMESTAMP = 1471591876 -SHA256 (diffoscope-59.tar.gz) = 78be510ba9a3cbe4301288cd8ccd686e8694e2baae9119e2cc612a3b18ae3a26 -SIZE (diffoscope-59.tar.gz) = 400860 +TIMESTAMP = 1483829567 +SHA256 (diffoscope-67.tar.gz) = 96f17de536f411e69d2944191a8860b5c8be22a7f5a6a5d4ea3d34cc94badbf7 +SIZE (diffoscope-67.tar.gz) = 488185