Merge pull request #95529 from jonringer/bump-elementpath
python3Packages.elementpath: 1.4.6 -> 2.0.0
This commit is contained in:
commit
e691019f6c
@ -1,7 +1,7 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.4.6";
|
version = "2.0.0";
|
||||||
pname = "elementpath";
|
pname = "elementpath";
|
||||||
disabled = isPy27; # uses incompatible class syntax
|
disabled = isPy27; # uses incompatible class syntax
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ buildPythonPackage rec {
|
|||||||
owner = "sissaschool";
|
owner = "sissaschool";
|
||||||
repo = "elementpath";
|
repo = "elementpath";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0prrqyiw9s9wf91s4f0vhqb9babs43aq24naa66qlirskdm87pav";
|
sha256 = "16kfbiy87qjl07y3iin8jdjhz8j28wlwnkwxq9a0752ipjjg869p";
|
||||||
};
|
};
|
||||||
|
|
||||||
# avoid circular dependency with xmlschema which directly depends on this
|
# avoid circular dependency with xmlschema which directly depends on this
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "1.2.2";
|
version = "1.2.3";
|
||||||
pname = "xmlschema";
|
pname = "xmlschema";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sissaschool";
|
owner = "sissaschool";
|
||||||
repo = "xmlschema";
|
repo = "xmlschema";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "04rlcm5777cv7aw9mf0z1xrj8cn2rljfzs9i2za6sdk6h1ngpj3q";
|
sha256 = "1lasi84d5v66xpd40fbj3lqwc5hfh3izxrr2wbfdbj4a3m996zc9";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ elementpath ];
|
propagatedBuildInputs = [ elementpath ];
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "elementpath~=1.4.0" "elementpath~=1.4"
|
--replace "elementpath~=2.0.0" "elementpath~=2.0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Ignore broken fixtures, and tests for files which don't exist.
|
# Ignore broken fixtures, and tests for files which don't exist.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user