package/python-memory-profiler: new package

A module for monitoring memory usage of a python program.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Asaf Kahlon 2020-10-24 17:57:50 +03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 79c5639597
commit c17a9b2de8
4 changed files with 28 additions and 0 deletions

View File

@ -1090,6 +1090,7 @@ menu "External python modules"
source "package/python-markupsafe/Config.in"
source "package/python-matplotlib/Config.in"
source "package/python-mbstrdecoder/Config.in"
source "package/python-memory-profiler/Config.in"
source "package/python-mimeparse/Config.in"
source "package/python-mistune/Config.in"
source "package/python-modbus-tk/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_MEMORY_PROFILER
bool "python-memory-profiler"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_PSUTIL # runtime
help
A module for monitoring memory usage of a python program.
https://github.com/pythonprofilers/memory_profiler

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/memory-profiler/json
md5 b1d1783064a1198fb21bc877e535ec1b memory_profiler-0.58.0.tar.gz
sha256 01385ac0fec944fcf7969814ec4406c6d8a9c66c079d09276723c5a7680f44e5 memory_profiler-0.58.0.tar.gz
# Locally computed sha256 checksums
sha256 51926ce91b8283532efa9dfb02518582c15f49c105a3ac18cce1f7a4947e96ae COPYING

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-memory-profiler
#
################################################################################
PYTHON_MEMORY_PROFILER_VERSION = 0.58.0
PYTHON_MEMORY_PROFILER_SOURCE = memory_profiler-$(PYTHON_MEMORY_PROFILER_VERSION).tar.gz
PYTHON_MEMORY_PROFILER_SITE = https://files.pythonhosted.org/packages/8f/fd/d92b3295657f8837e0177e7b48b32d6651436f0293af42b76d134c3bb489
PYTHON_MEMORY_PROFILER_SETUP_TYPE = setuptools
PYTHON_MEMORY_PROFILER_LICENSE = BSD-3-Clause
PYTHON_MEMORY_PROFILER_LICENSE_FILES = COPYING
$(eval $(python-package))