Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 20:39:10 GMT
From:      Dries Michiels <driesm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d4d7ab886b73 - main - archivers/py-multivolumefile: add new port
Message-ID:  <202411212039.4ALKdAYo001728@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by driesm:

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

commit d4d7ab886b737441e4f2ac4781f933dc31fe50b9
Author:     Matthew Wener <matthew@wener.org>
AuthorDate: 2024-11-21 20:32:09 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-11-21 20:38:41 +0000

    archivers/py-multivolumefile: add new port
    
    Multi volume file wrapper library.
    
    PR:     282835
---
 archivers/Makefile                     |  1 +
 archivers/py-multivolumefile/Makefile  | 29 +++++++++++++++++++++++++++++
 archivers/py-multivolumefile/distinfo  |  3 +++
 archivers/py-multivolumefile/pkg-descr |  3 +++
 4 files changed, 36 insertions(+)

diff --git a/archivers/Makefile b/archivers/Makefile
index a72451d8664c..9af78c8b65e3 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -201,6 +201,7 @@
     SUBDIR += py-lz4
     SUBDIR += py-lzma
     SUBDIR += py-lzstring
+    SUBDIR += py-multivolumefile
     SUBDIR += py-patool
     SUBDIR += py-pybcj
     SUBDIR += py-pyminizip
diff --git a/archivers/py-multivolumefile/Makefile b/archivers/py-multivolumefile/Makefile
new file mode 100644
index 000000000000..e71a094aeb30
--- /dev/null
+++ b/archivers/py-multivolumefile/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	multivolumefile
+PORTVERSION=	0.2.3
+CATEGORIES=	archivers python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	matthew@wener.org
+COMMENT=	Multi volume file wrapper library
+WWW=		https://codeberg.org/miurahr/multivolume
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517 pytest
+
+TEST_ENV=	${MAKE_ENV} \
+		PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+do-test:
+	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v
+
+.include <bsd.port.mk>
diff --git a/archivers/py-multivolumefile/distinfo b/archivers/py-multivolumefile/distinfo
new file mode 100644
index 000000000000..df3cd848e440
--- /dev/null
+++ b/archivers/py-multivolumefile/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724809518
+SHA256 (multivolumefile-0.2.3.tar.gz) = a0648d0aafbc96e59198d5c17e9acad7eb531abea51035d08ce8060dcad709d6
+SIZE (multivolumefile-0.2.3.tar.gz) = 77984
diff --git a/archivers/py-multivolumefile/pkg-descr b/archivers/py-multivolumefile/pkg-descr
new file mode 100644
index 000000000000..ea8ee47db707
--- /dev/null
+++ b/archivers/py-multivolumefile/pkg-descr
@@ -0,0 +1,3 @@
+MultiVolumefile is a python library to provide a file-object
+wrapping multiple files as virtually like as a single file.
+It inherits io.RawIOBase class and support some of its standard methods.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411212039.4ALKdAYo001728>