git: 43de39ce4e5a - main - archivers/py-libarchive-c: Update version 4.0=>5.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 15 Jul 2023 13:27:14 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=43de39ce4e5a92fdb4a11e8a1023b54ec343730a

commit 43de39ce4e5a92fdb4a11e8a1023b54ec343730a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-15 13:08:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-15 13:26:58 +0000

    archivers/py-libarchive-c: Update version 4.0=>5.0
    
    Changelog:
    https://github.com/Changaco/python-libarchive-c/releases/tag/5.0
---
 archivers/py-libarchive-c/Makefile | 11 ++---------
 archivers/py-libarchive-c/distinfo |  6 +++---
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/archivers/py-libarchive-c/Makefile b/archivers/py-libarchive-c/Makefile
index 604d55972cc3..0f0f1ffa1636 100644
--- a/archivers/py-libarchive-c/Makefile
+++ b/archivers/py-libarchive-c/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libarchive-c
-PORTVERSION=	4.0
+PORTVERSION=	5.0
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,16 +11,9 @@ WWW=		https://github.com/Changaco/python-libarchive-c
 LICENSE=	LGPL20+
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
-
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && TZ=UTC LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest -vv
-
 .include <bsd.port.mk>
diff --git a/archivers/py-libarchive-c/distinfo b/archivers/py-libarchive-c/distinfo
index 47c77b12f9a3..778e062695f1 100644
--- a/archivers/py-libarchive-c/distinfo
+++ b/archivers/py-libarchive-c/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646764516
-SHA256 (libarchive-c-4.0.tar.gz) = a5b41ade94ba58b198d778e68000f6b7de41da768de7140c984f71d7fa8416e5
-SIZE (libarchive-c-4.0.tar.gz) = 51171
+TIMESTAMP = 1689426259
+SHA256 (libarchive-c-5.0.tar.gz) = d673f56673d87ec740d1a328fa205cafad1d60f5daca4685594deb039d32b159
+SIZE (libarchive-c-5.0.tar.gz) = 52186