From 320c6ecc7370aeb15c9677421cd5445f6f522ff0 Mon Sep 17 00:00:00 2001 From: James Campbell Date: Sun, 2 Jun 2024 12:20:01 -0400 Subject: [PATCH] Add initial Gentooo packaging --- Makefile.am | 2 +- pgmon.openrc => gentoo/files/pgmon.openrc | 0 gentoo/pgmon-0.0.1.ebuild | 25 +++++++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) rename pgmon.openrc => gentoo/files/pgmon.openrc (100%) create mode 100644 gentoo/pgmon-0.0.1.ebuild diff --git a/Makefile.am b/Makefile.am index 0903a9d..f8c4b33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,2 @@ bin_SCRIPTS = pgmon.py -dist_doc_DATA = README ChangeLog pgmon_userparameter.conf pgmon.openrc pgmon@.service +dist_doc_DATA = README ChangeLog pgmon_userparameter.conf pgmon_templates.yaml diff --git a/pgmon.openrc b/gentoo/files/pgmon.openrc similarity index 100% rename from pgmon.openrc rename to gentoo/files/pgmon.openrc diff --git a/gentoo/pgmon-0.0.1.ebuild b/gentoo/pgmon-0.0.1.ebuild new file mode 100644 index 0000000..59b3599 --- /dev/null +++ b/gentoo/pgmon-0.0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6..11} ) + +inherit git-r3 python-r1 + +DESCRIPTION="PostgreSQL monitoring bridge" +HOMEPAGE="None" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64" + +EGIT_REPO_URL="https://code2.shh-dot-com.org/pgmon.git" +#EGIT_COMMIT="" + +DEPEND=" + ${PYTHON_DEPS} + dev-python/psycopg:2 + " +RDEPEND="${DEPEND}" +BDEPEND=""