Date: Mon, 25 Oct 2021 09:08:17 GMT From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fcafb9dca52a - main - sysutils/fusefs-unionfs: Update to 2.2 Message-ID: <202110250908.19P98H8h014246@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/ports/commit/?id=fcafb9dca52a64f03004191a9d1906ec631538d0 commit fcafb9dca52a64f03004191a9d1906ec631538d0 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-10-25 08:55:23 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-10-25 09:08:03 +0000 sysutils/fusefs-unionfs: Update to 2.2 Also: - Take maintainership - Enable some tests. Most of the test suite is not aware of FreeBSD yet. Changes: https://github.com/rpodgorny/unionfs-fuse/blob/v2.2/NEWS --- sysutils/fusefs-unionfs/Makefile | 20 +++++++++++++------- sysutils/fusefs-unionfs/distinfo | 6 +++--- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/sysutils/fusefs-unionfs/Makefile b/sysutils/fusefs-unionfs/Makefile index 093c1906b3c3..dbd665720f00 100644 --- a/sysutils/fusefs-unionfs/Makefile +++ b/sysutils/fusefs-unionfs/Makefile @@ -1,17 +1,21 @@ # Created by: Gea-Suan Lin <gslin@gslin.org> PORTNAME= unionfs -PORTVERSION= 2.0 DISTVERSIONPREFIX= v +DISTVERSION= 2.2 CATEGORIES= sysutils PKGNAMEPREFIX= fusefs- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= 0mp@FreeBSD.org COMMENT= FUSE based implementation of the well-known unionfs LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} + +USES= cmake fuse localbase:ldflags python:test + USE_GITHUB= yes GH_ACCOUNT= rpodgorny GH_PROJECT= unionfs-fuse @@ -22,12 +26,14 @@ PLIST_FILES= bin/unionfs \ bin/unionfsctl \ man/man8/unionfs.8.gz -USES= fuse cmake localbase:ldflags - -post-patch: - @${REINPLACE_CMD} "s,share/man,man,g" ${WRKSRC}/man/CMakeLists.txt - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* +pre-test: + ${RLN} ${BUILD_WRKSRC}/src/unionfs ${WRKSRC}/src/unionfs + ${RLN} ${BUILD_WRKSRC}/src/unionfsctl ${WRKSRC}/src/unionfsctl + +do-test: + cd ${WRKSRC} && ${SETNEV} ${MAKE_ENV} ${PYTHON_CMD} -m pytest -k test_help --verbose + .include <bsd.port.mk> diff --git a/sysutils/fusefs-unionfs/distinfo b/sysutils/fusefs-unionfs/distinfo index 982115198e00..de0face115d1 100644 --- a/sysutils/fusefs-unionfs/distinfo +++ b/sysutils/fusefs-unionfs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1533965149 -SHA256 (rpodgorny-unionfs-fuse-v2.0_GH0.tar.gz) = f24d7dd64c678cefacbebf2727b61e3127b8ecb6bb9176d7117dd31503455643 -SIZE (rpodgorny-unionfs-fuse-v2.0_GH0.tar.gz) = 46537 +TIMESTAMP = 1635114774 +SHA256 (rpodgorny-unionfs-fuse-v2.2_GH0.tar.gz) = 248a0fee9979146b79b05fc728621869da5936c1f43a27e36e7515b301817e43 +SIZE (rpodgorny-unionfs-fuse-v2.2_GH0.tar.gz) = 47955
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110250908.19P98H8h014246>