pythonPackages.elementpath: 1.3.3 -> 1.4.0

This commit is contained in:
Jonathan Ringer 2020-01-03 10:54:00 -08:00 committed by Frederik Rietdijk
parent 8817036a31
commit 8d6d53b173

View file

@ -1,19 +1,28 @@
{ lib, buildPythonPackage, fetchFromGitHub }: { lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.3.3"; version = "1.4.0";
pname = "elementpath"; pname = "elementpath";
disabled = isPy27; # uses incompatible class syntax
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sissaschool"; owner = "sissaschool";
repo = "elementpath"; repo = "elementpath";
rev = "v${version}"; rev = "v${version}";
sha256 = "05wplh836ffwhncf5rpdnz4g1b3mqw7jiy83352nw4x3aak4ifbr"; sha256 = "1fmwy7plcgxam09cx3z11068k0c98wcsgclmxdq8chsd6id3632y";
}; };
# avoid circular dependency with xmlschema which directly depends on this # avoid circular dependency with xmlschema which directly depends on this
doCheck = false; doCheck = false;
pythonImportsCheck = [
"elementpath.xpath1_parser"
"elementpath.xpath2_parser"
"elementpath.xpath2_functions"
"elementpath.xpath_context"
"elementpath.xpath_selectors"
];
meta = with lib; { meta = with lib; {
description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"; description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";
homepage = "https://github.com/sissaschool/elementpath"; homepage = "https://github.com/sissaschool/elementpath";