freebsd-ports/www/py-pafy/Makefile
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00

26 lines
575 B
Makefile

PORTNAME= pafy
PORTVERSION= 0.5.5
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python API for YouTube
WWW= https://github.com/mps-youtube/pafy
LICENSE= GPLv3
# At the moment the internal backend does not work
BUILD_DEPENDS= yt-dlp:www/yt-dlp
RUN_DEPENDS= yt-dlp:www/yt-dlp
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
post-patch:
@(cd ${WRKSRC}/${PORTNAME} && \
${REINPLACE_CMD} "s,%%LOCALBASE%%,${LOCALBASE},1" pafy.py backend_youtube_dl.py)
.include <bsd.port.mk>