ports/www/py-youtube-transcript-api/Makefile
Nicola Vitale 4c6248c359
www/py-youtube-transcript-api: Add new port
Youtube-transcript-api is a python API which allows you to retrieve
the transcript/subtitles for a given YouTube video. It also works
for automatically generated subtitles, supports translating subtitles
and it does not require a headless browser, like other selenium based
solutions do!

https://github.com/jdepoix/youtube-transcript-api
2024-11-04 15:06:20 +01:00

20 lines
528 B
Makefile

PORTNAME= youtube-transcript-api
DISTVERSION= 0.6.2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSIONFULL}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python module for YouTube Transcript/Subtitle API
WWW= https://github.com/jdepoix/youtube-transcript-api
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.32.3:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>