From 5284fda37e91bcf82ac9a547d3b06ad6875eff9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Moska=C5=82a?= <10251130+LukaszMoskala@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:53:22 +0100 Subject: [PATCH 1/3] Add FreeBSD support --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 440786b..413853b 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,8 @@ ZLIB_NG_SOURCE = os.path.join("src", "zlib_ng", "zlib-ng") SYSTEM_IS_UNIX = (sys.platform.startswith("linux") or - sys.platform.startswith("darwin")) + sys.platform.startswith("darwin") or + 'bsd' in sys.platform) SYSTEM_IS_WINDOWS = sys.platform.startswith("win") # Since pip builds in a temp directory by default, setting a fixed file in From 85c8b461e294907d36f2d920a4116abf9ea5d588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Moska=C5=82a?= <10251130+LukaszMoskala@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:59:05 +0100 Subject: [PATCH 2/3] Update CHANGELOG.rst --- CHANGELOG.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 594f7db..fea4e69 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,7 @@ version 0.3.0-dev improvements and changes with regards to the compression levels. For full details checkout the `zlib-ng 2.1.2 release notes `_. ++ Added BSD support (tested only with FreeBSD) version 0.2.0 ----------------- @@ -25,4 +26,4 @@ version 0.1.0 + Add a fully featured gzip application in python m zlib_ng.gzip_ng. + Port Cpython's gzip module to use zlib-ng. + Port CPython's zlib module to use zlib-ng. -+ Use zlib-ng version 2.0.6 as included statically linked version. \ No newline at end of file ++ Use zlib-ng version 2.0.6 as included statically linked version. From e7c358bfb07935ef04497e831b4531cf3ee16334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Moska=C5=82a?= <10251130+LukaszMoskala@users.noreply.github.com> Date: Fri, 8 Dec 2023 09:18:42 +0100 Subject: [PATCH 3/3] Update CHANGELOG.rst --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fea4e69..8beb14c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,11 +9,11 @@ Changelog version 0.3.0-dev ----------------- ++ Enabled installation on BSD + Update embedded zlib-ng version to 2.1.2. This comes with some speed improvements and changes with regards to the compression levels. For full details checkout the `zlib-ng 2.1.2 release notes `_. -+ Added BSD support (tested only with FreeBSD) version 0.2.0 -----------------