pytmx: 3.21.7 -> 3.22.0

Next to the version bump, this fixes the test for Python 2.
This commit is contained in:
Alvar Penning 2020-07-19 14:13:24 +02:00 committed by Frederik Rietdijk
parent 8fad71498d
commit 17dfbf4406

View File

@ -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; {