add: treetable (#9003) (#9007)

This commit is contained in:
Raboneko
2026-01-09 13:54:12 -08:00
committed by GitHub
parent b583879de5
commit 2a3a40be15
3 changed files with 52 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "treetable.spec"
}
}
@@ -0,0 +1,45 @@
%global pypi_name treetable
%global _desc Print in ascii art a table with a tree-like structure.
Name: python-%{pypi_name}
Version: 0.2.6
Release: 1%?dist
Summary: Print in ascii art a table with a tree-like structure
License: Unlicense
URL: https://github.com/adefossez/treetable
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?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 treetable
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%changelog
* Fri Jan 09 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("treetable"));