pythonPackages.astropy: disable for python 2
This commit is contained in:
parent
b34af91889
commit
3d989e3d7a
@ -1,16 +1,18 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
, numpy
|
, numpy
|
||||||
, pytest }:
|
, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
|
||||||
pname = "astropy";
|
pname = "astropy";
|
||||||
version = "3.0";
|
version = "3.0";
|
||||||
|
|
||||||
name = "${pname}-${version}";
|
disabled = !isPy3k; # according to setup.py
|
||||||
|
|
||||||
doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook.
|
doCheck = false; #Some tests are failing. More importantly setup.py hangs on completion. Needs fixing with a proper shellhook.
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "9e0ad19b9d6d227bdf0932bbe64a8c5dd4a47d4ec078586cf24bf9f0c61d9ecf";
|
sha256 = "9e0ad19b9d6d227bdf0932bbe64a8c5dd4a47d4ec078586cf24bf9f0c61d9ecf";
|
||||||
@ -18,7 +20,6 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
|
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Astronomy/Astrophysics library for Python";
|
description = "Astronomy/Astrophysics library for Python";
|
||||||
homepage = http://www.astropy.org;
|
homepage = http://www.astropy.org;
|
||||||
|
Loading…
Reference in New Issue
Block a user