Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2024 17:22:59 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: aae465d6eded - main - net/py-casttube: Add missing RUN_DEPENDS
Message-ID:  <202408041722.474HMxwW066285@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit aae465d6ededb7014bf902670cb9f661c2c3cd73
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 17:08:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:14:10 +0000

    net/py-casttube: Add missing RUN_DEPENDS
    
    - Update WWW
    - Convert to USE_PYTHON=pep517
    - Add NO_ARCH
    - Update pkg-descr
    - Bump PORTREVISION for dependency and package change
    - Take maintainership
---
 net/py-casttube/Makefile             | 18 +++++++++++++-----
 net/py-casttube/files/patch-setup.py | 10 ++++++++++
 net/py-casttube/pkg-descr            | 15 +++++++--------
 3 files changed, 30 insertions(+), 13 deletions(-)

diff --git a/net/py-casttube/Makefile b/net/py-casttube/Makefile
index 659b48ab342e..3faabd0bd050 100644
--- a/net/py-casttube/Makefile
+++ b/net/py-casttube/Makefile
@@ -1,16 +1,24 @@
 PORTNAME=	casttube
-DISTVERSION=	0.2.1
+PORTVERSION=	0.2.1
+PORTREVISION=	1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@freebsd.org
-COMMENT=	YouTube Chromecast api
-WWW=		https://pypi.org/project/casttube/
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	YouTube Chromecast API
+WWW=		https://github.com/ur1katz/casttube
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/net/py-casttube/files/patch-setup.py b/net/py-casttube/files/patch-setup.py
new file mode 100644
index 000000000000..9d437ac9f6c8
--- /dev/null
+++ b/net/py-casttube/files/patch-setup.py
@@ -0,0 +1,10 @@
+--- setup.py.orig	2020-04-08 12:40:53 UTC
++++ setup.py
+@@ -12,7 +12,6 @@ setup(name='casttube',
+       author='Uri Katz',
+       author_email='4urikatz@gmail.com',
+       license='MIT',
+-      data_files = [("", ["LICENSE"])],
+       packages=['casttube'],
+       zip_safe=False,
+       keywords = ['youtube', 'chromecast', 'youtube-api'],
diff --git a/net/py-casttube/pkg-descr b/net/py-casttube/pkg-descr
index ce73cfd47ebd..ae2813e05ffe 100644
--- a/net/py-casttube/pkg-descr
+++ b/net/py-casttube/pkg-descr
@@ -1,10 +1,9 @@
-casttube provides a way to interact with the YouTube Chromecast API.
+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
+- Play video
+- Play a playlist
+- Add video to the end of the play queue
+- Play next
+- Remove video
+- Clear the entire queue



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408041722.474HMxwW066285>