pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-yt-dlp-ejs: start package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Nov 18 10:17:05 2025 +0100
Changeset:	f4cbf85b0e14f53fd253d460d2b9e2c09ffd41a1

Modified Files:
	Makefile
Added Files:
	py-yt-dlp-ejs/DESCR
	py-yt-dlp-ejs/Makefile
	py-yt-dlp-ejs/PLIST
	py-yt-dlp-ejs/TODO
	py-yt-dlp-ejs/distinfo

Log Message:
py-yt-dlp-ejs: start package

Does not build because it uses rollup, which doesn't support NetBSD.
Also, needs network access at build time, but one problem at a time.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f4cbf85b0e14f53fd253d460d2b9e2c09ffd41a1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile               |  3 +++
 py-yt-dlp-ejs/DESCR    | 23 +++++++++++++++++++++++
 py-yt-dlp-ejs/Makefile | 23 +++++++++++++++++++++++
 py-yt-dlp-ejs/PLIST    |  4 ++++
 py-yt-dlp-ejs/TODO     |  5 +++++
 py-yt-dlp-ejs/distinfo |  5 +++++
 6 files changed, 63 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index abcf7d32eb..5db90368ab 100644
--- a/Makefile
+++ b/Makefile
@@ -2690,6 +2690,7 @@ SUBDIR+=	noto-ttf
 SUBDIR+=	novelwriter
 SUBDIR+=	npmount
 SUBDIR+=	nqp
+SUBDIR+=	nraku
 SUBDIR+=	nrg4iso
 SUBDIR+=	nsc2ke
 SUBDIR+=	nscde
@@ -3925,6 +3926,7 @@ SUBDIR+=	py-geopy
 SUBDIR+=	py-geppy
 SUBDIR+=	py-gerrychain
 SUBDIR+=	py-gettext-tools
+SUBDIR+=	py-gguf
 SUBDIR+=	py-ghalatawi
 SUBDIR+=	py-ginga
 SUBDIR+=	py-gist
@@ -5052,6 +5054,7 @@ SUBDIR+=	py-yaspin
 SUBDIR+=	py-yellowhiggs
 SUBDIR+=	py-yfinance
 SUBDIR+=	py-yt
+SUBDIR+=	py-yt-dlp-ejs
 SUBDIR+=	py-z2pack
 SUBDIR+=	py-zbar
 SUBDIR+=	py-zeitgeist
diff --git a/py-yt-dlp-ejs/DESCR b/py-yt-dlp-ejs/DESCR
new file mode 100644
index 0000000000..65be190a3b
--- /dev/null
+++ b/py-yt-dlp-ejs/DESCR
@@ -0,0 +1,23 @@
+TODO: Adjust the following lines from README.md
+
+# yt-dlp-ejs
+
+External JavaScript for yt-dlp supporting many runtimes
+
+## Manual Installation
+
+Install ejs into the same environment as yt-dlp:
+
+```console
+pip install -U yt-dlp-ejs
+```
+
+## Development
+
+While this project does pin its dependencies,
+it only provides a lockfile for building with `deno`.
+You may install dependencies using any compatible package manager.
+If you notice differences between different runtimes' builds
+please open an issue [here](<https://github.com/yt-dlp/ejs/issues/new>).
+
+...
diff --git a/py-yt-dlp-ejs/Makefile b/py-yt-dlp-ejs/Makefile
new file mode 100644
index 0000000000..da13d01572
--- /dev/null
+++ b/py-yt-dlp-ejs/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	yt_dlp_ejs-0.3.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	python # TODO: add primary category
+MASTER_SITES=	${MASTER_SITE_PYPI:=y/yt_dlp_ejs/}
+
+MAINTAINER=	INSERT_YOUR_MAIL_ADDRESS_HERE # or use pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://pypi.org/project/yt_dlp_ejs/
+COMMENT=	TODO: Short description of the package
+#LICENSE=	# TODO: (see mk/license.mk)
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+TOOL_DEPENDS+=	${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
+DEPENDS+=	nodejs-[0-9]*:../../lang/nodejs
+
+USE_LANGUAGES=	# none
+
+# should be no
+ALLOW_NETWORK_ACCESS=	yes
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-yt-dlp-ejs/PLIST b/py-yt-dlp-ejs/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/py-yt-dlp-ejs/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/py-yt-dlp-ejs/TODO b/py-yt-dlp-ejs/TODO
new file mode 100644
index 0000000000..f518adb5d6
--- /dev/null
+++ b/py-yt-dlp-ejs/TODO
@@ -0,0 +1,5 @@
+(deno doesn't support NetBSD, so we use nodejs.)
+
+rollup does not support NetBSD
+
+https://github.com/yt-dlp/ejs/issues/32
diff --git a/py-yt-dlp-ejs/distinfo b/py-yt-dlp-ejs/distinfo
new file mode 100644
index 0000000000..1f86ae4719
--- /dev/null
+++ b/py-yt-dlp-ejs/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (yt_dlp_ejs-0.3.1.tar.gz) = acc13dafb6e142450960099d177ab16b9849caed86043b1319b95c78b41083ea
+SHA512 (yt_dlp_ejs-0.3.1.tar.gz) = 1693fd171dd62b15c7b686763d5d1bc70c43ae8ed81dd80e13e87c833ea00213624d64a34f6f3bcd409c52b7ee1401284a582a9782fa783063ce9da40a4c91e2
+Size (yt_dlp_ejs-0.3.1.tar.gz) = 33805 bytes


Home | Main Index | Thread Index | Old Index