From 3270cbc9e492e39ae2c7c3413372350fcfe33822 Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Sun, 21 Mar 2021 01:33:02 +0000 Subject: [PATCH 1/7] New package: python3-pystray-0.17.2 --- srcpkgs/python3-pystray/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-pystray/template diff --git a/srcpkgs/python3-pystray/template b/srcpkgs/python3-pystray/template new file mode 100644 index 000000000000..1decbe8a3f85 --- /dev/null +++ b/srcpkgs/python3-pystray/template @@ -0,0 +1,14 @@ +# Template file for 'python3-pystray' +pkgname=python3-pystray +version=0.17.2 +revision=1 +wrksrc="pystray-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip python3-wheel" +depends="python3 python3-six python3-Pillow python3-xlib python3-gobject libappindicator" +short_desc="System tray icon library" +maintainer="Neel Chotai " +license="GPL-3.0-or-later" +homepage="https://github.com/moses-palmer/pystray" +distfiles="https://github.com/moses-palmer/pystray/archive/refs/tags/v${version}.tar.gz" +checksum=5debeeeaddcc6b74262fe64a5ede4d0099f0164205e6ad707b4d666931079c81 From ba16a95f978239168e31068ccba2240e7aeab250 Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Sun, 21 Mar 2021 01:33:10 +0000 Subject: [PATCH 2/7] New package: python3-pydantic-1.8.1 --- srcpkgs/python3-pydantic/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pydantic/template diff --git a/srcpkgs/python3-pydantic/template b/srcpkgs/python3-pydantic/template new file mode 100644 index 000000000000..95ce93052db4 --- /dev/null +++ b/srcpkgs/python3-pydantic/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pydantic' +pkgname=python3-pydantic +version=1.8.1 +revision=1 +wrksrc="pydantic-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-typing_extensions +$(vopt_if email python3-email-validator)" +short_desc="Data parsing and validation using Python type hints" +maintainer="Neel Chotai " +license="MIT" +homepage="https://github.com/samuelcolvin/pydantic" +distfiles="https://github.com/samuelcolvin/pydantic/archive/refs/tags/v${version}.tar.gz" +checksum=e0b0b9499e383a3db9319fd03b8138e73aa6bfa1d5a481eb54b08537a314d269 + +build_options="email" + +post_install() { + vlicense LICENSE +} From 958caaa82485f88eb4edcf75b5e7be3da2f52797 Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Sun, 21 Mar 2021 01:33:15 +0000 Subject: [PATCH 3/7] New package: python3-pywebview-3.4 --- srcpkgs/python3-pywebview/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-pywebview/template diff --git a/srcpkgs/python3-pywebview/template b/srcpkgs/python3-pywebview/template new file mode 100644 index 000000000000..5dc06470d6fc --- /dev/null +++ b/srcpkgs/python3-pywebview/template @@ -0,0 +1,21 @@ +# Template file for 'python3-pywebview' +pkgname=python3-pywebview +version=3.4 +revision=1 +wrksrc="pywebview-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 +$(vopt_if gtk 'python3-cairo python3-PyQt5-webengine qt5-webkit webkit2gtk')" +short_desc="Build GUI for your Python program with JavaScript, HTML, and CSS" +maintainer="Neel Chotai " +license="BSD-3-Clause" +homepage="https://github.com/r0x0r/pywebview" +distfiles="https://github.com/r0x0r/pywebview/archive/refs/tags/${version}.tar.gz" +checksum=156507eb3e6ee5720d77384daaebac9d28022b60429a42c86686eb19a7a4e256 + +build_options="gtk" + +post_install() { + vlicense LICENSE.md +} From 358bc92233bd1805ff778cf6902b02b1856aa871 Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Sun, 21 Mar 2021 01:33:36 +0000 Subject: [PATCH 4/7] New package: python3-jellyfin-apiclient-1.7.0 --- srcpkgs/python3-jellyfin-apiclient/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-jellyfin-apiclient/template diff --git a/srcpkgs/python3-jellyfin-apiclient/template b/srcpkgs/python3-jellyfin-apiclient/template new file mode 100644 index 000000000000..6dda1b18d0d4 --- /dev/null +++ b/srcpkgs/python3-jellyfin-apiclient/template @@ -0,0 +1,14 @@ +# Template file for 'python3-jellyfin-apiclient' +pkgname=python3-jellyfin-apiclient +version=1.7.0 +revision=1 +wrksrc="jellyfin-apiclient-python-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools python3-pip" +depends="python3 python3-requests python3-urllib3 python3-websocket-client python3-six" +short_desc="Python API client for Jellyfin" +maintainer="Neel Chotai " +license="GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-apiclient-python" +distfiles="https://github.com/jellyfin/jellyfin-apiclient-python/archive/refs/tags/v${version}.tar.gz" +checksum=dc9d24048e195f4db21463c439925722dc280cee149e1c94484466aca6421945 From bc1dddde63e2fe3000f6c9635cb9c7d106125be3 Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Sun, 21 Mar 2021 01:49:12 +0000 Subject: [PATCH 5/7] New package: python3-mpv-jsonipc-1.1.13 --- srcpkgs/python3-mpv-jsonipc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-mpv-jsonipc/template diff --git a/srcpkgs/python3-mpv-jsonipc/template b/srcpkgs/python3-mpv-jsonipc/template new file mode 100644 index 000000000000..765ef863908d --- /dev/null +++ b/srcpkgs/python3-mpv-jsonipc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-mpv-jsonipc' +pkgname=python3-mpv-jsonipc +version=1.1.13 +revision=1 +wrksrc="python-mpv-jsonipc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python API to MPV using JSON IPC" +maintainer="Neel Chotai " +license="Apache-2.0" +homepage="https://github.com/iwalton3/python-mpv-jsonipc" +distfiles="https://github.com/iwalton3/python-mpv-jsonipc/archive/refs/tags/v${version}.tar.gz" +checksum=e5c80c3ed7720c9b670138c0718601653b88724d13ad051f4b371ae3672714b4 From 08786d7476810f933e160c3647212d5c9902595a Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Sun, 21 Mar 2021 01:49:19 +0000 Subject: [PATCH 6/7] New package: python3-email-validator-1.1.2 --- srcpkgs/python3-email-validator/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-email-validator/template diff --git a/srcpkgs/python3-email-validator/template b/srcpkgs/python3-email-validator/template new file mode 100644 index 000000000000..07a3e6c967f9 --- /dev/null +++ b/srcpkgs/python3-email-validator/template @@ -0,0 +1,14 @@ +# Template file for 'python3-email-validator' +pkgname=python3-email-validator +version=1.1.2 +revision=1 +wrksrc="python-email-validator-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-dnspython python3-idna" +short_desc="Robust email syntax and deliverability validation library" +maintainer="Neel Chotai " +license="CC0-1.0" +homepage="https://github.com/JoshData/python-email-validator" +distfiles="https://github.com/JoshData/python-email-validator/archive/refs/tags/v${version}.tar.gz" +checksum=01498d84bd576c449e476a49aa70722a9aaf2a3b00957d53ddb2f3bec04b0855 From a427f7b89545a0207f7d00b60b0f8f5ccd8c8f88 Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Sun, 21 Mar 2021 01:49:25 +0000 Subject: [PATCH 7/7] New package: jellyfin-mpv-shim-1.9.0 --- srcpkgs/jellyfin-mpv-shim/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/jellyfin-mpv-shim/template diff --git a/srcpkgs/jellyfin-mpv-shim/template b/srcpkgs/jellyfin-mpv-shim/template new file mode 100644 index 000000000000..ec1b56cecd39 --- /dev/null +++ b/srcpkgs/jellyfin-mpv-shim/template @@ -0,0 +1,25 @@ +# Template file for 'jellyfin-mpv-shim' +pkgname=jellyfin-mpv-shim +version=1.9.0 +revision=1 +wrksrc="jellyfin-desktop-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools gettext" +depends="mpv python3 python3-pydantic python3-mpv python3-mpv-jsonipc python3-jellyfin-apiclient tk +$(vopt_if systray python3-pystray) +$(vopt_if desktop 'python3-Flask python3-pywebview python3-Werkzeug libappindicator') +$(vopt_if mirror 'python3-Jinja2 python3-pywebview')" +short_desc="MPV-based desktop and cast client for Jellyfin" +maintainer="Neel Chotai " +license="MIT, GPL-3.0-or-later" +homepage="https://github.com/jellyfin/jellyfin-desktop" +distfiles="https://github.com/jellyfin/jellyfin-desktop/archive/refs/tags/v${version}.tar.gz" +checksum=e54fb01edcd50219e13b6b280abf842bc981f347f5c3a03d2bfb7461d55b1963 + +build_options="systray desktop mirror" +build_options_default="systray desktop mirror" + +post_install() { + vdoc README.md + vlicense LICENSE.md +}