python313Packages.reproject: refactor

This commit is contained in:
Tom Hunze
2025-08-31 15:49:53 +02:00
parent 6974a2da43
commit 7dab189088
@@ -16,7 +16,6 @@
pytest-astropy,
pytest-xdist,
pytestCheckHook,
pythonOlder,
scipy,
setuptools,
setuptools-scm,
@@ -30,8 +29,6 @@ buildPythonPackage rec {
version = "0.15.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "astropy";
repo = "reproject";
@@ -39,11 +36,6 @@ buildPythonPackage rec {
hash = "sha256-gv5LOxXTNdHSx4Q4ydi/QBHhc7/E/DXJD7WuPBAH0dE=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "cython==" "cython>="
'';
build-system = [
setuptools
setuptools-scm
@@ -86,12 +78,12 @@ buildPythonPackage rec {
pythonImportsCheck = [ "reproject" ];
meta = with lib; {
meta = {
description = "Reproject astronomical images";
downloadPage = "https://github.com/astropy/reproject";
homepage = "https://reproject.readthedocs.io";
changelog = "https://github.com/astropy/reproject/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ smaret ];
changelog = "https://github.com/astropy/reproject/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ smaret ];
};
}