git: aeddca10afb0 - main - net/py-casttube: New port

From: Joel Bodenmann <jbo_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 02:02:37 UTC
The branch main has been updated by jbo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aeddca10afb05652ecf7fe1e4447a75f26ef1277

commit aeddca10afb05652ecf7fe1e4447a75f26ef1277
Author:     Lexi Winter <lexi@le-fay.org>
AuthorDate: 2023-12-26 11:33:37 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2024-01-05 02:01:50 +0000

    net/py-casttube: New port
    
    casttube provides a way to interact with the YouTube Chromecast API.
    
    PR:                     275944
    Approved by:            tcberner (mentor)
    Differential Revision:  https://reviews.freebsd.org/D43267
---
 net/Makefile              |  1 +
 net/py-casttube/Makefile  | 16 ++++++++++++++++
 net/py-casttube/distinfo  |  3 +++
 net/py-casttube/pkg-descr | 10 ++++++++++
 4 files changed, 30 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 39a38cb7dc7b..640bc384479f 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1035,6 +1035,7 @@
     SUBDIR += py-avahi
     SUBDIR += py-blobfile
     SUBDIR += py-bonsai
+    SUBDIR += py-casttube
     SUBDIR += py-cepa
     SUBDIR += py-cjdns
     SUBDIR += py-cloudflare-scrape
diff --git a/net/py-casttube/Makefile b/net/py-casttube/Makefile
new file mode 100644
index 000000000000..643d3e818854
--- /dev/null
+++ b/net/py-casttube/Makefile
@@ -0,0 +1,16 @@
+PORTNAME=	casttube
+DISTVERSION=	0.2.1
+CATEGORIES=	net python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	lexi.freebsd@le-fay.org
+COMMENT=	YouTube Chromecast api
+WWW=		https://pypi.org/project/casttube/
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+.include <bsd.port.mk>
diff --git a/net/py-casttube/distinfo b/net/py-casttube/distinfo
new file mode 100644
index 000000000000..d8c452fe070b
--- /dev/null
+++ b/net/py-casttube/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703589209
+SHA256 (casttube-0.2.1.tar.gz) = 54d2af8c7949aa9c5db87fb11ef0a478a5d3e7ac6d2d2ac8dd1711e3a516fc82
+SIZE (casttube-0.2.1.tar.gz) = 5182
diff --git a/net/py-casttube/pkg-descr b/net/py-casttube/pkg-descr
new file mode 100644
index 000000000000..ce73cfd47ebd
--- /dev/null
+++ b/net/py-casttube/pkg-descr
@@ -0,0 +1,10 @@
+casttube provides a way to interact with the YouTube Chromecast API.
+
+Features:
+
+* Play video
+* Play a playlist
+* Add video to the end of the play queue
+* Play next
+* Remove video
+* Clear the entire queue