%global unmangled_name proton-core %global github_repo_name python-proton-core Name: python-%{unmangled_name} Version: 0.1.15 Release: 1%{?dist} Summary: %{unmangled_name} library License: GPL-3.0-or-later URL: https://github.com/ProtonVPN/%{github_repo_name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch %global _description %{expand: The %{unmangled_name} component contains core logic used by the other ProtonVPN components, such as API and SSO. } %description %_description %package -n python3-%{unmangled_name} Summary: %{summary} # It conflicts with python3-proton-client because both use the same namespace `proton` Conflicts: python3-proton-client %description -n python3-%{unmangled_name} %_description %prep %autosetup -p1 -n %{github_repo_name}-%{version} %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files proton # Given that tests are run on our internal gitlab repositories against our internal test API, # we can safely ignore them here and only check if they can be properly imported. %check %pyproject_check_import %files -n python3-%{unmangled_name} -f %{pyproject_files} %changelog * Wed Oct 25 2023 Xavier Piroux 0.1.15 - fixing race condition in async_refresh() * Tue Oct 24 2023 Josep Llaneras 0.1.14 - Fix crash on Python 3.12 * Thu Oct 19 2023 Alexandru Cheltuitor 0.1.13 - Amend setup.py - Add minimum required python version * Thu Jul 13 2023 Xavier Piroux 0.1.12 - async_api_request() : raise Exception instead of return None in case of error * Fri May 12 2023 Xavier Piroux 0.1.11 - API URL : https://vpn-api.proton.me - fixed Alternative Routing : support IP addresses * Wed Apr 19 2023 Alexandru Cheltuitor 0.1.10 - Add license * Thu Apr 06 2023 Xavier Piroux 0.1.9 - proton-sso: fixing 2fa * Mon Mar 27 2023 Josep Llaneras 0.1.8 - Allow running proton.sso module * Tue Mar 07 2023 Alexandru Cheltuitor 0.1.7 - Hide SSO CLI * Tue Mar 07 2023 Josep Llaneras 0.1.6 - Fix invalid attribute * Mon Mar 06 2023 Josep Llaneras 0.1.5 - Do not leak timeout errors when selecting transport * Fri Mar 03 2023 Josep Llaneras 0.1.4 - Fix alternative routing crash during domain refresh * Mon Feb 13 2023 Alexandru Cheltuitor 0.1.3 - Recursively create product folders * Thu Feb 09 2023 Alexandru Cheltuitor 0.1.2 - Rely on API for username validation * Wed Feb 08 2023 Josep Llaneras 0.1.1 - Handle aiohttp timeout error * Fri Jan 20 2023 Josep Llaneras 0.1.0 - Support posting form-encoded data * Wed Sep 14 2022 Josep Llaneras 0.0.2 - Make Loader.get_all thread safe. * Wed Jun 1 2022 Xavier Piroux 0.0.1 - First RPM release