mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python3Packages.pikepdf: 1.1.0 -> 1.6.2
pikepdf's tests work with the nixpkgs versions of pytest, attrs, and hypothesis. I skipped bumping these to avoid mass rebuilds. This fixes #67850.
This commit is contained in:
parent
eeec6d7325
commit
a1349065d6
1 changed files with 7 additions and 5 deletions
|
@ -22,12 +22,12 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pikepdf";
|
pname = "pikepdf";
|
||||||
version = "1.1.0";
|
version = "1.6.2";
|
||||||
disabled = ! isPy3k;
|
disabled = ! isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "14b36r6h3088z2sxp2pqvm171js53hz53mwm1g52iadignjnp0my";
|
sha256 = "1x1b55znr0j4fib69l2h0xq0qmbf2nbxwbwd4f7y8r4sqi20239z";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -55,8 +55,11 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [ defusedxml lxml ];
|
propagatedBuildInputs = [ defusedxml lxml ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements/test.txt \
|
sed -i \
|
||||||
--replace "pytest >= 3.6.0, < 4.1.0" "pytest >= 4.2.1, < 5"
|
-e 's/^pytest .*/pytest/g' \
|
||||||
|
-e 's/^attrs .*/attrs/g' \
|
||||||
|
-e 's/^hypothesis .*/hypothesis/g' \
|
||||||
|
requirements/test.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
@ -70,4 +73,3 @@ buildPythonPackage rec {
|
||||||
maintainers = [ maintainers.kiwi ];
|
maintainers = [ maintainers.kiwi ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue