python3Packages.astroquery: unbreak
This commit is contained in:
parent
8df2e76984
commit
545350f147
1 changed files with 1 additions and 5 deletions
|
@ -15,6 +15,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "astroquery";
|
pname = "astroquery";
|
||||||
version = "0.4.1";
|
version = "0.4.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -31,11 +32,6 @@ buildPythonPackage rec {
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
checkInputs = [ pytest pytest-astropy ];
|
checkInputs = [ pytest pytest-astropy ];
|
||||||
|
|
||||||
# Disable automatic update of the astropy-helper module
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Tests must be run in the build directory. The tests create files
|
# Tests must be run in the build directory. The tests create files
|
||||||
# in $HOME/.astropy so we need to set HOME to $TMPDIR.
|
# in $HOME/.astropy so we need to set HOME to $TMPDIR.
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue