Merge pull request #129011 from fabaff/bump-ephem
python3Packages.ephem: 3.7.7.1 -> 4.0.0.2
This commit is contained in:
commit
54054030a2
1 changed files with 19 additions and 9 deletions
|
@ -1,26 +1,36 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
{ lib
|
||||||
, glibcLocales, pytest }:
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
, glibcLocales
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ephem";
|
pname = "ephem";
|
||||||
version = "3.7.7.1";
|
version = "4.0.0.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "36b51a8dc7cfdeb456dd6b8ab811accab8341b2d562ee3c6f4c86f6d3dbb984e";
|
sha256 = "sha256-0D3nPr9qkWgdWX61tdQ7z28MZ+KSu6L5qXRzS08VdX4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchFlags = [ "-p0" ];
|
checkInputs = [
|
||||||
checkInputs = [ pytest glibcLocales ];
|
glibcLocales
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
# JPLTest uses assets not distributed in package
|
# JPLTest uses assets not distributed in package
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
LC_ALL="en_US.UTF-8" py.test --pyargs ephem.tests -k "not JPLTest"
|
LC_ALL="en_US.UTF-8" pytest --pyargs ephem.tests -k "not JPLTest"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "ephem" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Compute positions of the planets and stars";
|
description = "Compute positions of the planets and stars";
|
||||||
homepage = "https://pypi.python.org/pypi/ephem/";
|
homepage = "https://github.com/brandon-rhodes/pyephem";
|
||||||
license = licenses.lgpl3;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ chrisrosset ];
|
maintainers = with maintainers; [ chrisrosset ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue