From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- dev-python/memory_profiler/Manifest | 6 ++- .../memory_profiler/memory_profiler-0.59.ebuild | 55 ++++++++++++++++++++++ .../memory_profiler/memory_profiler-0.60.ebuild | 55 ++++++++++++++++++++++ dev-python/memory_profiler/metadata.xml | 2 +- 4 files changed, 116 insertions(+), 2 deletions(-) create mode 100644 dev-python/memory_profiler/memory_profiler-0.59.ebuild create mode 100644 dev-python/memory_profiler/memory_profiler-0.60.ebuild (limited to 'dev-python/memory_profiler') diff --git a/dev-python/memory_profiler/Manifest b/dev-python/memory_profiler/Manifest index 87f3257e8ae0..80fe2ed6c6ed 100644 --- a/dev-python/memory_profiler/Manifest +++ b/dev-python/memory_profiler/Manifest @@ -1,3 +1,7 @@ DIST memory_profiler-0.58.0.gh.tar.gz 140692 BLAKE2B 2f3917d833dfcc722b61871c7e704e869527a389b10a81b473989b8455630f5defa5f5b21a172708070b89468c7dd66682cd3b9c0bf435e9be49651b69b50137 SHA512 5c02933acffc05f42d2ae98a069d36563e1d26515d439d94ad3903960dd06cd378faae3000b26c022770e71e83db6f770ceaf63cabb92f4159bda0ff9cc4e849 +DIST memory_profiler-0.59.gh.tar.gz 142586 BLAKE2B b9c8cffbd03f980937d30626facf431e6effd9a86a21fbe629f4238a2f78f2d65242637105ad3a07b4158a6335a541701bba657941bb23c9da0f49a1113402ee SHA512 f70ad8f871bd5068e2817049231abee7e535cb352f0444dcb0d9d072b9f4dda944e85ec7854855307a9748257da80f53dd50fe17fefbd73045dce1306f51f88d +DIST memory_profiler-0.60.gh.tar.gz 142585 BLAKE2B aa7fd9e547eecadc184d4da5830c582a9a9ab9565f3dc9c763caaa7e75698ed6b499d2555e4a93b39d2f80f85fad025b84043e0812cb25dd1511f4ebf8da5a85 SHA512 407e44a410cdb4c7c8cc5ff40198c28012f8b0c6bba88d2d1612681eb621a1b802ef137be62fc64ca9e3c362ca3814433bc12169d7c3827bf97293c5bbb8bfbc EBUILD memory_profiler-0.58.0.ebuild 1751 BLAKE2B edb594384f4f40a11e7feb47545639ab76f9381c8bcc16275e9b5f37c944d6d62cf294e50dda49846e7cebb4971f2696b62b541f3e5e86f0c3e1a52b19c8d8f9 SHA512 13db72b90c2e48c8e9282d47b9535a8d9fdd1257b131514c161a81568396229af68f3b55881e7a20b562ae085b942b87c8605e0de96adce93cb0c54d99d2a11f -MISC metadata.xml 548 BLAKE2B 3b982d0f121b61b7654698307937b141ac038d27bcfc5337208bcfd2405fc3a155e2b2e69dbe6a682d4ac47e9f46c86d580bf59b72db956caddeec7ab7b2fd17 SHA512 000ec311494385bdd28557e894267525980f2650f63ffb45581d08a2e32a77a9a65cbe5a07c0c2796d563ab7e557a2b3f371a96c27bbc3627b77d9c992e78ede +EBUILD memory_profiler-0.59.ebuild 1790 BLAKE2B 7a518d001564b1f62e035fa6b1a4821d0b33afb13eac9e58b58f76d40d8f1195de7a9a4e8afee3c486cbe8f2896d2782dada32d097ed70b59865e1e56ef0b832 SHA512 6970839762eb5d606f826cd185a88f5ed318833df375c06dcfc0948ed127ce01ab9242b93c5365b62e6960661668c6de70a871608ac453740e2b46b20b9deb08 +EBUILD memory_profiler-0.60.ebuild 1790 BLAKE2B 7a518d001564b1f62e035fa6b1a4821d0b33afb13eac9e58b58f76d40d8f1195de7a9a4e8afee3c486cbe8f2896d2782dada32d097ed70b59865e1e56ef0b832 SHA512 6970839762eb5d606f826cd185a88f5ed318833df375c06dcfc0948ed127ce01ab9242b93c5365b62e6960661668c6de70a871608ac453740e2b46b20b9deb08 +MISC metadata.xml 548 BLAKE2B 744d692e6a44ddb587b1ae69c5f6ff48fa0f02b8acadcaee34242f810d1404fc6b3c4493a257a70b3af21850e08a17a8ee3758ae9e8af1937b645a2968b5d4c0 SHA512 b7872bfa470fb34a4d60bb9ee976d5a62122b0b701635e305988660952e695f52d9d4f0227518dc9fb337b4a3f6a95dc11b5298f1787ddd100b3f46c34f812fe diff --git a/dev-python/memory_profiler/memory_profiler-0.59.ebuild b/dev-python/memory_profiler/memory_profiler-0.59.ebuild new file mode 100644 index 000000000000..afc8e46ebfb4 --- /dev/null +++ b/dev-python/memory_profiler/memory_profiler-0.59.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="A module for monitoring memory usage of a python program" +HOMEPAGE="https://pypi.org/project/memory-profiler/ https://github.com/pythonprofilers/memory_profiler" +SRC_URI=" + https://github.com/pythonprofilers/memory_profiler/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +IUSE="examples" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + +# dev-lang/mercury: collision on 'mprof' +# https://bugs.gentoo.org/571176 +RDEPEND="dev-python/psutil[${PYTHON_USEDEP}] + !dev-lang/mercury" + +distutils_enable_tests pytest + +python_test() { + "${EPYTHON}" -m memory_profiler test/test_as.py || die + "${EPYTHON}" -m memory_profiler test/test_func.py || die + "${EPYTHON}" -m memory_profiler test/test_gen.py || die + "${EPYTHON}" -m memory_profiler test/test_loop.py || die + "${EPYTHON}" -m memory_profiler test/test_loop_decorated.py || die + "${EPYTHON}" -m memory_profiler test/test_mprofile.py || die + "${EPYTHON}" -m memory_profiler test/test_nested.py || die + "${EPYTHON}" -m memory_profiler test/test_precision_command_line.py || die + "${EPYTHON}" -m memory_profiler test/test_unicode.py || die + + "${EPYTHON}" test/test_exception.py || die + "${EPYTHON}" test/test_exit_code.py || die + "${EPYTHON}" test/test_global.py || die + "${EPYTHON}" test/test_import.py || die + "${EPYTHON}" test/test_memory_usage.py || die + "${EPYTHON}" test/test_mprof.py || die + "${EPYTHON}" test/test_precision_import.py || die + "${EPYTHON}" test/test_stream_unicode.py || die + "${EPYTHON}" test/test_tracemalloc.py || die +} + +python_install_all() { + use examples && dodoc -r examples + + distutils-r1_python_install_all +} diff --git a/dev-python/memory_profiler/memory_profiler-0.60.ebuild b/dev-python/memory_profiler/memory_profiler-0.60.ebuild new file mode 100644 index 000000000000..afc8e46ebfb4 --- /dev/null +++ b/dev-python/memory_profiler/memory_profiler-0.60.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="A module for monitoring memory usage of a python program" +HOMEPAGE="https://pypi.org/project/memory-profiler/ https://github.com/pythonprofilers/memory_profiler" +SRC_URI=" + https://github.com/pythonprofilers/memory_profiler/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +IUSE="examples" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + +# dev-lang/mercury: collision on 'mprof' +# https://bugs.gentoo.org/571176 +RDEPEND="dev-python/psutil[${PYTHON_USEDEP}] + !dev-lang/mercury" + +distutils_enable_tests pytest + +python_test() { + "${EPYTHON}" -m memory_profiler test/test_as.py || die + "${EPYTHON}" -m memory_profiler test/test_func.py || die + "${EPYTHON}" -m memory_profiler test/test_gen.py || die + "${EPYTHON}" -m memory_profiler test/test_loop.py || die + "${EPYTHON}" -m memory_profiler test/test_loop_decorated.py || die + "${EPYTHON}" -m memory_profiler test/test_mprofile.py || die + "${EPYTHON}" -m memory_profiler test/test_nested.py || die + "${EPYTHON}" -m memory_profiler test/test_precision_command_line.py || die + "${EPYTHON}" -m memory_profiler test/test_unicode.py || die + + "${EPYTHON}" test/test_exception.py || die + "${EPYTHON}" test/test_exit_code.py || die + "${EPYTHON}" test/test_global.py || die + "${EPYTHON}" test/test_import.py || die + "${EPYTHON}" test/test_memory_usage.py || die + "${EPYTHON}" test/test_mprof.py || die + "${EPYTHON}" test/test_precision_import.py || die + "${EPYTHON}" test/test_stream_unicode.py || die + "${EPYTHON}" test/test_tracemalloc.py || die +} + +python_install_all() { + use examples && dodoc -r examples + + distutils-r1_python_install_all +} diff --git a/dev-python/memory_profiler/metadata.xml b/dev-python/memory_profiler/metadata.xml index 32bbc7982746..765b1c287e36 100644 --- a/dev-python/memory_profiler/metadata.xml +++ b/dev-python/memory_profiler/metadata.xml @@ -7,7 +7,7 @@ - memory_profiler + memory-profiler pythonprofilers/memory_profiler f@bianp.net -- cgit v1.2.3