python3Packages.zlib-ng: 0.5.1 -> 1.0.0 (#446977)
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user