From 76cbcd2f2aea75521644f102b56a84eba0fe16ec Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 1 Oct 2025 20:47:51 -0700 Subject: [PATCH] add: halo (#6612) (#6631) (cherry picked from commit 4e7176eec3fedc812c7827338b969622e7294d73) Signed-off-by: Owen Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/halo/anda.hcl | 6 ++++ anda/langs/python/halo/halo.spec | 49 ++++++++++++++++++++++++++++++ anda/langs/python/halo/update.rhai | 1 + 3 files changed, 56 insertions(+) create mode 100644 anda/langs/python/halo/anda.hcl create mode 100644 anda/langs/python/halo/halo.spec create mode 100644 anda/langs/python/halo/update.rhai diff --git a/anda/langs/python/halo/anda.hcl b/anda/langs/python/halo/anda.hcl new file mode 100644 index 0000000000..e69a3af3a3 --- /dev/null +++ b/anda/langs/python/halo/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "halo.spec" + } +} diff --git a/anda/langs/python/halo/halo.spec b/anda/langs/python/halo/halo.spec new file mode 100644 index 0000000000..b82b3a2a41 --- /dev/null +++ b/anda/langs/python/halo/halo.spec @@ -0,0 +1,49 @@ +%global pypi_name halo +%global _desc Beautiful spinners for terminal, IPython and Jupyter. + +Name: python-%{pypi_name} +Version: 0.0.31 +Release: 1%?dist +Summary: Beautiful spinners for terminal, IPython and Jupyter +License: MIT +URL: https://github.com/manrajgrover/halo +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: halo +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n halo-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files halo + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc +%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc +%python3_sitelib/halo-%{version}.dist-info/* + +%changelog +* Tue Sep 30 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/halo/update.rhai b/anda/langs/python/halo/update.rhai new file mode 100644 index 0000000000..08b3f339a8 --- /dev/null +++ b/anda/langs/python/halo/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("halo"));