mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
1
dev-python/json_exporter/Manifest
Normal file
1
dev-python/json_exporter/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST json_exporter-1.0.2.tar.gz 11721 BLAKE2B 16649e749a0611bc082b44e61e1cf32a5c7e627a5eeae8ff03c2d2d0f0f5ca86c9b1a193bb01939a23a131377131fa00cc6192642580a59353ea3acf8f3d1a48 SHA512 eb2eda756e82f9eb6b92b441c66f19dbc0001ea1a57b5748930bb3c7c2cb89b83161e629f9c78ff11b33f330f5db104079ebb6f47bc2d186754851296dfdd1e2
|
||||
33
dev-python/json_exporter/json_exporter-1.0.2.ebuild
Normal file
33
dev-python/json_exporter/json_exporter-1.0.2.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python-based library for exporting JSON data as metrics for Prometheus."
|
||||
HOMEPAGE="https://github.com/desultory/json_exporter"
|
||||
SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/prometheus_exporter-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_install() {
|
||||
# Install the package
|
||||
distutils-r1_src_install
|
||||
|
||||
# Copy hid_ups_exporter.include to /etc/init.d
|
||||
newinitd json_exporter.include json_exporter
|
||||
# Create /var/log/json_exporter
|
||||
keepdir /var/log/json_exporter
|
||||
# Create /etc/json_exporter
|
||||
keepdir /etc/json_exporter
|
||||
}
|
||||
11
dev-python/json_exporter/metadata.xml
Normal file
11
dev-python/json_exporter/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dev@pyl.onl</email>
|
||||
<name>Zen</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">desultory/json_exporter</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user