Date: Tue, 09 Jun 2026 19:32:09 +0000 From: =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9ea16be8d292 - main - devel/py-ytmusicapi: New port: Unofficial API for YouTube Music Message-ID: <6a286a39.18d4c.69936200@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by dtxdf: URL: https://cgit.FreeBSD.org/ports/commit/?id=9ea16be8d292181a247c367ec370c560e9c59423 commit 9ea16be8d292181a247c367ec370c560e9c59423 Author: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> AuthorDate: 2026-06-09 18:03:39 +0000 Commit: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org> CommitDate: 2026-06-09 19:31:32 +0000 devel/py-ytmusicapi: New port: Unofficial API for YouTube Music ytmusicapi is a Python 3 library to send requests to the YouTube Music API. It emulates YouTube Music web client requests using the user's cookie data for authentication. WWW: https://github.com/sigma67/ytmusicapi --- devel/Makefile | 1 + devel/py-ytmusicapi/Makefile | 25 +++++++++++++++++++++++++ devel/py-ytmusicapi/distinfo | 3 +++ devel/py-ytmusicapi/files/patch-pyproject.toml | 21 +++++++++++++++++++++ devel/py-ytmusicapi/pkg-descr | 3 +++ 5 files changed, 53 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7b40a532ca78..e083aa1ed965 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6461,6 +6461,7 @@ SUBDIR += py-yaspin SUBDIR += py-yattag SUBDIR += py-yg.lockfile + SUBDIR += py-ytmusicapi SUBDIR += py-yunomi SUBDIR += py-zarr SUBDIR += py-zc.lockfile diff --git a/devel/py-ytmusicapi/Makefile b/devel/py-ytmusicapi/Makefile new file mode 100644 index 000000000000..b87043b3d08c --- /dev/null +++ b/devel/py-ytmusicapi/Makefile @@ -0,0 +1,25 @@ +PORTNAME= ytmusicapi +DISTVERSION= 1.12.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dtxdf@FreeBSD.org +COMMENT= Unofficial API for YouTube Music +WWW= https://github.com/sigma67/ytmusicapi \ + https://pypi.org/project/ytmusicapi + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-ytmusicapi/distinfo b/devel/py-ytmusicapi/distinfo new file mode 100644 index 000000000000..78d3e3c4e58a --- /dev/null +++ b/devel/py-ytmusicapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1780894948 +SHA256 (ytmusicapi-1.12.1.tar.gz) = 4e33f424db311ece1b9e5f29a51ade46b0697f6e2f284f8a40bcbd7219772755 +SIZE (ytmusicapi-1.12.1.tar.gz) = 529510 diff --git a/devel/py-ytmusicapi/files/patch-pyproject.toml b/devel/py-ytmusicapi/files/patch-pyproject.toml new file mode 100644 index 000000000000..8eb348ae217c --- /dev/null +++ b/devel/py-ytmusicapi/files/patch-pyproject.toml @@ -0,0 +1,21 @@ +--- pyproject.toml.orig 2026-06-08 15:29:12 UTC ++++ pyproject.toml +@@ -3,8 +3,7 @@ authors = [{ name = "sigma67", email = "ytmusicapi@gma + description = "Unofficial API for YouTube Music" + requires-python = ">=3.10" + authors = [{ name = "sigma67", email = "ytmusicapi@gmail.com" }] +-license-files = ["LICENSE"] +-license = "MIT" ++license = { file = "LICENSE" } + classifiers = ["Programming Language :: Python :: 3"] + dependencies = ["requests >= 2.22"] + dynamic = ["version", "readme"] +@@ -18,7 +17,7 @@ repository = "https://github.com/sigma67/ytmusicapi" + repository = "https://github.com/sigma67/ytmusicapi" + + [build-system] +-requires = ["setuptools>=65", "setuptools_scm[toml]>=7"] ++requires = ["setuptools", "setuptools_scm[toml]"] + build-backend = "setuptools.build_meta" + + [tool.setuptools.dynamic] diff --git a/devel/py-ytmusicapi/pkg-descr b/devel/py-ytmusicapi/pkg-descr new file mode 100644 index 000000000000..e35a0a49c3a3 --- /dev/null +++ b/devel/py-ytmusicapi/pkg-descr @@ -0,0 +1,3 @@ +ytmusicapi is a Python 3 library to send requests to the YouTube +Music API. It emulates YouTube Music web client requests using the +user's cookie data for authentication.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a286a39.18d4c.69936200>
