Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-protonvpn-nm-lib
python-protonvpn-nm-lib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-protonvpn-nm-lib.spec of Package python-protonvpn-nm-lib
# # spec file for package python-protonvpn-nm-lib # # 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/ # %define skip_python2 1 # test suite requires network connection, you can test locally with `rpmbuild --with test` %bcond_with test Name: python-protonvpn-nm-lib Version: 3.16.0 Release: 0 Summary: Proton VPN NetworkManager library License: GPL-3.0-or-later Group: Development/Languages/Python URL: https://github.com/ProtonVPN/protonvpn-nm-lib Source: https://github.com/ProtonVPN/protonvpn-nm-lib/archive/refs/tags/%{version}.tar.gz#/protonvpn-nm-lib-%{version}.tar.gz # PATCH-FIX-UPSTREAM exclude-tests.patch gh#ProtonVPN/protonvpn-nm-lib!25 mcepl@suse.com # Exlcude tests being grabbed by find_packeges during setup Patch0: exclude-tests.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pyxdg} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gobject-introspection BuildRequires: python-rpm-macros Requires: NetworkManager-openvpn Requires: python-Jinja2 Requires: python-dbus-python Requires: python-distro Requires: python-gobject Requires: python-keyring Requires: python-proton-client >= 0.5.0 Requires: python-pyxdg Requires: python-systemd BuildArch: noarch # SECTION check that all runtime requirements are available BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module dbus-python} BuildRequires: %{python_module distro} BuildRequires: %{python_module gobject} BuildRequires: %{python_module keyring} BuildRequires: %{python_module proton-client >= 0.5.0} BuildRequires: %{python_module pyxdg} BuildRequires: %{python_module systemd} BuildRequires: NetworkManager-openvpn # /SECTION %if %{with test} BuildRequires: %{python_module pytest} %endif %python_subpackages %description The Proton VPN NetworkManager library %prep %autosetup -n protonvpn-nm-lib-%{version} -p1 sed -i '/addopts/d' setup.cfg %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %if %{with test} %check %pytest %endif %files %{python_files} %license LICENSE %doc README.md %{python_sitelib}/protonvpn_nm_lib %{python_sitelib}/protonvpn_nm_lib-%{version}*-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor