commit: d3b5b578d41c875d4b987af944fed72c36875247 Author: Zen <z <AT> pyl <DOT> onl> AuthorDate: Mon Jan 13 23:15:30 2025 +0000 Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> CommitDate: Mon Jan 13 23:15:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3b5b578
dev-python/prometheus_exporter: Add 1.1.0 and 9999 with tests Signed-off-by: Zen <z <AT> pyl.onl> dev-python/prometheus_exporter/Manifest | 1 + .../prometheus_exporter-1.1.0.ebuild | 27 ++++++++++++++++++++++ .../prometheus_exporter-9999.ebuild | 26 +++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-python/prometheus_exporter/Manifest b/dev-python/prometheus_exporter/Manifest index 23b7f8c43..8de920536 100644 --- a/dev-python/prometheus_exporter/Manifest +++ b/dev-python/prometheus_exporter/Manifest @@ -1 +1,2 @@ DIST prometheus_exporter-1.0.0.tar.gz 12185 BLAKE2B 8224ef1031239502a9e57be2128d03c01cc31988dd821f486f47223270e6cc7ca42116d7a4d5d4ec87b96a44b9d85fe7391e528fc4f6e7b647cbf76cc10f04d8 SHA512 1aa9f2a4f40863ba89bbdce83ae8153374010cdb51ed2d58923d1406a20c124df67a232406fba1d316e440d8240986fad07dfbe8e40fbb59b921558293bb6489 +DIST prometheus_exporter-1.1.0.tar.gz 15248 BLAKE2B a3cee9c51346c607928e9ee693dd0ecdabd0e261a369acccecc7ab5fc593994f96e7242c9225309ddaa19dfa5a6efeb80376f95f038bc6fa5cba917ae86215a1 SHA512 f08af3157715eac288763d86bfe33bd8bf7a459877daa0778477ab06ee1de0e3726b671595ac18a4116a72e72ec578204ab86e464851700c2eb4cd53dc92ad5e diff --git a/dev-python/prometheus_exporter/prometheus_exporter-1.1.0.ebuild b/dev-python/prometheus_exporter/prometheus_exporter-1.1.0.ebuild new file mode 100644 index 000000000..ab0259d7e --- /dev/null +++ b/dev-python/prometheus_exporter/prometheus_exporter-1.1.0.ebuild @@ -0,0 +1,27 @@ +# 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..13} ) +inherit distutils-r1 + +DESCRIPTION="Python Prometheus exporter library" +HOMEPAGE="https://github.com/desultory/prometheus_exporter" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/zenlib-2.4.1[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.9.4[${PYTHON_USEDEP}] +" +distutils_enable_tests unittest + +python_test() { + eunittest tests/ +} + diff --git a/dev-python/prometheus_exporter/prometheus_exporter-9999.ebuild b/dev-python/prometheus_exporter/prometheus_exporter-9999.ebuild new file mode 100644 index 000000000..fac2d7636 --- /dev/null +++ b/dev-python/prometheus_exporter/prometheus_exporter-9999.ebuild @@ -0,0 +1,26 @@ +# 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..13} ) +inherit distutils-r1 git-r3 + +DESCRIPTION="Python Prometheus exporter library" +HOMEPAGE="https://github.com/desultory/prometheus_exporter" +EGIT_REPO_URI="https://github.com/desultory/${PN}" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=dev-python/zenlib-2.4.1[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.9.4[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest tests/ +}