From 44d10286c6ec932ef3b265891933fde6c003b72c Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Tue, 14 Jan 2020 12:50:49 +0100 Subject: [PATCH] dev-python/spyder-memory-profiler: Plugin to run the memory_profiler within spyder Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan Signed-off-by: Joonas Niilola --- dev-python/spyder-memory-profiler/Manifest | 1 + .../spyder-memory-profiler/metadata.xml | 12 ++++++++ .../spyder-memory-profiler-0.2.0.ebuild | 29 +++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 dev-python/spyder-memory-profiler/Manifest create mode 100644 dev-python/spyder-memory-profiler/metadata.xml create mode 100644 dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.0.ebuild diff --git a/dev-python/spyder-memory-profiler/Manifest b/dev-python/spyder-memory-profiler/Manifest new file mode 100644 index 000000000000..00b6931ccb4c --- /dev/null +++ b/dev-python/spyder-memory-profiler/Manifest @@ -0,0 +1 @@ +DIST spyder-memory-profiler-0.2.0.tar.gz 16939 BLAKE2B 305cc1b7eb0887dfa07273fd69061c55f59e31f829a751809d066569a3c48e2b10b952d9065480572a7f7ef57ebfd9a0d6ca5f50582d4f6ea040900c950abb63 SHA512 b47e6c9aa57ed1a1f9453db7c82ce4d2028c6472100230f50cf89c2f172bb05be7f49c7e6c7a664b9e45debcf273afbfc46ef3d0f0afb3bdbf90cdd4fff1e402 diff --git a/dev-python/spyder-memory-profiler/metadata.xml b/dev-python/spyder-memory-profiler/metadata.xml new file mode 100644 index 000000000000..8fc11184ab00 --- /dev/null +++ b/dev-python/spyder-memory-profiler/metadata.xml @@ -0,0 +1,12 @@ + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.0.ebuild b/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.0.ebuild new file mode 100644 index 000000000000..f995d4f20eeb --- /dev/null +++ b/dev-python/spyder-memory-profiler/spyder-memory-profiler-0.2.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Plugin to run the python memory_profiler from within the spyder editor" +HOMEPAGE="https://github.com/spyder-ide/spyder-memory-profiler" +SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-python/spyder-4.0.0[${PYTHON_USEDEP}] + dev-python/memory_profiler[${PYTHON_USEDEP}]" + +DEPEND="test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + virtx pytest -vv spyder_memory_profiler/widgets/tests +} -- 2.26.2