www-client/torbrowser-launcher: patch for python 3.8

Package-Manager: Portage-3.0.5, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-09-04 17:29:21 +02:00
parent b46b68d88e
commit 2392766eda
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@ from distutils.core import setup
SHARE = 'share'
# detect linux distribution
-distro = platform.dist()[0]
+distro = 'gentoo'
def file_list(path):

View File

@ -31,6 +31,10 @@ RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}/${PN}-distro.patch"
)
python_install_all() {
distutils-r1_python_install_all

View File

@ -31,6 +31,10 @@ RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}/${PN}-distro.patch"
)
python_install_all() {
distutils-r1_python_install_all