diff options
| author | Matthew Wener <matthew@wener.org> | 2024-11-21 20:32:09 +0000 |
|---|---|---|
| committer | Dries Michiels <driesm@FreeBSD.org> | 2024-11-21 20:38:41 +0000 |
| commit | d4d7ab886b737441e4f2ac4781f933dc31fe50b9 (patch) | |
| tree | 8224dc20d56f6c7f57adf7af60247c91a3097b5b | |
| parent | 0c610c4b35941436172bfede63e11a62454581b2 (diff) | |
archivers/py-multivolumefile: add new port
Multi volume file wrapper library.
PR: 282835
| -rw-r--r-- | archivers/Makefile | 1 | ||||
| -rw-r--r-- | archivers/py-multivolumefile/Makefile | 29 | ||||
| -rw-r--r-- | archivers/py-multivolumefile/distinfo | 3 | ||||
| -rw-r--r-- | archivers/py-multivolumefile/pkg-descr | 3 |
4 files changed, 36 insertions, 0 deletions
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. |
