commit: e6f094a16ed97dd5c316d4bd1085d3076245d9fe
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 29 23:17:11 2018 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Jun 29 23:17:11 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f094a1
app-admin/ps_mem: revbump for python-single-r1 & minor tweaks
Package-Manager: Portage-2.3.41, Repoman-2.3.9
app-admin/ps_mem/ps_mem-3.12-r1.ebuild | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/app-admin/ps_mem/ps_mem-3.12-r1.ebuild
b/app-admin/ps_mem/ps_mem-3.12-r1.ebuild
new file mode 100644
index 00000000000..82174961a3b
--- /dev/null
+++ b/app-admin/ps_mem/ps_mem-3.12-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1
+
+DESCRIPTION="A utility to report core memory usage per program"
+HOMEPAGE="https://github.com/pixelb/${PN}"
+SRC_URI="https://github.com/pixelb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_install() {
+ distutils-r1_python_install --install-scripts="${EPREFIX}/usr/sbin"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman ${PN}.1
+}