python3Packages.pikepdf: 10.5.1 -> 10.6.0
Diff: https://github.com/pikepdf/pikepdf/compare/v10.5.1...v10.6.0 Changelog: https://github.com/pikepdf/pikepdf/blob/v10.6.0/docs/releasenotes/version10.md
This commit is contained in:
committed by
Martin Weinelt
parent
3f544ddd49
commit
e03a901005
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
attrs,
|
||||
buildPythonPackage,
|
||||
cmake,
|
||||
fetchFromGitHub,
|
||||
hypothesis,
|
||||
jbig2dec,
|
||||
@@ -9,23 +10,24 @@
|
||||
lxml,
|
||||
withMupdf ? false,
|
||||
mupdf-headless,
|
||||
nanobind,
|
||||
ninja,
|
||||
numpy,
|
||||
packaging,
|
||||
pillow,
|
||||
psutil,
|
||||
pybind11,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
python-xmp-toolkit,
|
||||
qpdf,
|
||||
setuptools,
|
||||
replaceVars,
|
||||
scikit-build-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pikepdf";
|
||||
version = "10.5.1";
|
||||
version = "10.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@@ -38,7 +40,7 @@ buildPythonPackage rec {
|
||||
postFetch = ''
|
||||
rm "$out/.git_archival.txt"
|
||||
'';
|
||||
hash = "sha256-x17cRef8rB5UQQws48G/IqeSp4B3CaLzIoUIQ8fJeUg=";
|
||||
hash = "sha256-COEAY9/H9KZ1Tyj89CFMBl9ydTro82qk1XYWbaI9AFY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -54,18 +56,17 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "shims_enabled = not cflags_defined" "shims_enabled = False"
|
||||
'';
|
||||
|
||||
buildInputs = [ qpdf ];
|
||||
|
||||
build-system = [
|
||||
pybind11
|
||||
setuptools
|
||||
cmake
|
||||
nanobind
|
||||
ninja
|
||||
scikit-build-core
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
attrs
|
||||
hypothesis
|
||||
|
||||
Reference in New Issue
Block a user