FreeBSD Bugzilla – Attachment 247470 Details for
Bug 275719
[new port] archivers/py-zlib-ng: Python bindings for the zlib-ng library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for new port archivers/py-zlib-ng 0.4.0 (via git am)
0001-archivers-py-zlib-ng-Add-new-port.patch (text/plain), 3.66 KB, created by
Oleg Sidorkin
on 2024-01-05 19:14:10 UTC
(
hide
)
Description:
patch for new port archivers/py-zlib-ng 0.4.0 (via git am)
Filename:
MIME Type:
Creator:
Oleg Sidorkin
Created:
2024-01-05 19:14:10 UTC
Size:
3.66 KB
patch
obsolete
>From ef6ebbea8049cfb8caf047f5331704f50770c854 Mon Sep 17 00:00:00 2001 >From: Oleg Sidorkin <osidorkin@gmail.com> >Date: Mon, 11 Dec 2023 18:57:18 +0300 >Subject: [PATCH] archivers/py-zlib-ng: Add new port > >--- > archivers/Makefile | 1 + > archivers/py-zlib-ng/Makefile | 23 +++++++++++++++++++ > archivers/py-zlib-ng/distinfo | 3 +++ > .../patch-src_zlib__ng_zlib-ng_CMakeLists.txt | 15 ++++++++++++ > archivers/py-zlib-ng/pkg-descr | 2 ++ > 5 files changed, 44 insertions(+) > create mode 100644 archivers/py-zlib-ng/Makefile > create mode 100644 archivers/py-zlib-ng/distinfo > create mode 100644 archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt > create mode 100644 archivers/py-zlib-ng/pkg-descr > >diff --git a/archivers/Makefile b/archivers/Makefile >index 9d71854fe8c9..f46a370e2f26 100644 >--- a/archivers/Makefile >+++ b/archivers/Makefile >@@ -207,6 +207,7 @@ > SUBDIR += py-warctools > SUBDIR += py-xopen > SUBDIR += py-zipstream-ng >+ SUBDIR += py-zlib-ng > SUBDIR += py-zopfli > SUBDIR += py-zstandard > SUBDIR += py-zstd >diff --git a/archivers/py-zlib-ng/Makefile b/archivers/py-zlib-ng/Makefile >new file mode 100644 >index 000000000000..7f1eb39f0ba9 >--- /dev/null >+++ b/archivers/py-zlib-ng/Makefile >@@ -0,0 +1,23 @@ >+PORTNAME= zlib-ng >+DISTVERSION= 0.4.0 >+CATEGORIES= archivers python >+MASTER_SITES= PYPI >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= osidorkin@gmail.com >+COMMENT= Python bindings for the zlib-ng library >+WWW= https://github.com/pycompression/python-zlib-ng >+ >+LICENSE= PSFL >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=51:devel/py-setuptools@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ >+ cmake:devel/cmake-core >+ >+USES= python:3.7+ >+USE_PYTHON= autoplist pep517 >+ >+INSTALL_TARGET=install-strip >+ >+.include <bsd.port.mk> >diff --git a/archivers/py-zlib-ng/distinfo b/archivers/py-zlib-ng/distinfo >new file mode 100644 >index 000000000000..3721cf359a96 >--- /dev/null >+++ b/archivers/py-zlib-ng/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1704480695 >+SHA256 (zlib-ng-0.4.0.tar.gz) = 3b730881aaeb86f9a4995de5e22499406ccf92f8508b5c017c343d27570a8c0a >+SIZE (zlib-ng-0.4.0.tar.gz) = 2458999 >diff --git a/archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt b/archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt >new file mode 100644 >index 000000000000..9fea130f90fb >--- /dev/null >+++ b/archivers/py-zlib-ng/files/patch-src_zlib__ng_zlib-ng_CMakeLists.txt >@@ -0,0 +1,15 @@ >+--- src/zlib_ng/zlib-ng/CMakeLists.txt.orig 2023-12-25 16:17:33 UTC >++++ src/zlib_ng/zlib-ng/CMakeLists.txt >+@@ -74,9 +74,9 @@ option(ZLIB_COMPAT "Compile with zlib compatible API" >+ # >+ option(WITH_GZFILEOP "Compile with support for gzFile related functions" ON) >+ option(ZLIB_COMPAT "Compile with zlib compatible API" OFF) >+-option(ZLIB_ENABLE_TESTS "Build test binaries" ON) >+-option(ZLIBNG_ENABLE_TESTS "Test zlib-ng specific API" ON) >+-option(WITH_GTEST "Build gtest_zlib" ON) >++option(ZLIB_ENABLE_TESTS "Build test binaries" OFF) >++option(ZLIBNG_ENABLE_TESTS "Test zlib-ng specific API" OFF) >++option(WITH_GTEST "Build gtest_zlib" OFF) >+ option(WITH_FUZZERS "Build test/fuzz" OFF) >+ option(WITH_BENCHMARKS "Build test/benchmarks" OFF) >+ option(WITH_BENCHMARK_APPS "Build application benchmarks" OFF) >diff --git a/archivers/py-zlib-ng/pkg-descr b/archivers/py-zlib-ng/pkg-descr >new file mode 100644 >index 000000000000..1b6e5a4b8d17 >--- /dev/null >+++ b/archivers/py-zlib-ng/pkg-descr >@@ -0,0 +1,2 @@ >+Faster zlib and gzip compatible compression and decompression by providing >+Python bindings for the zlib-ng library. >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275719
:
247003
| 247470