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