Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 20:51:35 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: d384b09d91ad - main - archivers/py-inflate64: add new port
Message-ID:  <202411212051.4ALKpZwA033724@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=d384b09d91ad09d259309cdf37a82fdc1d0dc938

commit d384b09d91ad09d259309cdf37a82fdc1d0dc938
Author:     Matthew Wener <matthew@wener.org>
AuthorDate: 2024-11-21 20:47:15 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-11-21 20:47:15 +0000

    archivers/py-inflate64: add new port
    
    Deflate64 compression and decompression library.
    
    PR:     282834
---
 archivers/Makefile               |  1 +
 archivers/py-inflate64/Makefile  | 30 ++++++++++++++++++++++++++++++
 archivers/py-inflate64/distinfo  |  3 +++
 archivers/py-inflate64/pkg-descr |  3 +++
 4 files changed, 37 insertions(+)

diff --git a/archivers/Makefile b/archivers/Makefile
index 9af78c8b65e3..def6c8192efd 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -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
diff --git a/archivers/py-inflate64/Makefile b/archivers/py-inflate64/Makefile
new file mode 100644
index 000000000000..9a3f8aca4112
--- /dev/null
+++ b/archivers/py-inflate64/Makefile
@@ -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>
diff --git a/archivers/py-inflate64/distinfo b/archivers/py-inflate64/distinfo
new file mode 100644
index 000000000000..5b9f92520eb5
--- /dev/null
+++ b/archivers/py-inflate64/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724809518
+SHA256 (inflate64-1.0.0.tar.gz) = 3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d
+SIZE (inflate64-1.0.0.tar.gz) = 895853
diff --git a/archivers/py-inflate64/pkg-descr b/archivers/py-inflate64/pkg-descr
new file mode 100644
index 000000000000..6623a3b88797
--- /dev/null
+++ b/archivers/py-inflate64/pkg-descr
@@ -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.



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