git: 7677e6150e38 - main - multimedia/py-pytube: Add new port

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Thu, 08 Aug 2024 12:41:08 UTC
The branch main has been updated by nivit:

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

commit 7677e6150e384c654cf27674be82f3adff98557c
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-08-08 12:40:16 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-08-08 12:40:16 +0000

    multimedia/py-pytube: Add new port
    
    Pytube is a genuine, lightweight, dependency-free Python library (and
    command-line utility) for downloading YouTube videos.
    
    https://github.com/pytube/pytube
---
 multimedia/Makefile            |  1 +
 multimedia/py-pytube/Makefile  | 17 +++++++++++++++++
 multimedia/py-pytube/distinfo  |  3 +++
 multimedia/py-pytube/pkg-descr |  2 ++
 4 files changed, 23 insertions(+)

diff --git a/multimedia/Makefile b/multimedia/Makefile
index 3a1d57f5534e..a3564c47970d 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -317,6 +317,7 @@
     SUBDIR += py-pymediainfo
     SUBDIR += py-pysubs2
     SUBDIR += py-python-mpv
+    SUBDIR += py-pytube
     SUBDIR += py-soco
     SUBDIR += py-srt
     SUBDIR += py-subliminal
diff --git a/multimedia/py-pytube/Makefile b/multimedia/py-pytube/Makefile
new file mode 100644
index 000000000000..8545535bdd11
--- /dev/null
+++ b/multimedia/py-pytube/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	pytube
+DISTVERSION=	15.0.0
+CATEGORIES=	multimedia python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Python library and command-line utility for downloading YouTube Videos
+WWW=		https://github.com/pytube/pytube
+
+LICENSE=	PD
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/multimedia/py-pytube/distinfo b/multimedia/py-pytube/distinfo
new file mode 100644
index 000000000000..c267972a5552
--- /dev/null
+++ b/multimedia/py-pytube/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1723020031
+SHA256 (pytube-15.0.0.tar.gz) = 076052efe76f390dfa24b1194ff821d4e86c17d41cb5562f3a276a8bcbfc9d1d
+SIZE (pytube-15.0.0.tar.gz) = 67229
diff --git a/multimedia/py-pytube/pkg-descr b/multimedia/py-pytube/pkg-descr
new file mode 100644
index 000000000000..db56602bc038
--- /dev/null
+++ b/multimedia/py-pytube/pkg-descr
@@ -0,0 +1,2 @@
+Pytube is a genuine, lightweight, dependency-free Python library (and
+command-line utility) for downloading YouTube videos.