Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:badshah400:Leap15:python
python-astropy-iers-data
python-astropy-iers-data.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-astropy-iers-data.spec of Package python-astropy-iers-data
# # spec file for package python-astropy-iers-data # # 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" %bcond_without test %define psuffix -test %else %bcond_with test %define psuffix %{nil} %endif Name: python-astropy-iers-data%{psuffix} Version: 0.2024.11.4.0.33.34 Release: 0 Summary: IERS Earth Rotation and Leap Second tables for the astropy core package License: BSD-3-Clause URL: https://github.com/astropy/astropy-iers-data Source: https://files.pythonhosted.org/packages/source/a/astropy-iers-data/astropy_iers_data-%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module astropy-iers-data = %{version}} BuildRequires: %{python_module astropy} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest-remotedata} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} %endif BuildRequires: fdupes BuildArch: noarch %python_subpackages %description IERS Earth Rotation and Leap Second tables for the astropy core package Note: This package is not currently meant to be used directly by users, and only meant to be used from the core astropy package. %prep %autosetup -p1 -n astropy_iers_data-%{version} %if !%{with test} %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %if %{with test} %check # See tox.ini %pytest -n auto -m "not hypothesis" --pyargs astropy.coordinates %pytest -n auto -m "not hypothesis" --pyargs astropy.time %pytest -n auto -m "not hypothesis" --pyargs astropy.utils.iers %endif %if !%{with test} %files %{python_files} %doc README.rst %license LICENSE.rst %{python_sitelib}/astropy_iers_data %{python_sitelib}/astropy_iers_data-%{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