commit: 3cbb30e77954f14e5057e9c25efce77d20a02397 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sat Feb 4 06:24:14 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Sat Feb 4 06:24:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbb30e7
app-metrics/prom2json: drop 0.1.0_p20170523 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> app-metrics/prom2json/Manifest | 1 - .../prom2json/prom2json-0.1.0_p20170523.ebuild | 38 ---------------------- 2 files changed, 39 deletions(-) diff --git a/app-metrics/prom2json/Manifest b/app-metrics/prom2json/Manifest index a99918699d37..698cd6719906 100644 --- a/app-metrics/prom2json/Manifest +++ b/app-metrics/prom2json/Manifest @@ -1,2 +1 @@ -DIST prom2json-0.1.0_p20170523.tar.gz 129179 BLAKE2B ef0e42e340d53894c31bff7018b668d8575fc3568584a43dc308955665ac6f59dbabf2d4605bc2a66957df57a29ebb7b3a4eef1f99537eefc2805a5ffd86904f SHA512 824f4c43f4a167dc7dde2f11e84cf482e5cdfa26ab11caf08a5461d525543c3491180f54694c4ae61fdd5dc9763ff16f6e29b332a64dc3ac52fdb7b9c0902571 DIST prom2json-1.3.0.tar.gz 1646893 BLAKE2B 9b8fcfa4a3e45ee08a57016fa6a7611604cbb578f162f0bf7ff8338f345f98788b75c3ac047ffca95b62020e972c302bc1c44f2f7f00240cfd978f73b8d9c829 SHA512 8f02c7b2616d915e2b4ff5f195a8c2eff89d18417f7396dc02d2aa4cf34711358b0beef6effae9b42a3d6f4b0616c5d3ab995a73ab9e37a4a0ec230adff6f249 diff --git a/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild b/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild deleted file mode 100644 index bc3abad7c8c2..000000000000 --- a/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit golang-build golang-vcs-snapshot - -EGO_PN="github.com/prometheus/${PN}" -EGIT_COMMIT="4a7436442837da72f9e211d99f0145dff3246b66" -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="A tool to scrape a Prometheus client and dump the result as JSON" -HOMEPAGE="https://github.com/prometheus/prom2json" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" - -DEPEND="dev-util/promu" - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - mkdir -p bin || die - GOPATH="${S}" promu build -v --prefix ${PN} || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin ${PN}/${PN} - dodoc {README,CONTRIBUTING}.md - popd || die -}