1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

archivers/py-multivolumefile: add new port

Multi volume file wrapper library.

PR:	282835
This commit is contained in:
Matthew Wener 2024-11-21 21:32:09 +01:00 committed by Dries Michiels
parent 0c610c4b35
commit d4d7ab886b
4 changed files with 36 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1724809518
SHA256 (multivolumefile-0.2.3.tar.gz) = a0648d0aafbc96e59198d5c17e9acad7eb531abea51035d08ce8060dcad709d6
SIZE (multivolumefile-0.2.3.tar.gz) = 77984

View File

@ -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.