commit:     d19cd6d2392bb67452fd7d1f2ef62257dcf70bde
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Sep 24 21:34:57 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 12:32:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19cd6d2

app-admin/ngxtop: add python3.10, remove DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/813291
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

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

diff --git a/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r2.ebuild 
b/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r2.ebuild
new file mode 100644
index 00000000000..e93de604bd5
--- /dev/null
+++ b/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+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";
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+       dev-python/docopt[${PYTHON_USEDEP}]
+       dev-python/pyparsing[${PYTHON_USEDEP}]
+       dev-python/tabulate[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.0.2-py3.patch )

Reply via email to