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:
parent
b46b68d88e
commit
2392766eda
@ -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):
|
@ -31,6 +31,10 @@ RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-distro.patch"
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
|
@ -31,6 +31,10 @@ RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-distro.patch"
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user