From bb275956c242319b34f7aee8ac04d38466a1cd47 Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Sat, 24 Jan 2026 18:50:19 -0600 Subject: [PATCH] add: textual Signed-off-by: Owen-sz --- anda/langs/python/textual/anda.hcl | 6 ++++ anda/langs/python/textual/textual.spec | 46 ++++++++++++++++++++++++++ anda/langs/python/textual/update.rhai | 1 + 3 files changed, 53 insertions(+) create mode 100644 anda/langs/python/textual/anda.hcl create mode 100644 anda/langs/python/textual/textual.spec create mode 100644 anda/langs/python/textual/update.rhai diff --git a/anda/langs/python/textual/anda.hcl b/anda/langs/python/textual/anda.hcl new file mode 100644 index 0000000000..4857bd3074 --- /dev/null +++ b/anda/langs/python/textual/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "textual.spec" + } +} diff --git a/anda/langs/python/textual/textual.spec b/anda/langs/python/textual/textual.spec new file mode 100644 index 0000000000..9893b8bd17 --- /dev/null +++ b/anda/langs/python/textual/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 + +%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 +- Initial commit diff --git a/anda/langs/python/textual/update.rhai b/anda/langs/python/textual/update.rhai new file mode 100644 index 0000000000..5a0e7b70d9 --- /dev/null +++ b/anda/langs/python/textual/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("textual"));