pythonPackages.reproject: fix tests
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
parent
705afab44d
commit
a0f50fe24b
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, fetchpatch
|
||||||
, numpy
|
, numpy
|
||||||
, astropy
|
, astropy
|
||||||
, astropy-healpix
|
, astropy-healpix
|
||||||
@ -24,6 +25,12 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ astropy-helpers cython ];
|
nativeBuildInputs = [ astropy-helpers cython ];
|
||||||
|
|
||||||
|
# Fix tests
|
||||||
|
patches = [ (fetchpatch {
|
||||||
|
url = "https://github.com/astropy/reproject/pull/218/commits/4661e075137424813ed77f1ebcbc251fee1b8467.patch";
|
||||||
|
sha256 = "13g3h824pqn2lgypzg1b87vkd44y7m302lhw3kh4rfww1dkzhm9v";
|
||||||
|
}) ];
|
||||||
|
|
||||||
# Disable automatic update of the astropy-helper module
|
# Disable automatic update of the astropy-helper module
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
|
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user