forked from pool/python-proton-core
- Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proton-core?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 15 08:53:08 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Clean up the SPEC file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 8 15:06:05 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
Thu Feb 8 15:06:05 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -24,17 +24,18 @@ Summary: Proton VPN core library
|
|||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/ProtonVPN/python-proton-core
|
URL: https://github.com/ProtonVPN/python-proton-core
|
||||||
#Source: https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v%{version}.tar.gz
|
|
||||||
Source: https://github.com/ProtonVPN/python-proton-core/archive/refs/heads/master.zip
|
Source: https://github.com/ProtonVPN/python-proton-core/archive/refs/heads/master.zip
|
||||||
BuildRequires: %{python_module aiohttp}
|
BuildRequires: %{python_module aiohttp}
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module bcrypt}
|
BuildRequires: %{python_module bcrypt}
|
||||||
BuildRequires: %{python_module gnupg}
|
BuildRequires: %{python_module gnupg}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pyOpenSSL}
|
BuildRequires: %{python_module pyOpenSSL}
|
||||||
BuildRequires: %{python_module pyotp}
|
BuildRequires: %{python_module pyotp}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -57,11 +58,11 @@ This package contains core logic used by the other Proton components.
|
|||||||
%autosetup -p1 -n python-proton-core-master
|
%autosetup -p1 -n python-proton-core-master
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# skip some tests as OBS has no network access
|
# skip some tests as OBS has no network access
|
||||||
@@ -70,7 +71,7 @@ This package contains core logic used by the other Proton components.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/proton/
|
%{python_sitelib}/proton
|
||||||
%{python_sitelib}/proton_core-%{version}-*.egg-info
|
%{python_sitelib}/proton_core-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user