diff --git a/anda/langs/python/proxy-tools/anda.hcl b/anda/langs/python/proxy-tools/anda.hcl new file mode 100644 index 0000000000..86f1b12c0e --- /dev/null +++ b/anda/langs/python/proxy-tools/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "proxy-tools.spec" + } +} diff --git a/anda/langs/python/proxy-tools/proxy-tools.spec b/anda/langs/python/proxy-tools/proxy-tools.spec new file mode 100644 index 0000000000..5aa2d160d7 --- /dev/null +++ b/anda/langs/python/proxy-tools/proxy-tools.spec @@ -0,0 +1,48 @@ +%global pypi_name proxy_tools +%global _desc Simple (hopefuly useful) Proxy (as in the GoF design pattern) implementation for Python. + +Name: python-%{pypi_name} +Version: 0.1.0 +Release: 1%?dist +Summary: Simple (hopefuly useful) Proxy (as in the GoF design pattern) implementation for Python +License: BSD-2-clause +URL: https://github.com/jtushman/proxy_tools +Source0: %{pypi_source} +Source1: https://github.com/jtushman/proxy_tools/blob/master/LICENSE.txt +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: %{pypi_name} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} +cp %{S:1} . + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE.txt + +%changelog +* Wed Feb 25 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/proxy-tools/update.rhai b/anda/langs/python/proxy-tools/update.rhai new file mode 100644 index 0000000000..ca96bafaed --- /dev/null +++ b/anda/langs/python/proxy-tools/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("proxy_tools"));