mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
net-misc/ooni-probe-cli: add 3.16.6, drop 3.16.4
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
32
net-misc/ooni-probe-cli/ooni-probe-cli-3.16.6.ebuild
Normal file
32
net-misc/ooni-probe-cli/ooni-probe-cli-3.16.6.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
MY_PN=${PN#ooni-}
|
||||
DESCRIPTION="OONI Probe network measurement tool for detecting internet censorship"
|
||||
HOMEPAGE="https://ooni.org https://github.com/ooni/probe-cli"
|
||||
SRC_URI="https://github.com/ooni/${MY_PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test" # hangs
|
||||
|
||||
DOCS=( docs CODEOWNERS {CONTRIBUTING,Readme}.md )
|
||||
|
||||
src_compile() {
|
||||
ego build -v -ldflags="-s -w" ./cmd/ooniprobe
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test $(go list ./... | grep -v /vendor/)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ooniprobe
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user