git: 19c3e861b768 - main - devel/py-libzfs: Unbreak FreeBSD <13.1

From: Ryan Moeller <freqlabs_at_FreeBSD.org>
Date: Tue, 16 Aug 2022 11:11:42 UTC
The branch main has been updated by freqlabs (src committer):

URL: https://cgit.FreeBSD.org/ports/commit/?id=19c3e861b7680d7eae1fa65ca94b08201c3ddf5d

commit 19c3e861b7680d7eae1fa65ca94b08201c3ddf5d
Author:     Ryan Moeller <freqlabs@FreeBSD.org>
AuthorDate: 2022-08-16 10:57:06 +0000
Commit:     Ryan Moeller <freqlabs@FreeBSD.org>
CommitDate: 2022-08-16 10:57:06 +0000

    devel/py-libzfs: Unbreak FreeBSD <13.1
    
    Commits in the previous update fixed incorrect zpool status
    handling, but broke the build for older versions of ZFS.
    
    Now, zpool_status_t enumerators are checked at configure time.
    This fixes the build for all supported FreeBSD releases and fixes
    the incorrect zpool status handling.
    
    - Check zpool_status_t enumerators at configure time
    - Fix round-tripping ZFSException through pickle
    - Remove zpool_get_physpath
    
    Approved by:    lwhsu (implicit)
    Sponsored by:   iXsystems, Inc.
---
 devel/py-libzfs/Makefile | 8 ++------
 devel/py-libzfs/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/devel/py-libzfs/Makefile b/devel/py-libzfs/Makefile
index b4487f2e0c57..bff9a0ecd4d8 100644
--- a/devel/py-libzfs/Makefile
+++ b/devel/py-libzfs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libzfs
-PORTVERSION=	1.1.2022071900
+PORTVERSION=	1.1.2022081600
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USE_GITHUB=	yes
 GH_ACCOUNT=	truenas
 GH_PROJECT=	py-libzfs
-GH_TAGNAME=	18fc26c
+GH_TAGNAME=	077cf6d
 
 HAS_CONFIGURE=	yes
 USES=		compiler:c11 python
@@ -27,8 +27,4 @@ MAKE_ENV=	freebsd_src=${SRC_BASE}
 IGNORE=		requires kernel source files in ${SRC_BASE}
 .endif
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1301000
-BROKEN=		does not build on FreeBSD <13.1
-.endif
-
 .include <bsd.port.mk>
diff --git a/devel/py-libzfs/distinfo b/devel/py-libzfs/distinfo
index aa0723971db3..ce124cbd6684 100644
--- a/devel/py-libzfs/distinfo
+++ b/devel/py-libzfs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658240800
-SHA256 (truenas-py-libzfs-1.1.2022071900-18fc26c_GH0.tar.gz) = 2d0fbcfb6a27be5cf36fed935c1e889f6c7b1cd38cbf7e28a52979930ffcece7
-SIZE (truenas-py-libzfs-1.1.2022071900-18fc26c_GH0.tar.gz) = 94718
+TIMESTAMP = 1660645925
+SHA256 (truenas-py-libzfs-1.1.2022081600-077cf6d_GH0.tar.gz) = 6a9ed2e7c54d08179d0199320aac9ccb6d641e8a0f40a325628ebd93e55a1bab
+SIZE (truenas-py-libzfs-1.1.2022081600-077cf6d_GH0.tar.gz) = 95427