diff options
Diffstat (limited to 'dev-util/smem')
-rw-r--r-- | dev-util/smem/Manifest | 6 | ||||
-rw-r--r-- | dev-util/smem/metadata.xml | 21 | ||||
-rw-r--r-- | dev-util/smem/smem-1.4.ebuild | 42 | ||||
-rw-r--r-- | dev-util/smem/smem-20071119_p1.ebuild | 24 |
4 files changed, 28 insertions, 65 deletions
diff --git a/dev-util/smem/Manifest b/dev-util/smem/Manifest index 760474cfa80f..a27e18b44d52 100644 --- a/dev-util/smem/Manifest +++ b/dev-util/smem/Manifest @@ -1,3 +1,3 @@ -DIST smem-1.4.tar.gz 15733 BLAKE2B 6c097c10625050a9d3a133144054d9791bb0ae2f498335398889b58c243b4477d38aefd8203a0483016647a6a72b4bcf4b9af23c241c0e87494614ca6cdaeade SHA512 2740b9ebede8e742e3d01f5f2e7a77a4d3ed04bee78585a904d07c299ea5a77be135dd5b6626abfdebcf2742b9004035443d3faeca04ca9b59c603f74708af9b -EBUILD smem-1.4.ebuild 794 BLAKE2B a93b65d84793751ad86834229db06c58d4c4e6837a09a2a83e8c19b4256711b5d0990130c4f52b086a737f99e031ef0de3769c9ed83ae4137a16c3f44304805b SHA512 79cbdd526a8702104effb3be4c8f64ecbdf10d578d4e78fcddf699f7c8e74f9a9b0457aafaf78eb40bf75682f495668a98d1a95813e30eddc6cb302eea990d2d -MISC metadata.xml 1006 BLAKE2B c547308370ac8bcd34b17e418415de262efe6b1898ab049e7133aa6715227baecacd23ee5811d6b86b9d095c9fa8756b86f547a1728436e57140f1e303d3b828 SHA512 eed65e803abf73ded23cd7ce0dbc2c5ee32c7ac562e99026828589d964aff5ad19a00c0d21b2602c8737a2203aff7d116fd3fd06316de09276faa9818c87454e +DIST smem.pl.20071119_p1.bz2 794 BLAKE2B eb48d3ed41d0261a94381da5795764a78d95abcb23fe9d46755e7c4a6672931a972bca8f188a359b7bb4a52afcfe177098c048e3dddc910a7423f5c2bf5d37ac SHA512 452d10b2e3dda5d4167e62e3fd541f89f90cb07c431876e0fb671f30e224b8cd14a0268ab14243342c2188f3d3826e7a8303b3fd2eda393fdc8e31d0f1b1d575 +EBUILD smem-20071119_p1.ebuild 499 BLAKE2B c94bac5be5a10cd218ce0312b830861fea822b9998e9e3a764c99c250317fb42472166eaa05ad600b350bcef23c72021c0278f3d8ccbbfa3f409d1a8b854ac41 SHA512 bdae13b9445d5aafeba05945b1a7c169953c3073da104e1f3990fcc7f7a4528219a5bf7512d7b430bbb3ac6e055063dbbb0fe75225e2d72c8b36c8b2c10ee46c +MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/dev-util/smem/metadata.xml b/dev-util/smem/metadata.xml index bd732509198c..7a38bb900964 100644 --- a/dev-util/smem/metadata.xml +++ b/dev-util/smem/metadata.xml @@ -1,24 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>ck+gentoo@bl4ckb0x.de</email> - <name>Conrad Kostecki</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <longdescription> - A tool that can give numerous reports on memory usage on Linux systems. - Unlike existing tools, smem can report proportional set size (PSS), - which is a more meaningful representation of the amount of memory - used by libraries and applications in a virtual memory system. - - Because large portions of physical memory are typically shared among - multiple applications, the standard measure of memory usage known as - resident set size (RSS) will significantly overestimate memory usage. - PSS instead measures each application's "fair share" of each shared - area to give a realistic measure. - </longdescription> + <!-- maintainer-needed --> </pkgmetadata> diff --git a/dev-util/smem/smem-1.4.ebuild b/dev-util/smem/smem-1.4.ebuild deleted file mode 100644 index 2eff0923ad8f..000000000000 --- a/dev-util/smem/smem-1.4.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 toolchain-funcs - -DESCRIPTION="A tool that can give numerous reports on memory usage on Linux systems" -HOMEPAGE="https://www.selenic.com/smem/" -SRC_URI="https://www.selenic.com/${PN}/download/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS}" - -BDEPEND="dev-lang/python:2.7" - -src_prepare() { - default - - python_fix_shebang smem -} - -src_compile() { - "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -o smemcap smemcap.c || die -} - -src_install() { - dobin smemcap - python_doexe smem - - doman smem.8 -} - -pkg_postinst() { - optfeature "for chart generation." dev-python/matplotlib -} diff --git a/dev-util/smem/smem-20071119_p1.ebuild b/dev-util/smem/smem-20071119_p1.ebuild new file mode 100644 index 000000000000..713f7b9e6a04 --- /dev/null +++ b/dev-util/smem/smem-20071119_p1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +DESCRIPTION="A tool to parse smaps statistics" +HOMEPAGE="https://www.selenic.com/smem/" +SRC_URI="mirror://gentoo/smem.pl.${PV}.bz2 + https://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/smem.pl.${PV}.bz2" + +IUSE="" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="0" + +RDEPEND="dev-lang/perl + dev-perl/Linux-Smaps" + +src_compile() { :; } + +src_install() { + newbin smem.pl.${PV} smem || die +} |