summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-01-29 15:12:37 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-01-29 15:13:28 +0100
commit0835ba2c1a97e51e19eac8054db3dc2601d808f8 (patch)
tree8cb514b4f3c1bc764a5b783f257b93c1ea7c7297 /net-misc/ytmdl
parentapp-emacs/cider: Stabilize 1.12.0 amd64, #921409 (diff)
downloadgentoo-0835ba2c1a97e51e19eac8054db3dc2601d808f8.tar.gz
gentoo-0835ba2c1a97e51e19eac8054db3dc2601d808f8.tar.bz2
gentoo-0835ba2c1a97e51e19eac8054db3dc2601d808f8.zip
net-misc/ytmdl: fix setup.py
Closes: https://bugs.gentoo.org/923226 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc/ytmdl')
-rw-r--r--net-misc/ytmdl/files/ytmdl-2023.11.26-data_files.patch11
-rw-r--r--net-misc/ytmdl/ytmdl-2023.11.26-r1.ebuild (renamed from net-misc/ytmdl/ytmdl-2023.11.26.ebuild)4
2 files changed, 14 insertions, 1 deletions
diff --git a/net-misc/ytmdl/files/ytmdl-2023.11.26-data_files.patch b/net-misc/ytmdl/files/ytmdl-2023.11.26-data_files.patch
new file mode 100644
index 000000000000..63568fc43739
--- /dev/null
+++ b/net-misc/ytmdl/files/ytmdl-2023.11.26-data_files.patch
@@ -0,0 +1,11 @@
+--- a/setup.py
++++ b/setup.py
+@@ -52,7 +52,7 @@ for dirname, filename in file_map:
+ data_files.append((dirname, [filename]))
+
+ params = {
+- 'data_files': data_files,
++ 'data_files': [],
+ }
+
+
diff --git a/net-misc/ytmdl/ytmdl-2023.11.26.ebuild b/net-misc/ytmdl/ytmdl-2023.11.26-r1.ebuild
index 6ffe03f7c6f2..0ec4e506c4fb 100644
--- a/net-misc/ytmdl/ytmdl-2023.11.26.ebuild
+++ b/net-misc/ytmdl/ytmdl-2023.11.26-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -48,6 +48,8 @@ RDEPEND="
net-misc/downloader-cli[${PYTHON_USEDEP}]
"
+PATCHES=( "${FILESDIR}/${PN}-2023.11.26-data_files.patch" )
+
python_compile() {
distutils-r1_python_compile