From 17dfbf4406e21a33cc98102b02a81749e2e498e2 Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Sun, 19 Jul 2020 14:13:24 +0200 Subject: [PATCH] pytmx: 3.21.7 -> 3.22.0 Next to the version bump, this fixes the test for Python 2. --- pkgs/development/python-modules/pytmx/default.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/pytmx/default.nix b/pkgs/development/python-modules/pytmx/default.nix index 0745aacc3782..9b1e3a106925 100644 --- a/pkgs/development/python-modules/pytmx/default.nix +++ b/pkgs/development/python-modules/pytmx/default.nix @@ -2,26 +2,20 @@ buildPythonPackage rec { pname = "pytmx"; - version = "3.21.7"; + version = "3.22.0"; src = fetchFromGitHub { # The release was not git tagged. owner = "bitcraft"; repo = "PyTMX"; - rev = "38519b94ab9a2db7cacb8e18de4d83750ec6fac2"; - sha256 = "0p2gc6lgian1yk4qvhbkxfkmndf9ras70amigqzzwr02y2jvq7j8"; + rev = "187fd429dadcdc5828e78e6748a983aa1434e4d2"; + sha256 = "0480pr61v54bwdyzb983sk0fqkyfbcgrdn8k11yf1yck4zb119gc"; }; propagatedBuildInputs = [ pygame pyglet pysdl2 six ]; - # The tests are failing for Python 2.7. - doCheck = isPy3k; checkPhase = '' - # The following test imports an example file from the current working - # directory. Thus, we're cd'ing into the test directory. - - cd tests/ - python -m unittest test_pytmx + python -m unittest tests.pytmx.test_pytmx ''; meta = with lib; {