Merge pull request #109259 from oxzi/pytmx-3.24.0
pytmx: 3.22.0 -> 3.24.0
This commit is contained in:
commit
45c1428afa
1 changed files with 12 additions and 5 deletions
|
@ -1,21 +1,28 @@
|
||||||
{ lib, fetchFromGitHub, isPy3k, buildPythonPackage, pygame, pyglet, pysdl2, six }:
|
{ lib, fetchFromGitHub
|
||||||
|
, python, buildPythonPackage, isPy27
|
||||||
|
, pygame, pyglet, pysdl2, six
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytmx";
|
pname = "pytmx";
|
||||||
version = "3.22.0";
|
version = "3.24.0";
|
||||||
|
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
# The release was not git tagged.
|
# The release was not git tagged.
|
||||||
owner = "bitcraft";
|
owner = "bitcraft";
|
||||||
repo = "PyTMX";
|
repo = "PyTMX";
|
||||||
rev = "187fd429dadcdc5828e78e6748a983aa1434e4d2";
|
rev = "eb96efea30d57b731654b2a167d86b8b553b147d";
|
||||||
sha256 = "0480pr61v54bwdyzb983sk0fqkyfbcgrdn8k11yf1yck4zb119gc";
|
sha256 = "1g1j4w75zw76p5f8m5v0hdigdlva2flf0ngyk8nvqcwzcl5vq5wc";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pygame pyglet pysdl2 six ];
|
propagatedBuildInputs = [ pygame pyglet pysdl2 six ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
python -m unittest tests.pytmx.test_pytmx
|
# Change into the test directory due to a relative resource path.
|
||||||
|
cd tests/pytmx
|
||||||
|
${python.interpreter} -m unittest test_pytmx
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue