commit:     624721ef3ccef59556c381a4fbfb216645790e4b
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Oct  9 11:49:13 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 13:11:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=624721ef

app-admin/ngxtop: add python3.9, adjust DISTUTILS_USE_SETUPTOOLS

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

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

diff --git a/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r1.ebuild 
b/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r1.ebuild
new file mode 100644
index 00000000000..a38a287da51
--- /dev/null
+++ b/app-admin/ngxtop/ngxtop-0.0.3_pre141201-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_REQ_USE="sqlite"
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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