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

archivers/py-inflate64: add new port

Deflate64 compression and decompression library.

PR:	282834
This commit is contained in:
Matthew Wener 2024-11-21 21:47:15 +01:00 committed by Dries Michiels
parent d4d7ab886b
commit d384b09d91
4 changed files with 37 additions and 0 deletions

View File

@ -196,6 +196,7 @@
SUBDIR += py-comicapi
SUBDIR += py-compressed-rtf
SUBDIR += py-cramjam
SUBDIR += py-inflate64
SUBDIR += py-laszip
SUBDIR += py-libarchive-c
SUBDIR += py-lz4

View File

@ -0,0 +1,30 @@
PORTNAME= inflate64
PORTVERSION= 1.0.0
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@wener.org
COMMENT= Deflate64 compression/decompression library
WWW= https://codeberg.org/miurahr/inflate64
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517 pytest
TEST_ENV= ${MAKE_ENV} \
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/inflate64/_inflate64*.so
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 (inflate64-1.0.0.tar.gz) = 3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d
SIZE (inflate64-1.0.0.tar.gz) = 895853

View File

@ -0,0 +1,3 @@
The inflate64 is a python package to provide Deflater and
Inflater class to compress and decompress with Enhanced
Deflate compression algorithm.