python310Packages.xsdata: use docformatter 1.5.1
This commit is contained in:
committed by
Robert Schütz
parent
5a2b689d25
commit
dcf4487fc7
@@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, click
|
||||
, click-default-group
|
||||
, docformatter
|
||||
@@ -25,6 +26,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-o9Xxt7b/+MkW94Jcg26ihaTn0/OpTcu+0OY7oV3JRGY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/tefra/xsdata/pull/741
|
||||
(fetchpatch {
|
||||
name = "use-docformatter-1.5.1.patch";
|
||||
url = "https://github.com/tefra/xsdata/commit/040692db47e6e51028fd959c793e757858c392d7.patch";
|
||||
excludes = [ "setup.cfg" ];
|
||||
hash = "sha256-ncecMJLJUiUb4lB8ys+nyiGU/UmayK++o89h3sAwREQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--benchmark-skip" ""
|
||||
|
||||
Reference in New Issue
Block a user