summaryrefslogtreecommitdiff
path: root/dev-db/powa-collector/powa-collector-1.3.2.ebuild
blob: 482da1ea048bdc26acde4de12e08b56392142148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517="setuptools"
PYTHON_COMPAT=( python3_{13..14} )

inherit distutils-r1

DESCRIPTION="PostgreSQL Workload Analyzer Collector"
HOMEPAGE="https://github.com/powa-team/powa-collector"
SRC_URI="https://github.com/powa-team/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="POSTGRESQL"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="dev-python/psycopg:2[${PYTHON_USEDEP}]"

RESTRICT="test"

python_install_all() {
	distutils-r1_python_install_all

	insinto /etc
	newins powa-collector.conf-dist powa-collector.conf
}