Skip to Content.
Sympa Menu

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

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 (33e80e0f52e42d517c7839bef12ef7ea757e20da)
  • Date: Sat, 27 Aug 2016 20:13:47 +0000

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

utils/youtube-dl/BUILD | 6 +++++-
utils/youtube-dl/DEPENDS | 6 +++++-
utils/youtube-dl/DETAILS | 6 +++---
utils/youtube-dl/HISTORY | 3 ++-
utils/youtube-dl/INSTALL | 7 +++++--
5 files changed, 20 insertions(+), 8 deletions(-)

New commits:
commit 33e80e0f52e42d517c7839bef12ef7ea757e20da
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

utils/youtube-dl: converted to .tar.gz python package build/install
procedure

diff --git a/utils/youtube-dl/BUILD b/utils/youtube-dl/BUILD
index 27ba77d..63669e4 100755
--- a/utils/youtube-dl/BUILD
+++ b/utils/youtube-dl/BUILD
@@ -1 +1,5 @@
-true
+if is_depends_enabled ${SPELL} python; then
+ default_build_python
+else
+ default_build_python3
+fi
diff --git a/utils/youtube-dl/DEPENDS b/utils/youtube-dl/DEPENDS
index b9f5874..191aebd 100755
--- a/utils/youtube-dl/DEPENDS
+++ b/utils/youtube-dl/DEPENDS
@@ -1 +1,5 @@
-depends PYTHON
+depends PYTHON &&
+
+if is_depends_enabled ${SPELL} python; then
+ depends setuptools
+fi
diff --git a/utils/youtube-dl/DETAILS b/utils/youtube-dl/DETAILS
index ab22fbd..8b93eb3 100755
--- a/utils/youtube-dl/DETAILS
+++ b/utils/youtube-dl/DETAILS
@@ -1,11 +1,11 @@
SPELL=youtube-dl
VERSION=2016.08.24.1
- SOURCE=$SPELL-$VERSION
+ SOURCE=$SPELL-$VERSION.tar.gz
SOURCE2=$SOURCE.sig
SOURCE2_IGNORE=signature
SOURCE_GPG=youtube-dl.gpg:$SOURCE2:UPSTREAM_KEY
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL=http://youtube-dl.org/downloads/$VERSION/$SPELL
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
+ SOURCE_URL=http://youtube-dl.org/downloads/$VERSION/$SOURCE
SOURCE2_URL=$SOURCE_URL.sig
LICENSE[0]=BSD
KEYWORDS="utils"
diff --git a/utils/youtube-dl/HISTORY b/utils/youtube-dl/HISTORY
index 26cdad1..f9418a1 100644
--- a/utils/youtube-dl/HISTORY
+++ b/utils/youtube-dl/HISTORY
@@ -1,5 +1,6 @@
2016-08-27 Pavel Vinogradov <public AT sourcemage.org>
- * DETAILS: updated spell to 2016.08.24.1
+ * DETAILS, BUILD, DEPENDS, INSTALL: updated spell to 2016.08.24.1,
+ converted to .tar.gz python package build/install procedure

2016-08-12 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: updated spell to 2016.08.12
diff --git a/utils/youtube-dl/INSTALL b/utils/youtube-dl/INSTALL
index 51372fa..6c45a1b 100755
--- a/utils/youtube-dl/INSTALL
+++ b/utils/youtube-dl/INSTALL
@@ -1,2 +1,5 @@
-install -m 0755 -o root -g root $SOURCE_CACHE/$SOURCE \
- $INSTALL_ROOT/usr/bin/$SPELL
+if is_depends_enabled ${SPELL} python; then
+ default_install_python
+else
+ default_install_python3
+fi



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (33e80e0f52e42d517c7839bef12ef7ea757e20da), Pavel Vinogradov, 08/27/2016

Archive powered by MHonArc 2.6.24.

Top of Page