mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
www-servers/copyparty: Unbundle some dependencies
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -20,6 +20,7 @@ RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jinja2[${PYTHON_USEDEP}]
|
||||
dev-python/ifaddr[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
@@ -89,6 +90,15 @@ src_prepare() {
|
||||
sed -e 's/\["\/dev\/shm"[^]]*\]/[]/' \
|
||||
-i tests/util.py || die
|
||||
|
||||
# Remove vendored dependencies
|
||||
rm -r copyparty/stolen/ifaddr || die # dev-python/ifaddr
|
||||
#rm copyparty/stolen/qrcodegen.py || die # TODO: not packaged
|
||||
rm copyparty/stolen/surrogateescape.py || die # python2-only dependency
|
||||
|
||||
# Patched dependency (avahi workaround)
|
||||
# See https://github.com/9001/copyparty/issues/887#issuecomment-3368575829
|
||||
#rm -r copyparty/stolen/dnslib || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
@@ -161,6 +171,10 @@ good-but-slow image thumbnails, read audio/media tags" media-video/ffmpeg
|
||||
optfeature "read .avif images with pillow (rarely useful)" dev-python/pillow[avif]
|
||||
#optfeature "read RAW images" rawpy # rawpy not packaged (yet)
|
||||
|
||||
# Other pillow imports not listed above
|
||||
optfeature "read .jxl images with pillow (rarely useful)" dev-python/pillow-jxl-plugin
|
||||
optfeature "read .webp images with pillow" dev-python/pillow[webp]
|
||||
|
||||
# Optfeatures from pyproject.toml:project.optional-dependencies not listed above
|
||||
optfeature "sftp protocol support" dev-python/paramiko
|
||||
optfeature "ftp protocol support" dev-python/pyftpdlib
|
||||
Reference in New Issue
Block a user