diff --git a/anda/langs/python/standard-aifc/anda.hcl b/anda/langs/python/standard-aifc/anda.hcl new file mode 100644 index 0000000000..27685da8b9 --- /dev/null +++ b/anda/langs/python/standard-aifc/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "standard-aifc.spec" + } +} diff --git a/anda/langs/python/standard-aifc/standard-aifc.spec b/anda/langs/python/standard-aifc/standard-aifc.spec new file mode 100644 index 0000000000..7ff63fa7b3 --- /dev/null +++ b/anda/langs/python/standard-aifc/standard-aifc.spec @@ -0,0 +1,52 @@ +%global pypi_name standard-aifc +%global _desc Standard library aifc redistribution. + +Name: python-%{pypi_name} +Version: 3.13.0 +Release: 1%?dist +Summary: Standard library aifc redistribution +License: PSF-2.0 +URL: https://github.com/youknowone/python-deadlib +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: standard-aifc +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n python-deadlib-%{version} + +%build +pushd aifc +%pyproject_wheel +popd + +%install +pushd aifc +%pyproject_install +%pyproject_save_files aifc +popd + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc aifc/Doc/aifc.rst +%doc aifc/README.rst +%license aifc/LICENSE + +%changelog +* Fri Dec 26 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/standard-aifc/update.rhai b/anda/langs/python/standard-aifc/update.rhai new file mode 100644 index 0000000000..98307ef412 --- /dev/null +++ b/anda/langs/python/standard-aifc/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("standard-aifc"));