add: posthog (#9039)

Signed-off-by: Owen-sz <owen@fyralabs.com>
This commit is contained in:
Owen Zimmerman
2026-01-10 23:07:38 -06:00
committed by GitHub
parent b52e444f62
commit 76b096916c
3 changed files with 53 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "posthog.spec"
}
}
+46
View File
@@ -0,0 +1,46 @@
%global pypi_name posthog
%global _desc Send usage data from your Python code to PostHog.
Name: python-%{pypi_name}
Version: 7.5.1
Release: 1%?dist
Summary: Send usage data from your Python code to PostHog
License: MIT
URL: https://posthog.com/docs/libraries/python
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-%{pypi_name}
Summary: %{summary}
Provides: %{pypi_name}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
* Sat Jan 10 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("posthog"));