mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
www-client/torbrowser-launcher: drop version 0.3.3
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hayley Hughes <hayley@foxes.systems>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST torbrowser-launcher-0.3.3.tar.gz 187239 BLAKE2B 8792e5474efe32124b401287bfbe01caef40381a35bb09062903da09c51f246b6092da2a3ffb84531c8f2be1bb45079263b8e46c98c5efa370abc6200289ac99 SHA512 129bcc3006d1cda92ab521c5106cacccf934b964b737f28bd89de6872f061b9e039678ca34b8ed30f348a0a47c3d87661b103f48e19a7edfae72a69512220fe6
|
||||
DIST torbrowser-launcher-0.3.5.tar.gz 195445 BLAKE2B 87ba04a5dd49316148631d3da6cf0b328160b817b7c42062bf6eeb1bedfc2cad6276640422139adc2b4031bfb6d0aa9bb93636b8e629e3b53433909bdf962768 SHA512 d9e30a721393d1530bc288fd74925731b71016d34670b6b33e1e76e271f956e2d2e35bd29f81389b1c90db15257e1e6281bd3aeeb9c3cc533ab9a5d109803254
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- 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):
|
||||
@@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit distutils-r1 optfeature xdg
|
||||
|
||||
DESCRIPTION="A program to download, updated, and run the Tor Browser Bundle"
|
||||
HOMEPAGE="https://github.com/micahflee/torbrowser-launcher"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/micahflee/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/micahflee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="test"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="apparmor"
|
||||
|
||||
RDEPEND="
|
||||
app-crypt/gpgme[python,${PYTHON_USEDEP}]
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},widgets]
|
||||
dev-python/PySocks[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-distro.patch"
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# delete apparmor profiles
|
||||
if ! use apparmor; then
|
||||
rm -r "${D}/etc/apparmor.d" || die "Failed to remove apparmor profiles"
|
||||
rmdir "${D}/etc" || die "Failed to remove empty directory"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
elog "To get additional features, some optional runtime dependencies"
|
||||
elog "may be installed:"
|
||||
optfeature "updating over system TOR" net-vpn/tor dev-python/txsocksx
|
||||
}
|
||||
Reference in New Issue
Block a user