dev-python/spyder-terminal: Run system terminals inside Spyder
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>
Tue, 14 Jan 2020 13:53:44 +0000 (14:53 +0100)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 19 Feb 2020 07:02:43 +0000 (09:02 +0200)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-python/spyder-terminal/Manifest [new file with mode: 0644]
dev-python/spyder-terminal/metadata.xml [new file with mode: 0644]
dev-python/spyder-terminal/spyder-terminal-0.3.0.ebuild [new file with mode: 0644]

diff --git a/dev-python/spyder-terminal/Manifest b/dev-python/spyder-terminal/Manifest
new file mode 100644 (file)
index 0000000..8aeae96
--- /dev/null
@@ -0,0 +1 @@
+DIST spyder-terminal-0.3.0.tar.gz 8396164 BLAKE2B 6fc185501f9a462f1a05f105394d13a89b669366e71bcce50984c90e3aa21d964fd2f19a56f7f33a1a80b5ff1f591d9d654d28df89a3dbc766557cea98e88c61 SHA512 88ff85c5cea984b54250bfe722c34d3c7008dac2ecb03aca219a127b9bd08352f8e467e09794b0ec3243f31ffbd7c5c51dc4b47ef277e0b5f78f3362a2f2a5ee
diff --git a/dev-python/spyder-terminal/metadata.xml b/dev-python/spyder-terminal/metadata.xml
new file mode 100644 (file)
index 0000000..8fc1118
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>andrewammerlaan@riseup.net</email>
+               <name>Andrew Ammerlaan</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/spyder-terminal/spyder-terminal-0.3.0.ebuild b/dev-python/spyder-terminal/spyder-terminal-0.3.0.ebuild
new file mode 100644 (file)
index 0000000..80feafe
--- /dev/null
@@ -0,0 +1,41 @@
+# 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="Run system terminals inside Spyder"
+HOMEPAGE="https://github.com/spyder-ide/spyder-terminal"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/coloredlogs[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       >=dev-python/spyder-4.0.0[${PYTHON_USEDEP}]
+       dev-python/terminado[${PYTHON_USEDEP}]
+       www-servers/tornado[${PYTHON_USEDEP}]"
+
+DEPEND="test? (
+       dev-python/flaky[${PYTHON_USEDEP}]
+       dev-python/pytest-timeout[${PYTHON_USEDEP}]
+       dev-python/pytest-qt[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # This works as regular user, but not inside virtx for some reason
+       # core dumped
+       rm spyder_terminal/tests/test_terminal.py
+
+       distutils-r1_python_prepare_all
+}
+
+pytthon_test() {
+       virtx pytest -vv
+}