mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
www-client/torbrowser-launcher: treeclean
Closes: https://bugs.gentoo.org/891773 Closes: https://bugs.gentoo.org/890583 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -61,11 +61,6 @@ sys-cluster/scalasca
|
|||||||
# See also this discussion: https://github.com/gentoo/guru/commit/10a1f43a0ebe867718744de54cb17fde32e4c329
|
# See also this discussion: https://github.com/gentoo/guru/commit/10a1f43a0ebe867718744de54cb17fde32e4c329
|
||||||
sys-apps/paludis
|
sys-apps/paludis
|
||||||
|
|
||||||
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-01-25)
|
|
||||||
# Broken and has no maintainers. Bug #891773.
|
|
||||||
# Masked for removal in 30 days.
|
|
||||||
www-client/torbrowser-launcher
|
|
||||||
|
|
||||||
# Julien Roy <julien@jroy.ca> (2023-01-25)
|
# Julien Roy <julien@jroy.ca> (2023-01-25)
|
||||||
# Requires <dev-python/coverage-7, which is no longer available in ::gentoo.
|
# Requires <dev-python/coverage-7, which is no longer available in ::gentoo.
|
||||||
# Upstream bug: https://github.com/TheKevJames/coveralls-python/issues/377
|
# Upstream bug: https://github.com/TheKevJames/coveralls-python/issues/377
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
DIST torbrowser-launcher-0.3.6.tar.gz 196292 BLAKE2B 32ec935d80f254fa069e57876e84bb108a5ca09d68c7f0e747228157de5166fc5e2106e6a544faf656c202f90fa0d5a051bdeaf4b398c24b7e17fbf5b9ba4543 SHA512 75afff4e1c0a258abdf72948ab33a8542c4624d66ae5f06f3bbd5505128b32692747c04d57a5aaaf6084ce3950ec931236171c7195a05a1b8867aa22563f35a8
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<!-- maintainer-needed -->
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">micahflee/torbrowser-launcher</remote-id>
|
|
||||||
</upstream>
|
|
||||||
<use>
|
|
||||||
<flag name="apparmor">Enable AppArmor support</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=no
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature xdg
|
|
||||||
|
|
||||||
DESCRIPTION="A program to download, update, 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/distro[${PYTHON_USEDEP}]
|
|
||||||
dev-python/packaging[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
apparmor? ( sys-libs/libapparmor )
|
|
||||||
"
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
optfeature "updating over system TOR" net-vpn/tor dev-python/txsocksx
|
|
||||||
}
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DISTUTILS_USE_PEP517=no
|
|
||||||
PYTHON_COMPAT=( python3_{8..11} )
|
|
||||||
|
|
||||||
inherit distutils-r1 optfeature xdg
|
|
||||||
|
|
||||||
DESCRIPTION="A program to download, update, 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/distro[${PYTHON_USEDEP}]
|
|
||||||
dev-python/packaging[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
apparmor? ( sys-libs/libapparmor )
|
|
||||||
"
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
optfeature "updating over system TOR" net-vpn/tor dev-python/txsocksx
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user