15
0
Files
python-proton-vpn-api-core/python-proton-vpn-api-core.spec
Dirk Mueller cadc2cc5bb - update to 0.23.1:
* Added missing pip dependencies.
  * Merged proton-vpn-api-session package into this one.
  * Pass requested features through to session login and two
    factor submit.
  * Provide method to update certificate.
  * Ensure that crash reporting state is preserved between
    restarts.
  * Explicitly state the sentry integrations we want. Dont
    include the ExceptHookIntegration
  * Change url for sentry, dont send server_name, use older
    sentry api
  * Add mechanism to send errors anonymously to sentry.
  * Return list of protocol plugins for a specific backend
    instead of returning a list of protocols names
  * Add WireGuard ports

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proton-vpn-api-core?expand=0&rev=6
2024-05-07 21:13:23 +00:00

76 lines
2.5 KiB
RPMSpec

#
# spec file for package python-proton-vpn-api-core
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-proton-vpn-api-core
Version: 0.23.1
Release: 0
Summary: Proton VPN API library
License: GPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/ProtonVPN/python-proton-vpn-api-core
Source: https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v%{version}.tar.gz
BuildRequires: %{python_module distro}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module proton-core}
BuildRequires: %{python_module proton-vpn-connection}
BuildRequires: %{python_module proton-vpn-killswitch}
BuildRequires: %{python_module proton-vpn-logger}
BuildRequires: %{python_module proton-vpn-session}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sentry-sdk}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
Requires: python-distro
Requires: python-proton-core
Requires: python-proton-vpn-connection
Requires: python-proton-vpn-killswitch
Requires: python-proton-vpn-logger
Requires: python-proton-vpn-session
Requires: python-sentry-sdk
BuildArch: noarch
%python_subpackages
%description
This package contains a facade to the other Proton VPN components, exposing a uniform API for Proton VPN client.
%prep
%autosetup -p1 -n python-proton-vpn-api-core-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/proton
%{python_sitelib}/proton_vpn_api_core-%{version}*-info
%changelog