%global srcname pyvo %global sum Access to remote data and services of the Virtual observatory (VO) using Python %global desc \ PyVO is a package providing access to remote data and services of the \ Virtual Observatory (VO) using Python. \ \ The pyvo module currently provides these main capabilities: \ * Find archives that provide particular data of a particular type and/or \ relates to a particular topic \ * Search an archive for datasets of a particular type \ * Do simple searches on catalogs or databases \ * Get information about an object via its name Name: python-%{srcname} Version: 1.5 Release: 3%{?dist} Summary: %{sum} License: BSD-3-Clause URL: https://github.com/astropy/%{srcname} Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist setuptools} BuildRequires: %{py3_dist setuptools_scm} # testing BuildRequires: %{py3_dist pytest-doctestplus} BuildRequires: %{py3_dist pytest-astropy} BuildRequires: %{py3_dist requests-mock} Provides: python3-pyvo-doc = %{version}-%{release} Obsoletes: python3-pyvo-doc = %{version}-%{release} %description %{desc} %package -n python3-%{srcname} Summary: %{sum} Requires: astropy-tools %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{desc} %prep %autosetup -n %{srcname}-%{version} -p 1 sed -i -e 's|mimeparse|python-mimeparse|' setup.cfg %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyvo %check # Override "warning is error" in setup.cfg %pytest -Wdefault pyvo %files -n python3-%{srcname} -f %{pyproject_files} %license licenses/LICENSE.rst %doc CHANGES.rst README.rst %changelog * Fri Jan 26 2024 Fedora Release Engineering - 1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Dec 30 2023 Sergio Pascual - 1.5-1 - Update to version 1.5 - SPDX license - Using modern spec * Wed Sep 14 2022 Christian Dersch - 1.3-1 * Fri Jul 21 2023 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 7 2023 Mamoru TASAKA - 1.4.1-2 - Drop BR: python3-astropy-helpers, no longer used * Mon Mar 27 2023 Christian Dersch - 1.4.1-1 - new version * Fri Jan 20 2023 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Sep 26 2022 Christian Dersch - 1.4-1 - Update to version 1.4 * Wed Sep 14 2022 Christian Dersch - 1.3-1 - Update to version 1.3 * Fri Jul 22 2022 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 1.2-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Dec 26 2021 Christian Dersch - 1.2-1 - new version * Fri Jul 23 2021 Fedora Release Engineering - 1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 17 2020 Christian Dersch - 1.1-1 - new version * Tue May 26 2020 Miro Hrončok - 1.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Oct 27 2019 Christian Dersch - 1.0-1 - new version * Thu Oct 03 2019 Miro Hrončok - 0.9.3-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.9.3-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 20 2019 Kevin Fenzi - 0.9.3-2 - Fix requires for python-mimeparse instead of just mimeparse * Fri May 31 2019 Christian Dersch - 0.9.3-1 - new version * Sat Feb 02 2019 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 19 2018 Christian Dersch - 0.9.2-1 - new version * Tue Oct 02 2018 Christian Dersch - 0.9.1-2 - drop python2 subpackage (#1634584) * Tue Oct 02 2018 Christian Dersch - 0.9.1-1 - new version * Sat Jul 14 2018 Fedora Release Engineering - 0.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jul 08 2018 Christian Dersch - 0.8.1-3 - Fix build with Python 3.7 * Fri Jul 06 2018 Christian Dersch - 0.8.1-2 - Rebuild for Python 3.7 * Wed Jun 27 2018 Christian Dersch - 0.8.1-1 - new version * Tue Jun 19 2018 Miro Hrončok - 0.8-2 - Rebuilt for Python 3.7 * Fri Jun 08 2018 Christian Dersch - 0.8-1 - new version * Wed Feb 14 2018 Christian Dersch - 0.6.1-4 - rebuilt * Fri Feb 09 2018 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 29 2017 Christian Dersch - 0.6.1-1 - new version * Tue Apr 11 2017 Christian Dersch - 0.6.0-1.git20170411.3fa56a6 - new version * Thu Feb 09 2017 Christian Dersch - 0.5.2-1 - new version * Tue Jan 17 2017 Christian Dersch - 0.5.0.1-1 - new version * Mon Jan 16 2017 Christian Dersch - 0.5.0-1 - new version * Mon Dec 19 2016 Miro Hrončok - 0.4.1-3.20161020git823b14a - Rebuild for Python 3.6 * Sun Dec 04 2016 Christian Dersch - 0.4.1-2.20161020git823b14a - Added -doc subpackage - Added missing requirement for requests * Mon Oct 31 2016 Christian Dersch - 0.4.1-1 - new version * Wed Oct 5 2016 Christian Dersch - 0.0-0.1.2016100570090d6 - Initial package