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:
Anna (cybertailor) Vyalkova
2023-02-28 02:03:23 +05:00
parent 6abdfe3ff1
commit 98ae39a78e
5 changed files with 0 additions and 119 deletions

View File

@@ -1 +0,0 @@
DIST torbrowser-launcher-0.3.6.tar.gz 196292 BLAKE2B 32ec935d80f254fa069e57876e84bb108a5ca09d68c7f0e747228157de5166fc5e2106e6a544faf656c202f90fa0d5a051bdeaf4b398c24b7e17fbf5b9ba4543 SHA512 75afff4e1c0a258abdf72948ab33a8542c4624d66ae5f06f3bbd5505128b32692747c04d57a5aaaf6084ce3950ec931236171c7195a05a1b8867aa22563f35a8

View File

@@ -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>

View File

@@ -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
}

View File

@@ -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
}