pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
yt-dlp: handle man page installation outside of setup.py
Module Name: pkgsrc-wip
Committed By: nikita <nikita%NetBSD.org@localhost>
Pushed By: nikita
Date: Tue Sep 7 17:51:20 2021 +0200
Changeset: 74350109bd624724f0f1dea342c0e49b4c31ef8e
Modified Files:
yt-dlp/Makefile
yt-dlp/distinfo
Added Files:
yt-dlp/patches/patch-setup.py
Log Message:
yt-dlp: handle man page installation outside of setup.py
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=74350109bd624724f0f1dea342c0e49b4c31ef8e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
yt-dlp/Makefile | 5 +++++
yt-dlp/distinfo | 1 +
yt-dlp/patches/patch-setup.py | 12 ++++++++++++
3 files changed, 18 insertions(+)
diffs:
diff --git a/yt-dlp/Makefile b/yt-dlp/Makefile
index 1e974eb860..c002681a3c 100644
--- a/yt-dlp/Makefile
+++ b/yt-dlp/Makefile
@@ -14,6 +14,11 @@ LICENSE= unlicense
USE_LANGUAGES= # none
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/yt-dlp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
# Only for >= 3.6
PYTHON_VERSIONS_INCOMPATIBLE= 27
diff --git a/yt-dlp/distinfo b/yt-dlp/distinfo
index f921aede85..c44da78cc5 100644
--- a/yt-dlp/distinfo
+++ b/yt-dlp/distinfo
@@ -4,3 +4,4 @@ SHA1 (yt-dlp-2021.9.2.tar.gz) = cc00f05bd4e449250409d7cd077f6ed8b3f8dd0c
RMD160 (yt-dlp-2021.9.2.tar.gz) = 7e5d8a3efe26a37787a05d18c3a7a0f4a85fa21b
SHA512 (yt-dlp-2021.9.2.tar.gz) = 996f3971e62c4384b686abe565f051ce10886d76656243c071a206ddd7bc065aa918e06aef7339c685b28d40158a97822eba51b233f609387d0fbd5bb758cde8
Size (yt-dlp-2021.9.2.tar.gz) = 1846258 bytes
+SHA1 (patch-setup.py) = af2d627d3f182aa807b71cc0328b2f0f723e94dd
diff --git a/yt-dlp/patches/patch-setup.py b/yt-dlp/patches/patch-setup.py
new file mode 100644
index 0000000000..3e8203b273
--- /dev/null
+++ b/yt-dlp/patches/patch-setup.py
@@ -0,0 +1,12 @@
+--- setup.py.orig 2021-09-07 17:47:14.900243528 +0200
++++ setup.py 2021-09-07 17:48:07.902848311 +0200
+@@ -29,8 +29,7 @@
+ ('share/bash-completion/completions', ['completions/bash/yt-dlp']),
+ ('share/zsh/site-functions', ['completions/zsh/_yt-dlp']),
+ ('share/fish/vendor_completions.d', ['completions/fish/yt-dlp.fish']),
+- ('share/doc/yt_dlp', ['README.txt']),
+- ('share/man/man1', ['yt-dlp.1'])
++ ('share/doc/yt_dlp', ['README.txt'])
+ ]
+ root = os.path.dirname(os.path.abspath(__file__))
+ data_files = []
Home |
Main Index |
Thread Index |
Old Index