Skip to content

Commit

Permalink
dev-python/prometheus_exporter: Add 1.1.0 and 9999 with tests
Browse files Browse the repository at this point in the history
Signed-off-by: Zen <[email protected]>
  • Loading branch information
desultory committed Jan 13, 2025
1 parent 56056c0 commit d3b5b57
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/prometheus_exporter/Manifest
Original file line number Diff line number Diff line change
@@ -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
27 changes: 27 additions & 0 deletions dev-python/prometheus_exporter/prometheus_exporter-1.1.0.ebuild
Original file line number Diff line number Diff line change
@@ -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/
}

26 changes: 26 additions & 0 deletions dev-python/prometheus_exporter/prometheus_exporter-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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/
}

0 comments on commit d3b5b57

Please sign in to comment.