summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-01-08 14:01:20 +0300
committerDavid Seifert <soap@gentoo.org>2017-01-09 22:17:45 +0200
commit2a2b1cc40e1c309b097e372e72821da429d23dac (patch)
tree2a06e2e0df23608c91f5785d9409082c57cfe1a5 /dev-util/vint
parentmedia-tv/kodi: fix broken SRC_URIs for 14.1 and 15.2 (diff)
downloadgentoo-2a2b1cc40e1c309b097e372e72821da429d23dac.tar.gz
gentoo-2a2b1cc40e1c309b097e372e72821da429d23dac.tar.bz2
gentoo-2a2b1cc40e1c309b097e372e72821da429d23dac.zip
dev-util/vint: new package
Lint tool for Vim script language. Natively supported by app-vim/syntastic. Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/3377
Diffstat (limited to 'dev-util/vint')
-rw-r--r--dev-util/vint/Manifest1
-rw-r--r--dev-util/vint/metadata.xml16
-rw-r--r--dev-util/vint/vint-0.3.11.ebuild39
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/vint/Manifest b/dev-util/vint/Manifest
new file mode 100644
index 000000000000..672c9f1a8bb1
--- /dev/null
+++ b/dev-util/vint/Manifest
@@ -0,0 +1 @@
+DIST vint-0.3.11.tar.gz 90545 SHA256 33fc2178b9244d3058669984735a3e20f82fd0e927b31387fc910336614d671f SHA512 4e85192c9489fc1f4345d5d1e8e351182d73583d051705bc6655a054511764721ac334135dbeb6d4ba98af1e1c698e852fff720d01e323b279d4157997769c9a WHIRLPOOL cd6f2d69aa8401bd44a6dbe025fa084d1f12620da931fb91b4fbf22d0d02392cf9b0398f44210a623e135ac6571756b6ec8d1e573be1abfbc5996077431a93a7
diff --git a/dev-util/vint/metadata.xml b/dev-util/vint/metadata.xml
new file mode 100644
index 000000000000..dfa77de81789
--- /dev/null
+++ b/dev-util/vint/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>itumaykin+gentoo@gmail.com</email>
+ <name>Coacher</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Kuniwak/vint</remote-id>
+ <remote-id type="pypi">vim-vint</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/vint/vint-0.3.11.ebuild b/dev-util/vint/vint-0.3.11.ebuild
new file mode 100644
index 000000000000..9d0855670f2d
--- /dev/null
+++ b/dev-util/vint/vint-0.3.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Lint tool for Vim script language"
+HOMEPAGE="https://github.com/Kuniwak/vint https://pypi.python.org/pypi/vim-vint/"
+SRC_URI="https://github.com/Kuniwak/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+ >=dev-python/ansicolor-0.2.4[${PYTHON_USEDEP}]
+ >=dev-python/chardet-2.3.0[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]
+ virtual/python-enum34[${PYTHON_USEDEP}]
+ virtual/python-pathlib[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]
+ >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}]
+ >=dev-python/pytest-cov-1.8.1[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' python2_7)
+ )
+"
+
+python_test() {
+ py.test -v || die "Test suite failed with ${EPYTHON}"
+}