diff --git a/anda/langs/python/zipstream-ng/anda.hcl b/anda/langs/python/zipstream-ng/anda.hcl new file mode 100644 index 0000000000..ddd70e5b33 --- /dev/null +++ b/anda/langs/python/zipstream-ng/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "zipstream-ng.spec" + } +} diff --git a/anda/langs/python/zipstream-ng/update.rhai b/anda/langs/python/zipstream-ng/update.rhai new file mode 100644 index 0000000000..04c6921cba --- /dev/null +++ b/anda/langs/python/zipstream-ng/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("pR0Ps/zipstream-ng")); diff --git a/anda/langs/python/zipstream-ng/zipstream-ng.spec b/anda/langs/python/zipstream-ng/zipstream-ng.spec new file mode 100644 index 0000000000..ea421e2221 --- /dev/null +++ b/anda/langs/python/zipstream-ng/zipstream-ng.spec @@ -0,0 +1,51 @@ +%global pypi_name zipstream-ng +%global _desc 🔉 A modern and easy to use streamable zip file generator + +Name: python-%{pypi_name} +Version: 1.9.0 +Release: 1%?dist +Summary: A modern and easy to use streamable zip file generator +License: LGPL-3.0-only +URL: https://github.com/pR0Ps/zipstream-ng +Source0: %url/archive/refs/tags/v%version.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: zipstream-ng +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n zipstream-ng-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files zipstream + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md CHANGELOG.md docs/zipserver.rst +%license LICENSE +%{_bindir}/zipserver +%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc +%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc +%python3_sitelib/zipstream_ng-%version.dist-info/* + +%changelog +* Mon Nov 03 2025 Owen Zimmerman +- Initial commit