|
|
b93289d |
%global module_name erfa
|
|
|
b93289d |
%global pypi_name pyerfa
|
|
|
259b5b8 |
# tests need pytest-astropy, needs astropy, needs pyerfa
|
|
|
259b5b8 |
%bcond_without tests
|
|
|
b93289d |
|
|
|
b93289d |
Name: python-pyerfa
|
|
Sergio Pascual |
3462f8f |
Version: 2.0.1.1
|
|
|
ba72a40 |
Release: 3%{?dist}
|
|
|
b93289d |
Summary: Python wrapper for the ERFA library
|
|
Sergio Pascual |
3462f8f |
License: BSD-3-Clause
|
|
|
b93289d |
URL: https://github.com/liberfa/pyerfa
|
|
|
b93289d |
Source0: %{pypi_source}
|
|
|
b93289d |
|
|
|
b93289d |
# Python BuildRequires
|
|
|
b93289d |
BuildRequires: python3-devel
|
|
|
b93289d |
BuildRequires: erfa-devel
|
|
|
b93289d |
BuildRequires: gcc
|
|
|
b93289d |
|
|
|
b93289d |
|
|
|
b93289d |
%description
|
|
|
b93289d |
PyERFA is the Python wrapper for the ERFA library (Essential Routines for
|
|
|
b93289d |
Fundamental Astronomy), a C library containing key algorithms for astronomy,
|
|
|
b93289d |
which is based on the SOFA library published by the International Astronomical
|
|
|
b93289d |
Union (IAU). All C routines are wrapped as Numpy universal functions, so that
|
|
|
b93289d |
they can be called with scalar or array inputs.
|
|
|
b93289d |
|
|
|
b93289d |
|
|
|
b93289d |
%package -n python3-%{pypi_name}
|
|
|
b93289d |
Summary: %{summary}
|
|
|
b93289d |
|
|
|
b93289d |
%description -n python3-%{pypi_name}
|
|
|
b93289d |
PyERFA is the Python wrapper for the ERFA library (Essential Routines for
|
|
|
b93289d |
Fundamental Astronomy), a C library containing key algorithms for astronomy,
|
|
|
b93289d |
which is based on the SOFA library published by the International Astronomical
|
|
|
b93289d |
Union (IAU). All C routines are wrapped as Numpy universal functions, so that
|
|
|
b93289d |
they can be called with scalar or array inputs.
|
|
|
b93289d |
|
|
|
b93289d |
|
|
|
b93289d |
%prep
|
|
|
b93289d |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
b93289d |
|
|
Sergio Pascual |
3462f8f |
%generate_buildrequires
|
|
Sergio Pascual |
3462f8f |
%pyproject_buildrequires -t
|
|
Sergio Pascual |
3462f8f |
|
|
|
b93289d |
|
|
|
b93289d |
%build
|
|
|
b93289d |
# Build using system liberfa, not bundled one
|
|
Sergio Pascual |
3462f8f |
export PYERFA_USE_SYSTEM_LIBERFA=1
|
|
Sergio Pascual |
3462f8f |
%pyproject_wheel
|
|
|
b93289d |
|
|
|
b93289d |
|
|
|
b93289d |
%install
|
|
Sergio Pascual |
3462f8f |
%pyproject_install
|
|
Sergio Pascual |
3462f8f |
%pyproject_save_files %{module_name}
|
|
|
b93289d |
|
|
|
b93289d |
|
|
|
b93289d |
%check
|
|
|
259b5b8 |
%if %{with tests}
|
|
Sergio Pascual |
3462f8f |
%{tox}
|
|
|
259b5b8 |
%else
|
|
|
259b5b8 |
%py3_check_import %{module_name}
|
|
|
259b5b8 |
%endif
|
|
|
b93289d |
|
|
Sergio Pascual |
3462f8f |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
b93289d |
%license LICENSE.rst
|
|
|
b93289d |
%doc AUTHORS.rst CHANGES.rst README.rst
|
|
|
b93289d |
|
|
|
b93289d |
|
|
|
b93289d |
%changelog
|
|
|
ba72a40 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1.1-3
|
|
|
ba72a40 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
ba72a40 |
|
|
|
b986723 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1.1-2
|
|
|
b986723 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
b986723 |
|
|
Sergio Pascual |
3462f8f |
* Tue Jan 02 2024 Sergio Pascual <sergiopr@fedoraproject.org> - 2.0.1.1-1
|
|
Sergio Pascual |
3462f8f |
- new version
|
|
Sergio Pascual |
3462f8f |
- using SPDX license name
|
|
Sergio Pascual |
3462f8f |
|
|
|
427bb14 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.3-4
|
|
|
427bb14 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
427bb14 |
|
|
|
7abd79b |
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 2.0.0.3-3
|
|
|
7abd79b |
- Rebuilt for Python 3.12
|
|
|
7abd79b |
|
|
|
6d83a2c |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.0.3-2
|
|
|
6d83a2c |
- Bootstrap for Python 3.12
|
|
|
6d83a2c |
|
|
|
a443cfc |
* Mon Mar 27 2023 Christian Dersch <lupinix@fedoraproject.org> - 2.0.0.3-1
|
|
|
a443cfc |
- new version
|
|
|
a443cfc |
|
|
|
fb62b05 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.1-6
|
|
|
fb62b05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
fb62b05 |
|
|
|
1175f4a |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.1-5
|
|
|
1175f4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
1175f4a |
|
|
|
9425cff |
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 2.0.0.1-4
|
|
|
9425cff |
- Rebuilt for Python 3.11
|
|
|
9425cff |
|
|
|
68cbfbf |
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 2.0.0.1-3
|
|
|
68cbfbf |
- Bootstrap for Python 3.11
|
|
|
68cbfbf |
|
|
|
c81eced |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.1-2
|
|
|
c81eced |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
c81eced |
|
|
|
bea3520 |
* Sun Dec 26 2021 Christian Dersch <lupinix@fedoraproject.org> - 2.0.0.1-1
|
|
|
bea3520 |
- new version
|
|
|
bea3520 |
|
|
|
2a11010 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
|
2a11010 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
2a11010 |
|
|
|
8ddfdf5 |
* Fri Jun 11 2021 Christian Dersch <lupinix@mailbox.org> - 2.0.0-1
|
|
|
8ddfdf5 |
- new version
|
|
|
8ddfdf5 |
|
|
|
63a411a |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.7.1.1-3
|
|
|
63a411a |
- Rebuilt for Python 3.10
|
|
|
63a411a |
|
|
|
8796aba |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1.1-2
|
|
|
8796aba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8796aba |
|
|
|
b93289d |
* Fri Nov 20 11:37:40 CET 2020 Christian Dersch <lupinix@fedoraproject.org> - 1.7.1.1-1
|
|
|
dde4568 |
- initial package (Review: RHBZ #1898135)
|