python3Packages.zlib-ng: 0.5.1 -> 1.0.0

https://github.com/pycompression/python-zlib-ng/blob/v1.0.0/CHANGELOG.rst
This commit is contained in:
Martin Weinelt
2025-09-28 22:06:08 +02:00
parent 095530e4e3
commit 92a7bc42ea
2 changed files with 4 additions and 27 deletions
@@ -2,12 +2,11 @@
lib,
buildPythonPackage,
fetchFromGitHub,
replaceVars,
# build-system
cmake,
setuptools,
versioningit,
setuptools-scm,
# native dependencies
zlib-ng,
@@ -18,26 +17,20 @@
buildPythonPackage rec {
pname = "zlib-ng";
version = "0.5.1";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pycompression";
repo = "python-zlib-ng";
rev = "v${version}";
hash = "sha256-UsdZgpRI7h6GemT1+1g/cP/8uhLykZ//saH4JMwwlY4=";
hash = "sha256-t/PSby1LUTyp+7XXKZTWjRrPvAei1ZrGSGU2CIcAQBc=";
};
patches = [
(replaceVars ./version.patch {
inherit version;
})
];
build-system = [
cmake
setuptools
versioningit
setuptools-scm
];
dontUseCmakeConfigure = true;
@@ -1,16 +0,0 @@
diff --git a/pyproject.toml b/pyproject.toml
index 28ae41d..05ad409 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,9 +2,8 @@
requires = ["setuptools>=64", "versioningit>=1.1.0"]
build-backend = "setuptools.build_meta"
-[tool.versioningit.vcs]
-method="git"
-default-tag = "v0.0.0"
+[tool.versioningit]
+default-version = "@version@"
[tool.versioningit.write]
file = "src/zlib_ng/_version.py"