python3Packages.reproject: unbreak

This commit is contained in:
Robert T. McGibbon 2020-12-28 14:27:06 -05:00
parent 0cdd25eba3
commit f5dc54e7b6

View file

@ -6,7 +6,7 @@
, astropy
, astropy-healpix
, astropy-helpers
, extension-helpers
, astropy-extension-helpers
, scipy
, pytest
, pytest-astropy
@ -23,15 +23,16 @@ buildPythonPackage rec {
sha256 = "1jsc3ad518vyys5987fr1achq8qvnz8rm80zp5an9qxlwr4zmh4m";
};
propagatedBuildInputs = [ numpy astropy astropy-healpix astropy-helpers scipy ];
nativeBuildInputs = [ astropy-helpers cython extension-helpers setuptools_scm ];
# Disable automatic update of the astropy-helper module
postPatch = ''
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
'';
patches = [ (fetchpatch {
# Can be removed in next release after 0.7.1
# See https://github.com/astropy/reproject/issues/246
url = "https://github.com/astropy/reproject/pull/243.patch";
sha256 = "0dq3ii39hsrks0b9v306dlqf07dx0hqad8rwajmzw6rfda9m3c2a";
})
];
propagatedBuildInputs = [ numpy astropy aqstropy-healpix astropy-helpers scipy ];
nativeBuildInputs = [ astropy-helpers cyqthon astropy-extension-helpers setuptools_scm ];
checkInputs = [ pytest pytest-astropy ];
# Tests must be run in the build directory