app-metrics/collectd-bcache - 9999 (jm-overlay)

Search

Install

Install this version:

emerge -a =app-metrics/collectd-bcache-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-metrics/collectd-bcache-9999

Or alternatively:

emerge --autounmask-write -a =app-metrics/collectd-bcache-9999

Package Information

Description:
Collect bcache statistics using the Collectd Exec plugin
Homepage:
https://github.com/pommi/collectd-bcache
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 7 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_{11,12,13,14} pypy3_11 )

inherit git-r3 python-r1

DESCRIPTION="Collect bcache statistics using the Collectd Exec plugin"
HOMEPAGE="https://github.com/pommi/collectd-bcache"
EGIT_REPO_URI="https://github.com/pommi/collectd-bcache.git"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND="${PYTHON_DEPS}
	app-metrics/collectd[collectd_plugins_exec]"

src_install() {
	do_install() {
		python_doscript "${PN}"
	}
	python_foreach_impl do_install
	dodoc README.md
}

pkg_postinst() {
	elog "To use this package, enable the collectd exec plugin and add"
	elog "   Exec \"collectd\" \"${EROOT}usr/bin/${PN}\""
	elog "to the plugin's configuration"
}

Inherited Eclasses

Dependencies

RDEPEND

	app-metrics/collectd[collectd_plugins_exec]