From 9689c0be7d46ad67545518de2175d4f39f4c3c65 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 9 Nov 2025 21:54:47 -0800 Subject: [PATCH] add: imageio-ffmpeg (#7258) (#7262) * add: imageio-ffmpeg * switch pypi --------- (cherry picked from commit 55524334b8ff39aa7d053ace0bde0ee42fb345a9) Signed-off-by: Owen-sz Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/imageio-ffmpeg/anda.hcl | 6 +++ .../python/imageio-ffmpeg/imageio-ffmpeg.spec | 49 +++++++++++++++++++ anda/langs/python/imageio-ffmpeg/update.rhai | 1 + 3 files changed, 56 insertions(+) create mode 100644 anda/langs/python/imageio-ffmpeg/anda.hcl create mode 100644 anda/langs/python/imageio-ffmpeg/imageio-ffmpeg.spec create mode 100644 anda/langs/python/imageio-ffmpeg/update.rhai diff --git a/anda/langs/python/imageio-ffmpeg/anda.hcl b/anda/langs/python/imageio-ffmpeg/anda.hcl new file mode 100644 index 0000000000..929ba92e9b --- /dev/null +++ b/anda/langs/python/imageio-ffmpeg/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "imageio-ffmpeg.spec" + } +} diff --git a/anda/langs/python/imageio-ffmpeg/imageio-ffmpeg.spec b/anda/langs/python/imageio-ffmpeg/imageio-ffmpeg.spec new file mode 100644 index 0000000000..eef40aa382 --- /dev/null +++ b/anda/langs/python/imageio-ffmpeg/imageio-ffmpeg.spec @@ -0,0 +1,49 @@ +%global pypi_name imageio-ffmpeg +%global _desc FFMPEG wrapper for Python. + +Name: python-%{pypi_name} +Version: 0.6.0 +Release: 1%?dist +Summary: FFMPEG wrapper for Python +License: BSD-2-Clause +URL: https://github.com/imageio/imageio-ffmpeg +Source0: %url/archive/refs/tags/v%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-poetry-core + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: imageio-ffmpeg +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n imageio-ffmpeg-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files imageio_ffmpeg + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Sun Nov 09 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/imageio-ffmpeg/update.rhai b/anda/langs/python/imageio-ffmpeg/update.rhai new file mode 100644 index 0000000000..e9fd0358dc --- /dev/null +++ b/anda/langs/python/imageio-ffmpeg/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("imageio-ffmpeg"));