python312Packages.isal: 1.7.0 -> 1.7.0

https://github.com/pycompression/python-isal/blob/v1.7.0/CHANGELOG.rst
This commit is contained in:
Martin Weinelt
2024-08-11 18:05:18 +02:00
parent 3d856e4c3b
commit 7500479545
2 changed files with 31 additions and 3 deletions
@@ -2,9 +2,11 @@
lib,
buildPythonPackage,
fetchFromGitHub,
substituteAll,
# build-system
setuptools,
versioningit,
# native dependencies
isa-l,
@@ -16,17 +18,27 @@
buildPythonPackage rec {
pname = "isal";
version = "1.6.1";
version = "1.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pycompression";
repo = "python-isal";
rev = "v${version}";
hash = "sha256-EhdKT2ftyU2zevFg9Yi3q2FVx0FmKwJMzszsK1NS3Qg=";
hash = "sha256-wasybbNWBa6Zd0JI2/lBNUkvEOY3/iBqsVWh/4WPM2s=";
};
build-system = [ setuptools ];
patches = [
(substituteAll {
src = ./version.patch;
inherit version;
})
];
build-system = [
setuptools
versioningit
];
buildInputs = [ isa-l ];
@@ -0,0 +1,16 @@
diff --git a/pyproject.toml b/pyproject.toml
index bf5fe99..b559255 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/isal/_version.py"