mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 18:02:19 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5eb0030a83 | |||
| bb275956c2 |
@@ -0,0 +1,6 @@
|
|||||||
|
project pkg {
|
||||||
|
arches = ["x86_64"]
|
||||||
|
rpm {
|
||||||
|
spec = "textual.spec"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
%global pypi_name textual
|
||||||
|
%global _desc The lean application framework for Python.
|
||||||
|
|
||||||
|
Name: python-%{pypi_name}
|
||||||
|
Version: 7.3.0
|
||||||
|
Release: 1%?dist
|
||||||
|
Summary: The lean application framework for Python
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/Textualize/textual
|
||||||
|
Source0: %{pypi_source}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-poetry
|
||||||
|
|
||||||
|
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 textual
|
||||||
|
|
||||||
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Jan 24 2026 Owen Zimmerman <owen@fyralabs.com>
|
||||||
|
- Initial commit
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
rpm.version(pypi("textual"));
|
||||||
Reference in New Issue
Block a user