diff --git a/anda/langs/python/py-spinners/anda.hcl b/anda/langs/python/py-spinners/anda.hcl new file mode 100644 index 0000000000..2aa5726200 --- /dev/null +++ b/anda/langs/python/py-spinners/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "py-spinners.spec" + } +} diff --git a/anda/langs/python/py-spinners/py-spinners.spec b/anda/langs/python/py-spinners/py-spinners.spec new file mode 100644 index 0000000000..da2827b417 --- /dev/null +++ b/anda/langs/python/py-spinners/py-spinners.spec @@ -0,0 +1,50 @@ +%global pypi_name spinners +%global _desc More than 60 spinners for terminal, python wrapper for amazing node library cli-spinners. + +Name: python-%{pypi_name} +Version: 0.0.24 +Release: 1%?dist +Summary: More than 60 spinners for terminal, python wrapper for amazing node library cli-spinners +License: MIT +URL: https://pypi.org/project/spinners/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: py-spinners +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 +%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc +%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc +%python3_sitelib/spinners-%{version}.dist-info/* + +%changelog +* Tue Sep 30 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/py-spinners/update.rhai b/anda/langs/python/py-spinners/update.rhai new file mode 100644 index 0000000000..faacc79dc9 --- /dev/null +++ b/anda/langs/python/py-spinners/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("spinners"));