diff options
author | William Hubbs <williamh@gentoo.org> | 2022-07-22 10:21:01 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-07-22 10:23:23 -0500 |
commit | cd72035b30eec826ad92c4dc26be90ce1fd6580f (patch) | |
tree | 10a17fca03ed9b27d325197a512109d9058c9643 /app-metrics/openvpn_exporter/openvpn_exporter-0.3.0.ebuild | |
parent | sys-fs/encfs: stable on amd64, bug #860108 (diff) | |
download | gentoo-cd72035b30eec826ad92c4dc26be90ce1fd6580f.tar.gz gentoo-cd72035b30eec826ad92c4dc26be90ce1fd6580f.tar.bz2 gentoo-cd72035b30eec826ad92c4dc26be90ce1fd6580f.zip |
app-metrics/openvpn_exporter: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/844340
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics/openvpn_exporter/openvpn_exporter-0.3.0.ebuild')
-rw-r--r-- | app-metrics/openvpn_exporter/openvpn_exporter-0.3.0.ebuild | 34 |
1 files changed, 5 insertions, 29 deletions
diff --git a/app-metrics/openvpn_exporter/openvpn_exporter-0.3.0.ebuild b/app-metrics/openvpn_exporter/openvpn_exporter-0.3.0.ebuild index 759b08a9f34b..13a0b9759eda 100644 --- a/app-metrics/openvpn_exporter/openvpn_exporter-0.3.0.ebuild +++ b/app-metrics/openvpn_exporter/openvpn_exporter-0.3.0.ebuild @@ -1,37 +1,13 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit go-module -EGO_PN="github.com/kumina/openvpn_exporter" - DESCRIPTION="Prometheus Exporter for OpenVPN" HOMEPAGE="https://github.com/kumina/openvpn_exporter" - -EGO_SUM=( - "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973" - "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod" - "github.com/gogo/protobuf v1.1.1" - "github.com/gogo/protobuf v1.1.1/go.mod" - "github.com/golang/protobuf v1.2.0" - "github.com/golang/protobuf v1.2.0/go.mod" - "github.com/matttproud/golang_protobuf_extensions v1.0.1" - "github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod" - "github.com/prometheus/client_golang v0.9.1" - "github.com/prometheus/client_golang v0.9.1/go.mod" - "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910" - "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod" - "github.com/prometheus/common v0.0.0-20181020173914-7e9e6cabbd39" - "github.com/prometheus/common v0.0.0-20181020173914-7e9e6cabbd39/go.mod" - "github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d" - "github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod" - "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f" - "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod" - ) -go-module_set_globals -SRC_URI="https://github.com/kumina/openvpn_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz - ${EGO_SUM_SRC_URI}" +SRC_URI="https://github.com/kumina/openvpn_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" LICENSE="Apache-2.0 BSD MIT" SLOT="0" @@ -46,7 +22,7 @@ DEPEND="${COMMON_DEPEND}" RDEPEND="${COMMON_DEPEND}" src_compile() { - go build -o ${PN} || die + ego build -o ${PN} } src_install() { |