diff --git a/anda/langs/python/jellyfin-apiclient-python/.gitignore b/anda/langs/python/jellyfin-apiclient-python/.gitignore new file mode 100644 index 0000000000..3e98bbf4d4 --- /dev/null +++ b/anda/langs/python/jellyfin-apiclient-python/.gitignore @@ -0,0 +1,6 @@ + +*.egg-info +*.egg +*.pyc +*.tar.* + diff --git a/anda/langs/python/jellyfin-apiclient-python/anda.hcl b/anda/langs/python/jellyfin-apiclient-python/anda.hcl new file mode 100644 index 0000000000..e4db04ff89 --- /dev/null +++ b/anda/langs/python/jellyfin-apiclient-python/anda.hcl @@ -0,0 +1,7 @@ + +project pkg { + rpm { + spec = "jellyfin-apiclient-python.spec" + } +} + diff --git a/anda/langs/python/jellyfin-apiclient-python/jellyfin-apiclient-python.spec b/anda/langs/python/jellyfin-apiclient-python/jellyfin-apiclient-python.spec new file mode 100644 index 0000000000..2577338f7c --- /dev/null +++ b/anda/langs/python/jellyfin-apiclient-python/jellyfin-apiclient-python.spec @@ -0,0 +1,61 @@ +# Created by pyp2rpm-3.3.10 +%global pypi_name jellyfin-apiclient-python +%global pypi_version 1.9.2 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1%{?dist} +Summary: Python API client for Jellyfin + +License: GPLv3 +URL: https://github.com/iwalton3/jellyfin-apiclient-python +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description + Jellyfin ApiClient PythonThis is the API client from Jellyfin Kodi extracted +as a python package so that other users may use the API without maintaining a +fork of the API client. Please note that this API client is not complete. You +may have to add API calls to perform certain tasks. Please see **Contributing** +below. UsageThis client can be installed with pip3 install jellyfin- +apiclient-... + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(certifi) +Requires: python3dist(requests) +Requires: python3dist(urllib3) +Requires: python3dist(websocket-client) +%description -n python3-%{pypi_name} + Jellyfin ApiClient PythonThis is the API client from Jellyfin Kodi extracted +as a python package so that other users may use the API without maintaining a +fork of the API client. Please note that this API client is not complete. You +may have to add API calls to perform certain tasks. Please see **Contributing** +below. UsageThis client can be installed with pip3 install jellyfin- +apiclient-... + + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc README.md +%{python3_sitelib}/jellyfin_apiclient_python +%{python3_sitelib}/jellyfin_apiclient_python-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Sun Dec 17 2023 Cappy Ishihara - 1.9.2-1 +- Initial package. diff --git a/anda/langs/python/jellyfin-apiclient-python/update_rhai.hcl b/anda/langs/python/jellyfin-apiclient-python/update_rhai.hcl new file mode 100644 index 0000000000..0109469c72 --- /dev/null +++ b/anda/langs/python/jellyfin-apiclient-python/update_rhai.hcl @@ -0,0 +1,3 @@ + +rpm.global("pypi_version", pypi("jellyfin-apiclient-python")); + diff --git a/anda/langs/python/python-mpv-jsonipc/.gitignore b/anda/langs/python/python-mpv-jsonipc/.gitignore new file mode 100644 index 0000000000..3e98bbf4d4 --- /dev/null +++ b/anda/langs/python/python-mpv-jsonipc/.gitignore @@ -0,0 +1,6 @@ + +*.egg-info +*.egg +*.pyc +*.tar.* + 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..5756b7d74a --- /dev/null +++ b/anda/langs/python/python-mpv-jsonipc/anda.hcl @@ -0,0 +1,7 @@ + +project pkg { + 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..f8f798cf8c --- /dev/null +++ b/anda/langs/python/python-mpv-jsonipc/python-mpv-jsonipc.spec @@ -0,0 +1,59 @@ +# Created by pyp2rpm-3.3.10 +%global pypi_name python-mpv-jsonipc +%global pypi_version 1.2.0 +%global srcname mpv-jsonipc + +Name: python-%{srcname} +Version: %{pypi_version} +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: python3dist(setuptools) + +%description + Python MPV JSONIPCThis implements an interface similar to python-mpv, but it +uses the JSON IPC protocol instead of the C API. This means you can control +external instances of MPV including players like SMPlayer, and it can use MPV +players that are prebuilt instead of needing libmpv1. It may also be more +resistant to crashes such as Segmentation Faults, but since it isn't +directly... + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} + Python MPV JSONIPCThis implements an interface similar to python-mpv, but it +uses the JSON IPC protocol instead of the C API. This means you can control +external instances of MPV including players like SMPlayer, and it can use MPV +players that are prebuilt instead of needing libmpv1. It may also be more +resistant to crashes such as Segmentation Faults, but since it isn't +directly... + + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%doc README.md +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/python_mpv_jsonipc.py +%{python3_sitelib}/python_mpv_jsonipc-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Sun Dec 17 2023 Cappy Ishihara - 1.2.0-1 +- Initial package. diff --git a/anda/langs/python/python-mpv-jsonipc/update_rhai.hcl b/anda/langs/python/python-mpv-jsonipc/update_rhai.hcl new file mode 100644 index 0000000000..4ce6b56c20 --- /dev/null +++ b/anda/langs/python/python-mpv-jsonipc/update_rhai.hcl @@ -0,0 +1,3 @@ + +rpm.global("pypi_version", pypi("python-mpv-jsonipc")); + diff --git a/anda/langs/python/python-mpv/.gitignore b/anda/langs/python/python-mpv/.gitignore new file mode 100644 index 0000000000..3e98bbf4d4 --- /dev/null +++ b/anda/langs/python/python-mpv/.gitignore @@ -0,0 +1,6 @@ + +*.egg-info +*.egg +*.pyc +*.tar.* + diff --git a/anda/langs/python/python-mpv/anda.hcl b/anda/langs/python/python-mpv/anda.hcl new file mode 100644 index 0000000000..d19682a1aa --- /dev/null +++ b/anda/langs/python/python-mpv/anda.hcl @@ -0,0 +1,7 @@ + +project pkg { + rpm { + spec = "python-mpv.spec" + } +} + diff --git a/anda/langs/python/python-mpv/python-mpv.spec b/anda/langs/python/python-mpv/python-mpv.spec new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/anda/langs/python/python-mpv/python-mpv.spec @@ -0,0 +1 @@ + diff --git a/anda/langs/python/python-mpv/update_rhai.hcl b/anda/langs/python/python-mpv/update_rhai.hcl new file mode 100644 index 0000000000..fb59a962fd --- /dev/null +++ b/anda/langs/python/python-mpv/update_rhai.hcl @@ -0,0 +1,3 @@ + +rpm.global("pypi_version", pypi("python-mpv")); + diff --git a/anda/langs/python/pywebview/.gitignore b/anda/langs/python/pywebview/.gitignore new file mode 100644 index 0000000000..3e98bbf4d4 --- /dev/null +++ b/anda/langs/python/pywebview/.gitignore @@ -0,0 +1,6 @@ + +*.egg-info +*.egg +*.pyc +*.tar.* + diff --git a/anda/langs/python/pywebview/anda.hcl b/anda/langs/python/pywebview/anda.hcl new file mode 100644 index 0000000000..767677f9b1 --- /dev/null +++ b/anda/langs/python/pywebview/anda.hcl @@ -0,0 +1,7 @@ + +project pkg { + rpm { + spec = "pywebview.spec" + } +} + diff --git a/anda/langs/python/pywebview/pywebview.spec b/anda/langs/python/pywebview/pywebview.spec new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/anda/langs/python/pywebview/pywebview.spec @@ -0,0 +1 @@ + diff --git a/anda/langs/python/pywebview/update_rhai.hcl b/anda/langs/python/pywebview/update_rhai.hcl new file mode 100644 index 0000000000..82ab5d339b --- /dev/null +++ b/anda/langs/python/pywebview/update_rhai.hcl @@ -0,0 +1,3 @@ + +rpm.global("pypi_version", pypi("pywebview")); +