%global modname github3py %global srcname github3.py %global altname github3 # Tests require internet connection to github.com %bcond_with tests Name: python-%{modname} Version: 4.0.1 Release: 8%{?dist} Summary: Python wrapper for the GitHub API # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://github3py.readthedocs.org Source0: https://github.com/sigmavirus24/%{srcname}/archive/%{version}%{?rctag:%{rctag}}/%{modname}-%{version}%{?rctag:%{rctag}}.tar.gz BuildArch: noarch %global _description \ github3.py is a comprehensive, actively developed and extraordinarily stable\ wrapper around the GitHub API (v3). %description %{_description} %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} %{?python_provide:%python_provide python3-%{srcname}} %{?python_provide:%python_provide python3-%{altname}} BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros BuildRequires: python3dist(hatchling) %description -n python3-%{modname} %{_description} Python 3 version. %prep %autosetup -n %{srcname}-%{version}%{?rctag:%{rctag}} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{altname} %if %{with tests} %check %tox %endif %files -n python3-%{modname} -f %{pyproject_files} %license LICENSE %doc AUTHORS.rst README.rst %changelog * Wed Sep 04 2024 Miroslav Suchý - 4.0.1-8 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 4.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 4.0.1-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 4.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 4.0.1-2 - Rebuilt for Python 3.12 * Thu Apr 27 2023 Alexander Bokovoy - 4.0.1 - Upstream release 4.0.1 - Switch to pyproject.toml for builds - Resolves: rhbz#2188990 * Fri Jan 20 2023 Fedora Release Engineering - 3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jul 20 2022 Alexander Bokovoy - 3.2.0-1 - 3.2.0 - Resolves: rhbz#2108898 * Mon Jun 13 2022 Python Maint - 3.0.0-2 - Rebuilt for Python 3.11 * Wed May 04 2022 Alexander Bokovoy - 3.0.0-1 - 3.0.0 - Resolves: rhbz#2025492 * Fri Jan 21 2022 Fedora Release Engineering - 1.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.3.0-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.3.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Nov 23 2019 François Cami - 1.3.0-1 - Update to 1.3.0 (rhbz#1775954, #1770701, #1770832) * Thu Oct 03 2019 Miro Hrončok - 1.0.0-0.13a4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.0.0-0.12a4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-0.11a4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.0.0-0.10a4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 1.0.0-0.9a4 - Subpackage python2-github3py has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 1.0.0-0.8a4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.0.0-0.7a4 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.0.0-0.6a4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0.0-0.5a4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0.0-0.4a4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.0.0-0.3a4 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.0.0-0.2a4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Jun 29 2016 Igor Gnatenko - 1.0.0-0.1a4 - Initial package