Re: git: 9854c15ac396 - main - www/py-yt-dlp-devel: New port: Program for downloading videos from various platforms (devel files)

From: Po-Chuan Hsieh <sunpoet_at_sunpoet.net>
Date: Fri, 22 Dec 2023 09:35:55 UTC
Hello Yuri,

On Thu, Dec 21, 2023 at 2:03 PM Yuri Victorovich <yuri@freebsd.org> wrote:

> The branch main has been updated by yuri:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=9854c15ac39641f99d498dd5c5b876a8987b5e28
>
> commit 9854c15ac39641f99d498dd5c5b876a8987b5e28
> Author:     Yuri Victorovich <yuri@FreeBSD.org>
> AuthorDate: 2023-12-21 06:01:16 +0000
> Commit:     Yuri Victorovich <yuri@FreeBSD.org>
> CommitDate: 2023-12-21 06:02:55 +0000
>
>     www/py-yt-dlp-devel: New port: Program for downloading videos from
> various platforms (devel files)
>
>     PR:             275325
> ---
>  www/Makefile                                      |    1 +
>  www/py-yt-dlp-devel/Makefile                      |   56 +
>  www/py-yt-dlp-devel/distinfo                      |    3 +
>  www/py-yt-dlp-devel/files/patch-Makefile          |   16 +
>  www/py-yt-dlp-devel/files/patch-yt__dlp_update.py |   22 +
>  www/py-yt-dlp-devel/pkg-descr                     |    4 +
>  www/py-yt-dlp-devel/pkg-plist                     | 1150
> +++++++++++++++++++++
>  7 files changed, 1252 insertions(+)
>
> diff --git a/www/Makefile b/www/Makefile
> index fa26921d973b..8e1f9bb3c925 100644
> --- a/www/Makefile
> +++ b/www/Makefile
> @@ -1881,6 +1881,7 @@
>      SUBDIR += py-xandikos
>      SUBDIR += py-xyzservices
>      SUBDIR += py-yarl
> +    SUBDIR += py-yt-dlp-devel
>      SUBDIR += pydio-cells
>      SUBDIR += qdecoder
>      SUBDIR += qhttpengine
> diff --git a/www/py-yt-dlp-devel/Makefile b/www/py-yt-dlp-devel/Makefile
> new file mode 100644
> index 000000000000..eecbb3d66606
> --- /dev/null
> +++ b/www/py-yt-dlp-devel/Makefile
> @@ -0,0 +1,56 @@
> +PORTNAME=      yt-dlp
> +DISTVERSION=   2023.11.16
> +CATEGORIES=    www
> +MASTER_SITES=
> https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/
> +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> +PKGNAMESUFFIX= -devel
>

Please rename this port to www/py-yt-dlp and remove -devel suffix which is
meaningless here since it is not a devel version.
It is just the same version as www/yt-dlp.


> +DISTNAME=      ${PORTNAME}
> +DIST_SUBDIR=   ${PORTNAME}/${DISTVERSION}
> +
> +MAINTAINER=    yuri@FreeBSD.org
> +COMMENT=       Program for downloading videos from various platforms
> (devel files)
>

It is the python module rather than devel files.
And it would be better to use bin/yt-dlp-py or bin/py-yt-dlp instead of
bin/yt-dlp-devel.
Thanks.

Regards,
sunpoet