Merge pull request #67853 from ivan/pikepdf-fix-build
python3Packages.pikepdf: 1.1.0 -> 1.6.2, pybind11: 2.2.4 -> 2.3.0
This commit is contained in:
commit
3104cb2867
@ -22,12 +22,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pikepdf";
|
||||
version = "1.1.0";
|
||||
version = "1.6.2";
|
||||
disabled = ! isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14b36r6h3088z2sxp2pqvm171js53hz53mwm1g52iadignjnp0my";
|
||||
sha256 = "1x1b55znr0j4fib69l2h0xq0qmbf2nbxwbwd4f7y8r4sqi20239z";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -55,8 +55,11 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ defusedxml lxml ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/test.txt \
|
||||
--replace "pytest >= 3.6.0, < 4.1.0" "pytest >= 4.2.1, < 5"
|
||||
sed -i \
|
||||
-e 's/^pytest .*/pytest/g' \
|
||||
-e 's/^attrs .*/attrs/g' \
|
||||
-e 's/^hypothesis .*/hypothesis/g' \
|
||||
requirements/test.txt
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
@ -70,4 +73,3 @@ buildPythonPackage rec {
|
||||
maintainers = [ maintainers.kiwi ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pybind11";
|
||||
version = "2.2.4";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1kz1z2cg3q901q9spkdhksmcfiskaghzmbb9ivr5mva856yvnak4";
|
||||
sha256 = "0923ngd2cvck3lhl7584y08n36pm6zqihfm1s69sbdc11xg936hr";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
Loading…
Reference in New Issue
Block a user