public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "George Zenner" <dev@pyl.onl>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hid_ups_exporter/
Date: Wed,  5 Jun 2024 03:19:26 +0000 (UTC)	[thread overview]
Message-ID: <1717557551.70ceb5515066921c156ce86c9d1a6d29f8a7e213.dev@gentoo> (raw)

commit:     70ceb5515066921c156ce86c9d1a6d29f8a7e213
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Wed Jun  5 03:19:11 2024 +0000
Commit:     George Zenner <dev <AT> pyl <DOT> onl>
CommitDate: Wed Jun  5 03:19:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70ceb551

dev-python/hid_ups_exporter: Add 1.0.1

Signed-off-by: Zen <z <AT> pyl.onl>

 dev-python/hid_ups_exporter/Manifest               |  1 +
 .../hid_ups_exporter/hid_ups_exporter-1.0.1.ebuild | 32 ++++++++++++++++++++++
 dev-python/hid_ups_exporter/metadata.xml           | 11 ++++++++
 3 files changed, 44 insertions(+)

diff --git a/dev-python/hid_ups_exporter/Manifest b/dev-python/hid_ups_exporter/Manifest
new file mode 100644
index 000000000..d08fb280b
--- /dev/null
+++ b/dev-python/hid_ups_exporter/Manifest
@@ -0,0 +1 @@
+DIST hid_ups_exporter-1.0.1.tar.gz 9341 BLAKE2B 61e94dcfbc8ff8e3ea33b9a537a9312385010008ab93473668ba39c8d05b0718a14fd3e66820d80c38dcd3492f1fa3bd032b5f525af9a55a6e90688d18aa3167 SHA512 8e8aaf6236a4c40ba8850dc9b21ac2946c27652465f8c21aeaf5d04e102d1814b39b89261405afd0364db4f1829e8d69ac7726d311d0f5642ce37aaa7074cc20

diff --git a/dev-python/hid_ups_exporter/hid_ups_exporter-1.0.1.ebuild b/dev-python/hid_ups_exporter/hid_ups_exporter-1.0.1.ebuild
new file mode 100644
index 000000000..deef63290
--- /dev/null
+++ b/dev-python/hid_ups_exporter/hid_ups_exporter-1.0.1.ebuild
@@ -0,0 +1,32 @@
+# 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 HID UPS data as metrics for Prometheus."
+HOMEPAGE="https://github.com/desultory/hid_ups_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/hid_ups-1.0.1[${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 hid_ups_exporter.include hid_ups_exporter
+	# Create /var/log/hid_ups_exporter
+	keepdir /var/log/hid_ups_exporter
+}

diff --git a/dev-python/hid_ups_exporter/metadata.xml b/dev-python/hid_ups_exporter/metadata.xml
new file mode 100644
index 000000000..db062242c
--- /dev/null
+++ b/dev-python/hid_ups_exporter/metadata.xml
@@ -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/hid_ups_exporter</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2024-06-05  3:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05  3:19 George Zenner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-15 20:26 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/hid_ups_exporter/ Lucio Sauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717557551.70ceb5515066921c156ce86c9d1a6d29f8a7e213.dev@gentoo \
    --to=dev@pyl.onl \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox