git: 2ae85d543313 - main - sysutils/py-diffoscope: Update to 277

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:19:43 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2ae85d5433133da22672bd8bbc1c1f02334b68bc

commit 2ae85d5433133da22672bd8bbc1c1f02334b68bc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:57:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:18 +0000

    sysutils/py-diffoscope: Update to 277
    
    - Update WWW
    - Sort RUN_DEPENDS
    - Convert to USE_PYTHON=pep517
    - Convert to USE_PYTHON=pytest
    - Update pkg-descr
    
    Changes:        https://salsa.debian.org/reproducible-builds/diffoscope/-/blob/master/debian/changelog
---
 sysutils/py-diffoscope/Makefile  | 26 +++++++++++++-------------
 sysutils/py-diffoscope/distinfo  |  6 +++---
 sysutils/py-diffoscope/pkg-descr | 25 ++++++++++++-------------
 3 files changed, 28 insertions(+), 29 deletions(-)

diff --git a/sysutils/py-diffoscope/Makefile b/sysutils/py-diffoscope/Makefile
index 36455a2a42c6..46232800c66d 100644
--- a/sysutils/py-diffoscope/Makefile
+++ b/sysutils/py-diffoscope/Makefile
@@ -1,31 +1,31 @@
 PORTNAME=	diffoscope
-PORTVERSION=	247
+PORTVERSION=	277
 CATEGORIES=	sysutils python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	In-depth comparison of files, archives, and directories
-WWW=		https://diffoscope.org/
+WWW=		https://diffoscope.org/ \
+		https://salsa.debian.org/reproducible-builds/diffoscope
 
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libarchive-c>=0:archivers/py-libarchive-c@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR} \
-		gdiff:textproc/diffutils
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		zipinfo:archivers/unzip \
-		isoinfo:sysutils/cdrkit \
-		rpm2cpio:archivers/rpm2cpio
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	gdiff:textproc/diffutils \
+		${PYTHON_PKGNAMEPREFIX}libarchive-c>=0:archivers/py-libarchive-c@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR}
+TEST_DEPENDS=	isoinfo:sysutils/cdrkit \
+		rpm2cpio:archivers/rpm2cpio \
+		zipinfo:archivers/unzip
 
 USES=		cpe python
-CPE_VENDOR=	reproducible_builds
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
+CPE_VENDOR=	reproducible_builds
 
 .include <bsd.port.mk>
diff --git a/sysutils/py-diffoscope/distinfo b/sysutils/py-diffoscope/distinfo
index 499784cf060a..98d5ed47529b 100644
--- a/sysutils/py-diffoscope/distinfo
+++ b/sysutils/py-diffoscope/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1691606434
-SHA256 (diffoscope-247.tar.gz) = 3b05b4bf6390c7d1d23bf2741d2fc3d4ea65c12608b43420ef38175bd2dd5cfe
-SIZE (diffoscope-247.tar.gz) = 3168392
+TIMESTAMP = 1726487380
+SHA256 (diffoscope-277.tar.gz) = d2d4236d7b72be8344b0c7a19506350a7b17d316bcd79d7bfc113e10400b0e10
+SIZE (diffoscope-277.tar.gz) = 3281277
diff --git a/sysutils/py-diffoscope/pkg-descr b/sysutils/py-diffoscope/pkg-descr
index 7ecac65328f9..b85c1a04daa6 100644
--- a/sysutils/py-diffoscope/pkg-descr
+++ b/sysutils/py-diffoscope/pkg-descr
@@ -1,15 +1,14 @@
-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.
+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.
 
-It can be scripted through error codes, and a report can be produced
-with the detected differences. The report can be text or HTML. When no
-type of report has been selected, diffoscope defaults to write a text
-report on the standard output.
+It can be scripted through error codes, and a report can be produced with the
+detected differences. The report can be text or HTML.  When no type of report
+has been selected, diffoscope defaults to write a text report on the standard
+output.
 
-diffoscope is developed as part of the 'reproducible builds' Debian
-project. It is meant to be able to quickly understand why two builds
-of the same package produce different outputs. diffoscope was previously
-named debbindiff.
+diffoscope was initially started by the "reproducible builds" Debian project and
+now being developed as part of the (wider) "Reproducible Builds" initiative. It
+is meant to be able to quickly understand why two builds of the same package
+produce different outputs. diffoscope was previously named debbindiff.