aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/elementpath
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-03-24 10:15:32 +0100
committerKatharina Fey <kookie@spacekookie.de>2020-03-24 10:15:32 +0100
commit96f063dd321abc80ecaa156226cfb7cf9540315a (patch)
tree7a53ef61484fc7bfff6419b1fd635c67199f27d2 /nixpkgs/pkgs/development/python-modules/elementpath
parentaf58f08d3d524e7b008b73a8497ea710915ffaf1 (diff)
parentd96bd3394b734487d1c3bfbac0e8f17465e03afe (diff)
Merge commit 'd96bd3394b734487d1c3bfbac0e8f17465e03afe'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/elementpath')
-rw-r--r--nixpkgs/pkgs/development/python-modules/elementpath/default.nix15
1 files changed, 12 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/elementpath/default.nix b/nixpkgs/pkgs/development/python-modules/elementpath/default.nix
index 093a30d29da..903e74e3278 100644
--- a/nixpkgs/pkgs/development/python-modules/elementpath/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/elementpath/default.nix
@@ -1,19 +1,28 @@
-{ lib, buildPythonPackage, fetchFromGitHub }:
+{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
buildPythonPackage rec {
- version = "1.3.3";
+ version = "1.4.2";
pname = "elementpath";
+ disabled = isPy27; # uses incompatible class syntax
src = fetchFromGitHub {
owner = "sissaschool";
repo = "elementpath";
rev = "v${version}";
- sha256 = "05wplh836ffwhncf5rpdnz4g1b3mqw7jiy83352nw4x3aak4ifbr";
+ sha256 = "0dd5si2ml3srn8snp7x3y4xjamssmnp05h41aqazzd9ykwmhh919";
};
# avoid circular dependency with xmlschema which directly depends on this
doCheck = false;
+ pythonImportsCheck = [
+ "elementpath.xpath1_parser"
+ "elementpath.xpath2_parser"
+ "elementpath.xpath2_functions"
+ "elementpath.xpath_context"
+ "elementpath.xpath_selectors"
+ ];
+
meta = with lib; {
description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";
homepage = "https://github.com/sissaschool/elementpath";