dev-python/spyder-vim: vim bindings for spyder
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>
Thu, 14 May 2020 12:32:14 +0000 (14:32 +0200)
committerMatt Turner <mattst88@gentoo.org>
Tue, 26 May 2020 20:41:48 +0000 (13:41 -0700)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
dev-python/spyder-vim/Manifest [new file with mode: 0644]
dev-python/spyder-vim/metadata.xml [new file with mode: 0644]
dev-python/spyder-vim/spyder-vim-0_pre20200514.ebuild [new file with mode: 0644]

diff --git a/dev-python/spyder-vim/Manifest b/dev-python/spyder-vim/Manifest
new file mode 100644 (file)
index 0000000..e985d77
--- /dev/null
@@ -0,0 +1 @@
+DIST spyder-vim-0_pre20200514.tar.gz 286672 BLAKE2B ab3f8fbb86a21077a7563be880a4c7844c45d3837fc9255d70442e5e0b7c9d65fc94bf5a1db71de21943847e964aadae62a1064443f9de68b67edccef20933cd SHA512 63645b95ae26a903f2427e45be6061b927c713675fab8c13f108f1eb9765e4e2f3a0172f9fcf709cb8e8d5a2c703297ff28ecb030f24b00bed93dde004c88595
diff --git a/dev-python/spyder-vim/metadata.xml b/dev-python/spyder-vim/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-vim/spyder-vim-0_pre20200514.ebuild b/dev-python/spyder-vim/spyder-vim-0_pre20200514.ebuild
new file mode 100644 (file)
index 0000000..ee631d4
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_7 )
+
+inherit distutils-r1 virtualx
+
+COMMIT="0a5f982392a03a0f6448f2cfdfa116d027dc52b1"
+
+DESCRIPTION="Plugin for Spyder to enable Vim keybindings"
+HOMEPAGE="https://github.com/spyder-ide/spyder-vim"
+SRC_URI="https://github.com/spyder-ide/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">dev-python/spyder-4.0.0[${PYTHON_USEDEP}]"
+
+DEPEND="test? (
+       dev-python/mock[${PYTHON_USEDEP}]
+       dev-python/pytest-qt[${PYTHON_USEDEP}] )"
+
+DOCS=( "README.rst" "doc/example.gif" )
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+distutils_enable_tests pytest
+
+python_test() {
+       virtx pytest -vv
+}