-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-python/prometheus_exporter: Add 1.1.0 and 9999 with tests
Signed-off-by: Zen <[email protected]>
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
27
dev-python/prometheus_exporter/prometheus_exporter-1.1.0.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
26
dev-python/prometheus_exporter/prometheus_exporter-9999.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | ||
} |