add: proton-vpn-api-core (#9276) (#9278)

(cherry picked from commit 305cb22bf3)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-01-17 15:49:33 -08:00
committed by GitHub
parent 91d64a6112
commit 8b336f93a6
3 changed files with 53 additions and 0 deletions
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "proton-vpn-api-core.spec"
}
}
@@ -0,0 +1,46 @@
%global pypi_name proton-vpn-api-core
%global _desc A facade to the other Proton VPN components, exposing a uniform API to the available Proton VPN services.
Name: python-%{pypi_name}
Version: 4.14.1
Release: 1%?dist
Summary: A facade to the other Proton VPN components
License: GPL-3.0-Only
URL: https://github.com/ProtonVPN/python-proton-vpn-api-core
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: %{pypi_name}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n python-%{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files proton
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md CODEOWNERS
%license LICENSE
%changelog
* Sat Jan 17 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("proton-vpn-api-core"));