From nobody Sun Nov 19 18:33:57 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SYK6F3dZQz51914; Sun, 19 Nov 2023 18:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYK6F36JLz4SQR; Sun, 19 Nov 2023 18:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700418837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fEtzOIR3DERojTqU4803u0CB84j1kuB0sjnMy3FSZb8=; b=r16QGezes4FA8oZxh/jwXQWSh7rpU0SElOwsWzgnPmMoLxAZ0TeSff6XXA61m3hddbOli1 fAAUIuuD2EtKyvTcSp9E8zmYSVN3C/lb6SPffWYJnsb65Is4caO+imi6LJPDxDXzKODFcP CR/KksQlGwq32Hb1NSLMAaHvVbF9o1ICPkfPzHgr/+/6JSnZUmeqTN1rWiv6Xw6giyQ4ET Uglqif2Y3SgHkRh3T/s8Zh9RqotrObjYX6cTXx3M04GpMZvdZgKxAQ9OB1yiePjtLclIrE qfgHBocHr17U10pUtX70I+p+7nmth5Egw65mh783ucmSeoHk6jb5anAqNCvnEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700418837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fEtzOIR3DERojTqU4803u0CB84j1kuB0sjnMy3FSZb8=; b=PLBUBHg5J4tByVMLoJR62hPwDzElh7knxjLV36U7qejEBrgipVm49xcJQFCyILv0qvG1uZ CuC6AZdHDYsof1ndghAiOoJHlLePPlsMEswnaCZwsKhGwA220rXjtT/DbzM6F0Kiwl6rmp tn6MwrRAFMPMc975YK0zPySl06OPyvExjLauBH8J3QNQF6YHQSwJyd8DZgD/6Ht1cPm7Yr Cssraj3x3D/wOJ+w0NjjB3zgdt6ec04eiS7cHJCd+9GU4vrM1CjEfYOe3md8WFwLIJNLQ1 MWYgJFePPoi3nNrMdqO4yaJX/DNAzOC6b746KJwhqnixCCQsLJOWjPGD1XhKxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700418837; a=rsa-sha256; cv=none; b=j3Ujt2/CT7fCy5zjXY5xYavmbVpbb2VpxWOz1vIb+ssvTgNSjUACFq8lHoYggP4KBE4oWt /V0Xn1JNm/7SBgFTFwubhMHHKKCOpMl5MsxnIK/uWDpUT1qzTSJ9TE3IXeKqo639hHaAE3 rQRCAt7N4HNVSlGne9y31WSBd5h5MMeMaUs28hb8hntsOxxNsLGwwwH6IY53VOjSQ6KA4v ldGH8AMYt6Y6LDafFmoSKcvGmikYVCTWepRjxSb0t3MRQ93iiTVOtQRW7NJtIXsPeyoCqI BEIbyIm4IiAbWbigZQFFmqygeUZcWJk7z+1ri2zt16Qb/aqE8dItBM8ISjgDkw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SYK6F1sdkz55T; Sun, 19 Nov 2023 18:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AJIXvw8034239; Sun, 19 Nov 2023 18:33:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AJIXvC9034236; Sun, 19 Nov 2023 18:33:57 GMT (envelope-from git) Date: Sun, 19 Nov 2023 18:33:57 GMT Message-Id: <202311191833.3AJIXvC9034236@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 57a397e0a279 - main - www/yt-dlp: Make py-SecretStorage an optional port dependency List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 57a397e0a279cdb6e73a29d23e233051441d179c Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=57a397e0a279cdb6e73a29d23e233051441d179c commit 57a397e0a279cdb6e73a29d23e233051441d179c Author: Yuri Victorovich AuthorDate: 2023-11-19 18:31:25 +0000 Commit: Yuri Victorovich CommitDate: 2023-11-19 18:33:55 +0000 www/yt-dlp: Make py-SecretStorage an optional port dependency py-SecretStorage pulls a lot of dependencies for a small optional feature in yt-dlp. The upstream merged the PR that also makes SecretStorage optional: https://github.com/yt-dlp/yt-dlp/pull/8585 PR: 275196 Submitted by: Helge Oldach (initial version) --- www/yt-dlp/Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile index e1960cc8a121..f45781c2159f 100644 --- a/www/yt-dlp/Makefile +++ b/www/yt-dlp/Makefile @@ -1,5 +1,6 @@ PORTNAME= yt-dlp DISTVERSION= 2023.11.16 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME} @@ -17,7 +18,6 @@ PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>0:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodomex>0:security/py-pycryptodomex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}SecretStorage>0:security/py-SecretStorage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.17:net/py-urllib3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}websockets>0:devel/py-websockets@${PY_FLAVOR} @@ -32,17 +32,21 @@ MAKE_ARGS= PYTHON=${PYTHON_CMD} NO_ARCH= yes -OPTIONS_DEFINE= FFMPEG RTMPDUMP SYMLINK -OPTIONS_DEFAULT= FFMPEG RTMPDUMP SYMLINK -OPTIONS_SUB= yes +OPTIONS_DEFINE= FFMPEG RTMPDUMP SECRETSTORAGE SYMLINK +OPTIONS_DEFAULT= FFMPEG RTMPDUMP SYMLINK +OPTIONS_SUB= yes -FFMPEG_RUN_DEPENDS= ffprobe:multimedia/ffmpeg +FFMPEG_RUN_DEPENDS= ffprobe:multimedia/ffmpeg -RTMPDUMP_DESC= Use rtmpdump to download rtmp video streams -RTMPDUMP_RUN_DEPENDS= rtmpdump:multimedia/rtmpdump +RTMPDUMP_DESC= Use rtmpdump to download rtmp video streams +RTMPDUMP_RUN_DEPENDS= rtmpdump:multimedia/rtmpdump -SYMLINK_DESC= Install youtube-dl symbolic link for executable -SYMLINK_CONFLICTS= youtube_dl +SECRETSTORAGE_DESC= Build with ${PYTHON_PKGNAMEPREFIX}SecretStorage for secretstorage option +SECRETSTORAGE_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}SecretStorage>0:security/py-SecretStorage@${PY_FLAVOR} +SECRETSTORAGE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}SecretStorage>0:security/py-SecretStorage@${PY_FLAVOR} + +SYMLINK_DESC= Install youtube-dl symbolic link for executable +SYMLINK_CONFLICTS= youtube_dl post-install-SYMLINK-on: @${RLN} ${STAGEDIR}${PREFIX}/bin/yt-dlp ${STAGEDIR}${PREFIX}/bin/youtube-dl