Merge pull request #128293 from eduardosm/python-poppler-qt5
python3Packages.poppler-qt5: reduce the amount of patching done to `pyproject.toml`
This commit is contained in:
commit
ab8fc0743e
@ -1,9 +1,7 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, pythonPackages
|
||||
, sip
|
||||
, qtbase
|
||||
, qmake
|
||||
@ -42,11 +40,8 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
cat <<EOF >> pyproject.toml
|
||||
sip-include-dirs = ["${pyqt5}/share/sip/PyQt5"]
|
||||
|
||||
[tool.sip.bindings.Poppler-Qt5]
|
||||
include-dirs = ["${poppler.dev}/include/poppler"]
|
||||
tags = ["${sip.platform_tag}"]
|
||||
EOF
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user