Marcel Telka
2023-12-22 34a5a6f5b1dcbc7d644b3ca4cd5b618f1bd2da23
multimedia/youtube-dl: rebuild

1 files added
3 files modified
1 files renamed
95 ■■■■■ changed files
components/multimedia/youtube-dl/Makefile 50 ●●●● patch | view | raw | blame | history
components/multimedia/youtube-dl/patches/01-no-shebang.patch 12 ●●●● patch | view | raw | blame | history
components/multimedia/youtube-dl/pkg5 2 ●●● patch | view | raw | blame | history
components/multimedia/youtube-dl/python-integrate-project.conf 28 ●●●●● patch | view | raw | blame | history
components/multimedia/youtube-dl/youtube_dl.p5m 3 ●●●● patch | view | raw | blame | history
components/multimedia/youtube-dl/Makefile
@@ -1,40 +1,44 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2020-2021 Nona Hansel
# Copyright 2023 Niklas Poslovski
# This file was automatically generated using the following command:
#   $WS_TOOLS/python-integrate-project -d multimedia/youtube-dl youtube_dl
#
BUILD_BITS=        NO_ARCH
BUILD_STYLE=        setup.py
BUILD_STYLE = setup.py
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        youtube-dl
COMPONENT_VERSION=    2021.12.17
#COMPONENT_REVISION=    1
COMPONENT_SUMMARY=    Command-line program to download videos from YouTube.com and other video sites
COMPONENT_PROJECT_URL=    https://youtube-dl.org/
COMPONENT_FMRI=        multimedia/youtube-dl
COMPONENT_CLASSIFICATION= Applications/Sound and Video
COMPONENT_SRC=          $(COMPONENT_NAME)
COMPONENT_ARCHIVE=      $(COMPONENT_NAME)-$(HUMAN_VERSION).tar.gz
COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/downloads/latest/$(COMPONENT_ARCHIVE)
COMPONENT_ARCHIVE_HASH= \
    sha256:9f3b99c8b778455165b4525f21505e86c7ff565f3ac319e19733d810194135df
COMPONENT_LICENSE=    Unlicense
COMPONENT_LICENSE_FILE=    LICENSE
COMPONENT_NAME =        youtube_dl
HUMAN_VERSION =            2021.12.17
COMPONENT_REVISION =        1
COMPONENT_SUMMARY =        youtube_dl - YouTube video downloader
COMPONENT_PROJECT_URL =        https://github.com/ytdl-org/youtube-dl
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/01/4f/ab0d0806f4d818168d0ec833df14078c9d1ddddb5c42fa7bfb6f15ecbfa7/youtube_dl-2021.12.17.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:bc59e86c5d15d887ac590454511f08ce2c47698d5a82c27bfe27b5d814bbaed2
COMPONENT_LICENSE =        Unlicense
COMPONENT_LICENSE_FILE =    LICENSE
TEST_TARGET=        $(NO_TESTS)
SINGLE_PYTHON_VERSION=    yes
COMPONENT_FMRI =        multimedia/youtube-dl
COMPONENT_CLASSIFICATION =    Applications/Sound and Video
# This is a standalone application.  Since no other Python project depends on
# it we just provide single unversioned package.
SINGLE_PYTHON_VERSION = yes
# Tests needs internet access
TEST_STYLE = none
include $(WS_MAKE_RULES)/common.mk
components/multimedia/youtube-dl/patches/01-no-shebang.patch
@@ -1,19 +1,19 @@
--- youtube-dl/youtube_dl/utils.py.orig
+++ youtube-dl/youtube_dl/utils.py
--- youtube_dl-2021.12.17/youtube_dl/utils.py.orig
+++ youtube_dl-2021.12.17/youtube_dl/utils.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # coding: utf-8
 
 from __future__ import unicode_literals
--- youtube-dl/youtube_dl/YoutubeDL.py.orig
+++ youtube-dl/youtube_dl/YoutubeDL.py
--- youtube_dl-2021.12.17/youtube_dl/YoutubeDL.py.orig
+++ youtube_dl-2021.12.17/youtube_dl/YoutubeDL.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # coding: utf-8
 
 from __future__ import absolute_import, unicode_literals
--- youtube-dl/youtube_dl/__init__.py.orig
+++ youtube-dl/youtube_dl/__init__.py
--- youtube_dl-2021.12.17/youtube_dl/__init__.py.orig
+++ youtube_dl-2021.12.17/youtube_dl/__init__.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # coding: utf-8
components/multimedia/youtube-dl/pkg5
@@ -7,5 +7,5 @@
    "fmris": [
        "multimedia/youtube-dl"
    ],
    "name": "youtube-dl"
    "name": "youtube_dl"
}
components/multimedia/youtube-dl/python-integrate-project.conf
New file
@@ -0,0 +1,28 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2020-2021 Nona Hansel
# Copyright 2023 Niklas Poslovski
#
%patch% 01-no-shebang.patch
%include-2%
COMPONENT_FMRI =        multimedia/youtube-dl
COMPONENT_CLASSIFICATION =    Applications/Sound and Video
# This is a standalone application.  Since no other Python project depends on
# it we just provide single unversioned package.
SINGLE_PYTHON_VERSION = yes
# Tests needs internet access
TEST_STYLE = none
components/multimedia/youtube-dl/youtube_dl.p5m
File was renamed from components/multimedia/youtube-dl/youtube-dl.p5m
@@ -10,8 +10,7 @@
#
#
# Copyright 2020-2021 Nona Hansel
# Copyright 2023 Niklas Poslovski
# This file was automatically generated using python-integrate-project
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)