git: 00018d161043 - main - archivers/py-libarchive-c: Update version 2.9=>4.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 12 Mar 2022 10:31:23 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00018d161043bca667e19024d80cad8d58f3c86a

commit 00018d161043bca667e19024d80cad8d58f3c86a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-09 05:43:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-12 10:31:18 +0000

    archivers/py-libarchive-c: Update version 2.9=>4.0
    
    Relnotes:
    https://github.com/Changaco/python-libarchive-c/releases/tag/4.0
---
 archivers/py-libarchive-c/Makefile | 8 ++++----
 archivers/py-libarchive-c/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/archivers/py-libarchive-c/Makefile b/archivers/py-libarchive-c/Makefile
index 9b03ce0fefb7..768473517f1c 100644
--- a/archivers/py-libarchive-c/Makefile
+++ b/archivers/py-libarchive-c/Makefile
@@ -1,7 +1,7 @@
 # Created by: Kubilay Kocak <koobs@FreeBSD.org>
 
 PORTNAME=	libarchive-c
-PORTVERSION=	2.9
+PORTVERSION=	4.0
 CATEGORIES=	archivers python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,11 @@ COMMENT=	Python interface to libarchive
 LICENSE=	LGPL20+
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
+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:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
diff --git a/archivers/py-libarchive-c/distinfo b/archivers/py-libarchive-c/distinfo
index a892fb26e40d..47c77b12f9a3 100644
--- a/archivers/py-libarchive-c/distinfo
+++ b/archivers/py-libarchive-c/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621176451
-SHA256 (libarchive-c-2.9.tar.gz) = 9919344cec203f5db6596a29b5bc26b07ba9662925a05e24980b84709232ef60
-SIZE (libarchive-c-2.9.tar.gz) = 46408
+TIMESTAMP = 1646764516
+SHA256 (libarchive-c-4.0.tar.gz) = a5b41ade94ba58b198d778e68000f6b7de41da768de7140c984f71d7fa8416e5
+SIZE (libarchive-c-4.0.tar.gz) = 51171