From 701d3cfbf46cac851e2391ad9553fcd487a7ace0 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Thu, 15 Jan 2026 21:41:09 -0600 Subject: [PATCH] add: future (#9240) Signed-off-by: Owen-sz --- anda/langs/python/future/anda.hcl | 6 ++++ anda/langs/python/future/future.spec | 50 ++++++++++++++++++++++++++++ anda/langs/python/future/update.rhai | 1 + 3 files changed, 57 insertions(+) create mode 100644 anda/langs/python/future/anda.hcl create mode 100644 anda/langs/python/future/future.spec create mode 100644 anda/langs/python/future/update.rhai diff --git a/anda/langs/python/future/anda.hcl b/anda/langs/python/future/anda.hcl new file mode 100644 index 0000000000..cbaed003d0 --- /dev/null +++ b/anda/langs/python/future/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "future.spec" + } +} diff --git a/anda/langs/python/future/future.spec b/anda/langs/python/future/future.spec new file mode 100644 index 0000000000..fd232f5624 --- /dev/null +++ b/anda/langs/python/future/future.spec @@ -0,0 +1,50 @@ +%global pypi_name future +%global _desc Easy, clean, reliable Python 2/3 compatibility. + +Name: python-%{pypi_name} +Version: 1.0.0 +Release: 1%?dist +Summary: Easy, clean, reliable Python 2/3 compatibility +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} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n future-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files future + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE.txt +%{_bindir}/futurize +%{_bindir}/pasteurize +%python3_sitelib/libfuturize/ +%python3_sitelib/libpasteurize/ +%python3_sitelib/past/ + +%changelog +* Thu Jan 15 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/future/update.rhai b/anda/langs/python/future/update.rhai new file mode 100644 index 0000000000..99660246cf --- /dev/null +++ b/anda/langs/python/future/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("future"));