diff --git a/anda/langs/python/python-mpv-jsonipc/anda.hcl b/anda/langs/python/python-mpv-jsonipc/anda.hcl new file mode 100644 index 0000000000..ff2bfb11bf --- /dev/null +++ b/anda/langs/python/python-mpv-jsonipc/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "python-mpv-jsonipc.spec" + } +} diff --git a/anda/langs/python/python-mpv-jsonipc/python-mpv-jsonipc.spec b/anda/langs/python/python-mpv-jsonipc/python-mpv-jsonipc.spec new file mode 100644 index 0000000000..ebf65afadf --- /dev/null +++ b/anda/langs/python/python-mpv-jsonipc/python-mpv-jsonipc.spec @@ -0,0 +1,46 @@ +%global pypi_name python-mpv-jsonipc +%global _desc Python API to MPV using JSON IPC. + +Name: python-%{pypi_name} +Version: 1.2.1 +Release: 1%?dist +Summary: Python API to MPV using JSON IPC +License: Apache-2.0 +URL: https://github.com/iwalton3/python-mpv-jsonipc +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} +Provides: python-mpv-jsonipc +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files python_mpv_jsonipc + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE.md + +%changelog +* Sun Dec 07 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/python-mpv-jsonipc/update.rhai b/anda/langs/python/python-mpv-jsonipc/update.rhai new file mode 100644 index 0000000000..7d7f094519 --- /dev/null +++ b/anda/langs/python/python-mpv-jsonipc/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("python-mpv-jsonipc"));