commit:     cd4e233eaddb7de0a652ff21870c906dc1d30ae8
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 30 14:39:32 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri Mar 30 14:39:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd4e233e

app-metrics/snmp_exporter: Move package from 
net-analyzer/prometheus-snmp_exporter

 app-metrics/snmp_exporter/Manifest                                    | 1 +
 .../snmp_exporter/files/snmp_exporter.confd                           | 0
 .../snmp_exporter/files/snmp_exporter.initd                           | 0
 .../snmp_exporter}/metadata.xml                                       | 0
 .../snmp_exporter/snmp_exporter-0.9.0.ebuild                          | 4 ++--
 net-analyzer/prometheus-snmp_exporter/Manifest                        | 1 -
 profiles/updates/1Q-2018                                              | 1 +
 7 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/app-metrics/snmp_exporter/Manifest 
b/app-metrics/snmp_exporter/Manifest
new file mode 100644
index 00000000000..654466fae8e
--- /dev/null
+++ b/app-metrics/snmp_exporter/Manifest
@@ -0,0 +1 @@
+DIST snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 
3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933
 SHA512 
eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

diff --git 
a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd 
b/app-metrics/snmp_exporter/files/snmp_exporter.confd
similarity index 100%
rename from 
net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
rename to app-metrics/snmp_exporter/files/snmp_exporter.confd

diff --git 
a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd 
b/app-metrics/snmp_exporter/files/snmp_exporter.initd
similarity index 100%
rename from 
net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd
rename to app-metrics/snmp_exporter/files/snmp_exporter.initd

diff --git a/net-analyzer/prometheus-snmp_exporter/metadata.xml 
b/app-metrics/snmp_exporter/metadata.xml
similarity index 100%
rename from net-analyzer/prometheus-snmp_exporter/metadata.xml
rename to app-metrics/snmp_exporter/metadata.xml

diff --git 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.9.0.ebuild 
b/app-metrics/snmp_exporter/snmp_exporter-0.9.0.ebuild
similarity index 92%
rename from 
net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.9.0.ebuild
rename to app-metrics/snmp_exporter/snmp_exporter-0.9.0.ebuild
index 2d73fe9faa4..c81866ee851 100644
--- 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.9.0.ebuild
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.9.0.ebuild
@@ -32,13 +32,13 @@ src_prepare() {
 src_compile() {
        pushd src/${EGO_PN} || die
        mkdir -p bin || die
-       GOPATH="${S}" promu build -v --prefix snmp_exporter || die
+       GOPATH="${S}" promu build -v --prefix bin || die
        popd || die
 }
 
 src_install() {
        pushd src/${EGO_PN} || die
-       dobin snmp_exporter/snmp_exporter
+       dobin bin/snmp_exporter
        dodoc {README,CONTRIBUTING}.md
        insinto /etc/snmp_exporter
        newins snmp.yml snmp.yml.example

diff --git a/net-analyzer/prometheus-snmp_exporter/Manifest 
b/net-analyzer/prometheus-snmp_exporter/Manifest
deleted file mode 100644
index c11102143f5..00000000000
--- a/net-analyzer/prometheus-snmp_exporter/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST prometheus-snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 
3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933
 SHA512 
eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

diff --git a/profiles/updates/1Q-2018 b/profiles/updates/1Q-2018
index e8d5ab12f07..a2d38b5de14 100644
--- a/profiles/updates/1Q-2018
+++ b/profiles/updates/1Q-2018
@@ -17,3 +17,4 @@ move net-analyzer/prometheus-alertmanager 
app-metrics/alertmanager
 move dev-util/buildbot-prometheus app-metrics/buildbot-prometheus
 move net-analyzer/prometheus-node_exporter app-metrics/node_exporter
 move net-analyzer/prometheus-blackbox_exporter app-metrics/blackbox_exporter
+move net-analyzer/prometheus-snmp_exporter app-metrics/snmp_exporter

Reply via email to