add: publicdotcom-py (#12048) (#12057)

This commit is contained in:
Raboneko
2026-05-07 19:34:04 -05:00
committed by GitHub
parent 59359fe6d8
commit 6a49a876a7
3 changed files with 53 additions and 0 deletions
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "publicdotcom-py.spec"
}
}
@@ -0,0 +1,46 @@
%global pypi_name publicdotcom_py
%global real_name publicdotcom-py
%global _desc A Python SDK for interacting with the Public Trading API, providing a simple and intuitive interface for trading operations, market data retrieval, and account management.
Name: python-%{real_name}
Version: 0.1.13
Release: 1%?dist
Summary: Python SDK for interacting with the Public Trading API
License: Apache-2.0
URL: https://github.com/PublicDotCom/publicdotcom-py
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{real_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{real_name}}
%description -n python3-%{real_name}
%_desc
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files public_api_sdk
%files -n python3-%{real_name} -f %{pyproject_files}
%doc README.md
%license LICENCE
%changelog
* Thu May 07 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("publicdotcom-py"));