34 |
34 |
RESTRICT="!test? ( test )"
|
35 |
35 |
|
36 |
36 |
# RDEPEND is sorted as such:
|
37 |
|
# - No specific requirements
|
38 |
|
# - Specific version or slot
|
|
37 |
# Python libraries with no specific requirements
|
|
38 |
# Python libraries with specific version, slot, or use requirements
|
|
39 |
# Non-python dependencies
|
39 |
40 |
RDEPEND="
|
40 |
41 |
${PYTHON_DEPS}
|
41 |
42 |
$(python_gen_cond_dep '
|
|
43 |
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
42 |
44 |
dev-python/cbor2[${PYTHON_USEDEP}]
|
43 |
45 |
dev-python/chardet[${PYTHON_USEDEP}]
|
44 |
46 |
dev-python/cloudscraper[${PYTHON_USEDEP}]
|
... | ... | |
48 |
50 |
dev-python/pillow[${PYTHON_USEDEP},lcms]
|
49 |
51 |
dev-python/psutil[${PYTHON_USEDEP}]
|
50 |
52 |
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
51 |
|
dev-python/pyside2[widgets,gui,${PYTHON_USEDEP}]
|
52 |
53 |
dev-python/python-mpv[${PYTHON_USEDEP}]
|
53 |
54 |
dev-python/pyyaml[${PYTHON_USEDEP}]
|
54 |
55 |
dev-python/requests[${PYTHON_USEDEP}]
|
55 |
56 |
dev-python/send2trash[${PYTHON_USEDEP}]
|
56 |
57 |
dev-python/service-identity[${PYTHON_USEDEP}]
|
57 |
|
dev-python/six[${PYTHON_USEDEP}]
|
58 |
58 |
dev-python/twisted[${PYTHON_USEDEP}]
|
|
59 |
|
|
60 |
dev-python/QtPy[widgets,gui,svg,multimedia,${PYTHON_USEDEP}]
|
|
61 |
|| ( dev-python/QtPy[pyside2] dev-python/QtPy[pyside6] )
|
|
62 |
|
59 |
63 |
media-libs/opencv[python,png,jpeg,${PYTHON_USEDEP}]
|
60 |
64 |
media-video/ffmpeg
|
61 |
|
|
62 |
|
>=dev-python/QtPy-1.9.0-r4[pyside2,${PYTHON_USEDEP}]
|
63 |
|
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
64 |
65 |
')
|
65 |
66 |
"
|
66 |
67 |
BDEPEND="
|
... | ... | |
69 |
70 |
test? (
|
70 |
71 |
dev-python/httmock[${PYTHON_USEDEP}]
|
71 |
72 |
dev-python/mock[${PYTHON_USEDEP}]
|
72 |
|
|
73 |
|
dev-python/pyside2[widgets,gui,multimedia,${PYTHON_USEDEP}]
|
74 |
73 |
)
|
75 |
74 |
')
|
76 |
75 |
"
|
... | ... | |
144 |
143 |
|
145 |
144 |
pkg_postinst() {
|
146 |
145 |
optfeature "automatic port forwarding support" "net-libs/miniupnpc"
|
147 |
|
optfeature "bandwidth charts support" "dev-python/pyside2[charts]"
|
148 |
146 |
optfeature "memory compression in the client" "dev-python/lz4"
|
149 |
147 |
optfeature "SOCKS proxy support" "dev-python/requests[socks5]" "dev-python/PySocks"
|
|
148 |
optfeature "bandwidth charts support" "dev-python/pyside2[charts]" "dev-python/pyside6[charts]"
|
150 |
149 |
}
|