Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (9bf1aae6d1f70a8d76126522fa29137998b6ee9d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (9bf1aae6d1f70a8d76126522fa29137998b6ee9d)
  • Date: Thu, 20 Jan 2022 03:50:30 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemaage.org>:

python-pypi/yt-dlp/DEPENDS | 3 +++
python-pypi/yt-dlp/DETAILS | 9 +++++++++
python-pypi/yt-dlp/HISTORY | 3 +++
python-pypi/yt-dlp/PREPARE | 2 ++
4 files changed, 17 insertions(+)

New commits:
commit 9bf1aae6d1f70a8d76126522fa29137998b6ee9d
Author: Pavel Vinogradov <public AT sourcemaage.org>
Commit: Pavel Vinogradov <public AT sourcemaage.org>

python-pypi/yt-dlp: added scm branch

diff --git a/python-pypi/yt-dlp/DEPENDS b/python-pypi/yt-dlp/DEPENDS
index 93f45d9..76c349b 100755
--- a/python-pypi/yt-dlp/DEPENDS
+++ b/python-pypi/yt-dlp/DEPENDS
@@ -1,3 +1,6 @@
+if [[ "${YT_DLP_BRANCH}" == "scm" ]]; then
+ depends git
+fi &&
depends python3 &&

#suggest_depends atomicparsley \
diff --git a/python-pypi/yt-dlp/DETAILS b/python-pypi/yt-dlp/DETAILS
index 0824462..eeb11a0 100755
--- a/python-pypi/yt-dlp/DETAILS
+++ b/python-pypi/yt-dlp/DETAILS
@@ -1,10 +1,19 @@
. "${GRIMOIRE}/FUNCTIONS"
SPELL=yt-dlp
+if [[ "${YT_DLP_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+ SOURCE_URL[0]="git://github.com/${SPELL}/${SPELL}:${SPELL}-scm"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+ SOURCE_IGNORE="volatile"
+ FORCE_DOWNLOAD="on"
+else
VERSION=2021.12.27
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL

SOURCE_URL=https://github.com/yt-dlp/yt-dlp/releases/download/${VERSION}/yt-dlp.tar.gz

SOURCE_HASH=sha512:c8030007fc517f3db9c95357841e3b42bf554dc4b000689e9e3a0da97056161df35d8cca78ab62954db92cb86f98107e8ba51b148995edab1c7e6aa227faa33a
+fi
LICENSE[0]=BSD
KEYWORDS="utils"
WEB_SITE="https://github.com/yt-dlp/yt-dlp";
diff --git a/python-pypi/yt-dlp/HISTORY b/python-pypi/yt-dlp/HISTORY
index fc730d7..b339c96 100644
--- a/python-pypi/yt-dlp/HISTORY
+++ b/python-pypi/yt-dlp/HISTORY
@@ -1,3 +1,6 @@
+2022-01-19 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS, DETAILS, PREPARE: added scm branch
+
2022-01-19 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS, DEPENDS: spell created

diff --git a/python-pypi/yt-dlp/PREPARE b/python-pypi/yt-dlp/PREPARE
new file mode 100755
index 0000000..e38d86f
--- /dev/null
+++ b/python-pypi/yt-dlp/PREPARE
@@ -0,0 +1,2 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+prepare_select_branch stable scm



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (9bf1aae6d1f70a8d76126522fa29137998b6ee9d), Pavel Vinogradov, 01/19/2022

Archive powered by MHonArc 2.6.24.

Top of Page