commit:     4b3f01f0bc616f42c6fd91b9c64cb2eeceb29045
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Mar  8 12:53:13 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 15:03:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b3f01f0

app-admin/ngxtop: migrate to PEP517 build

Closes: https://bugs.gentoo.org/909860
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-admin/ngxtop/ngxtop-0.0.3_pre141201-r3.ebuild | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r3.ebuild 
b/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r3.ebuild
new file mode 100644
index 000000000000..873152bf9eb5
--- /dev/null
+++ b/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="real-time metrics for nginx server (and others)"
+HOMEPAGE="https://github.com/lebinh/ngxtop";
+#SRC_URI="https://github.com/lebinh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="dev-python/docopt[${PYTHON_USEDEP}]
+       dev-python/pyparsing[${PYTHON_USEDEP}]
+       dev-python/tabulate[${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.0.2-py3.patch )
+
+distutils_enable_tests pytest

Reply via email to