mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-plugins/browserpass: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -690,14 +690,6 @@ app-text/pdfshuffler
|
||||
# Removal in 30 days. Bug #695392.
|
||||
dev-python/quixote
|
||||
|
||||
# Matt Turner <mattst88@gentoo.org> (2019-12-01)
|
||||
# browserpass ebuild ported to go-modules, so these modules now have no reverse
|
||||
# dependencies.
|
||||
# Removal in 30 days. Bugs #683286, #683310, #687462, #700792
|
||||
=www-plugins/browserpass-3.0.6
|
||||
dev-go/zglob
|
||||
dev-go/logrus
|
||||
|
||||
# Bernard Cafarelli <voyageur@gentoo.org> (2019-11-29)
|
||||
# Beta for new major version with initial Python 3 support
|
||||
=app-backup/rdiff-backup-1.4.0_beta*
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN=browserpass-native
|
||||
EGO_PN=github.com/browserpass/${MY_PN}
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
# MY_P="${MY_PN}-${PV}"
|
||||
# S="${WORKDIR}/${MY_P}"
|
||||
SRC_URI="https://github.com/browserpass/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
inherit golang-vcs-snapshot
|
||||
fi
|
||||
inherit golang-build
|
||||
|
||||
DESCRIPTION="WebExtension host binary for pass, a UNIX password manager"
|
||||
HOMEPAGE="https://github.com/browserpass/browserpass-native"
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
RDEPEND="app-crypt/gnupg"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-go/logrus:=
|
||||
dev-go/zglob:="
|
||||
|
||||
src_compile() {
|
||||
golang-build_src_compile
|
||||
|
||||
pushd "src/${EGO_PN}" >/dev/null || die
|
||||
sed -e 's|%%replace%%|'${EPREFIX}'/usr/libexec/browserpass-native|' \
|
||||
-i browser-files/firefox-host.json browser-files/chromium-host.json || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec
|
||||
doexe browserpass-native
|
||||
|
||||
pushd "src/${EGO_PN}" >/dev/null || die
|
||||
insinto /usr/$(get_libdir)/mozilla/native-messaging-hosts
|
||||
newins browser-files/firefox-host.json com.github.browserpass.native.json
|
||||
|
||||
insinto /etc/chromium/native-messaging-hosts
|
||||
newins browser-files/chromium-host.json com.github.browserpass.native.json
|
||||
|
||||
insinto /etc/opt/chrome/native-messaging-hosts
|
||||
newins browser-files/chromium-host.json com.github.browserpass.native.json
|
||||
|
||||
popd >/dev/null || die
|
||||
}
|
||||
Reference in New Issue
Block a user