3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.traits: 6.2.0 -> 6.3.0

This commit is contained in:
Martin Weinelt 2021-10-09 00:23:17 +02:00
parent fe669c1778
commit 5c437db2d4

View file

@ -9,22 +9,16 @@
buildPythonPackage rec {
pname = "traits";
version = "6.2.0";
disabled = isPy27; # setup.py no longer py3 compat
version = "6.3.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "16fa1518b0778fd53bf0547e6a562b1787bf68c8f6b7995a13bd1902529fdb0c";
sha256 = "770241df047feb9e3ed4c26a36c2468a5b754e6082a78eeb737f058bd45344f5";
};
# Use pytest because its easier to discover tests
buildInputs = [ pytest ];
propagatedBuildInputs = [ numpy ];
checkPhase = ''
py.test $out/${python.sitePackages}
'';
# Test suite is broken for 3.x on latest release
# https://github.com/enthought/traits/issues/187
# https://github.com/enthought/traits/pull/188
@ -34,7 +28,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Explicitly typed attributes for Python";
homepage = "https://pypi.python.org/pypi/traits";
license = "BSD";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}