Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-reproject
python-reproject.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-reproject.spec of Package python-reproject
# # spec file for package python-reproject # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test %bcond_without test %else %define psuffix %{nil} %bcond_with test %endif Name: python-reproject%{psuffix} Version: 0.14.1 Release: 0 Summary: Reproject astronomical images License: BSD-3-Clause URL: https://reproject.readthedocs.io # Repo-URL: https://github.com/astropy/reproject Source: https://github.com/astropy/reproject/archive/refs/tags/v%{version}.tar.gz#/reproject-%{version}-gh.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module extension-helpers} BuildRequires: %{python_module numpy-devel >= 1.17} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-astropy >= 5 Requires: python-astropy-healpix >= 1 Requires: python-cloudpickle Requires: python-dask-array >= 2021.8 Requires: python-fsspec Requires: python-numpy >= 1.23 Requires: python-scipy >= 1.9 Requires: python-zarr %if %{with test} BuildRequires: %{python_module Shapely >= 2.0.2} BuildRequires: %{python_module asdf} BuildRequires: %{python_module gwcs} BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module pytest-arraydiff >= 0.5} BuildRequires: %{python_module pytest-astropy} BuildRequires: %{python_module pytest-doctestplus} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pyvo} BuildRequires: %{python_module reproject = %{version}} %endif %python_subpackages %description Reproject astronomical images %prep %setup -q -n reproject-%{version} %build %if !%{with test} export CFLAGS="%{optflags}" export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %endif %install %if !%{with test} %pyproject_install %{python_expand # rm -r %{buildroot}%{$python_sitearch}/reproject/spherical_intersect/*.h %fdupes %{buildroot}%{$python_sitearch} } %endif %if %{with test} %check mv reproject reproject.src # cannot edit FITS file in system donttest='test_reproject_order[block_size1]' %pytest_arch -n auto --pyargs reproject -k "not ($donttest)" %endif %if !%{with test} %files %{python_files} %doc CHANGES.md README.rst %license LICENSE %{python_sitearch}/reproject %{python_sitearch}/reproject-%{version}.dist-info %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor