commit da39028b83f71014d7d36b1f4db8ab257c959083
parent 5ea7c4352adb393a629aa75d28b89737d2cbd952
Author: parazyd <parazyd@dyne.org>
Date: Wed, 7 Apr 2021 11:39:00 +0200
www-client/torbrowser-launcher: Remove.
Diffstat:
3 files changed, 0 insertions(+), 78 deletions(-)
diff --git a/www-client/torbrowser-launcher/files/torbrowser-launcher-distro.patch b/www-client/torbrowser-launcher/files/torbrowser-launcher-distro.patch
@@ -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):
diff --git a/www-client/torbrowser-launcher/metadata.xml b/www-client/torbrowser-launcher/metadata.xml
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>xgqt@protonmail.com</email>
- <name>Maciej Barć</name>
- </maintainer>
- <upstream>
- <remote-id type="github">micahflee/torbrowser-launcher</remote-id>
- </upstream>
- <use>
- <flag name="apparmor">Enable AppArmor support</flag>
- </use>
-</pkgmetadata>
diff --git a/www-client/torbrowser-launcher/torbrowser-launcher-9999.ebuild b/www-client/torbrowser-launcher/torbrowser-launcher-9999.ebuild
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit distutils-r1 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/requests[${PYTHON_USEDEP}]
- dev-python/packaging[${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 "For updating over system TOR install net-vpn/tor and dev-python/txsocksx"
-}