commit: 5d6f476bc91ef4dd8d8d9561ab41ab8a55744398 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Mon Jun 25 12:02:08 2018 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Mon Jun 25 12:02:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6f476b
app-admin/ps_mem: new package Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-admin/ps_mem/Manifest | 1 + app-admin/ps_mem/metadata.xml | 8 ++++++++ app-admin/ps_mem/ps_mem-3.12.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/app-admin/ps_mem/Manifest b/app-admin/ps_mem/Manifest new file mode 100644 index 00000000000..dc7acbdeb15 --- /dev/null +++ b/app-admin/ps_mem/Manifest @@ -0,0 +1 @@ +DIST v3.12.tar.gz 18074 BLAKE2B 98861120b09b3a25b29b5b461d50d8e6a8a684fe76685a7b032f769896dba4b8fa6cd1b1de2644488bf8b4568b960f2949eac2a72a6225cd19682a9c08803baa SHA512 aeba7573b651ffbe6bb263ecc257716cc91219aac232694a628b0e5b1e45235149d7dcf68f6b9ee669bd005adf68693cd09f32e378934690270b0b72c38abea4 diff --git a/app-admin/ps_mem/metadata.xml b/app-admin/ps_mem/metadata.xml new file mode 100644 index 00000000000..43523418890 --- /dev/null +++ b/app-admin/ps_mem/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>bkoh...@gentoo.org</email> + <name>Ben Kohler</name> +</maintainer> +</pkgmetadata> diff --git a/app-admin/ps_mem/ps_mem-3.12.ebuild b/app-admin/ps_mem/ps_mem-3.12.ebuild new file mode 100644 index 00000000000..42ed5888590 --- /dev/null +++ b/app-admin/ps_mem/ps_mem-3.12.ebuild @@ -0,0 +1,29 @@ +# 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} ) +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" + +DEPEND="${PYTHON_DEPS} + dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${PYTHON_DEPS}" + +python_install() { + distutils-r1_python_install --install-scripts="/usr/sbin" +} + +src_install() { + distutils-r1_src_install + doman ${PN}.1 +}