1 |
commit: 436a9b838828350746be74a6b08cf056141c88c7 |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Dec 30 11:06:51 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 16:35:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436a9b83 |
7 |
|
8 |
dev-util/vint: verbump to 0.3.17 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-util/vint/Manifest | 1 + |
13 |
dev-util/vint/vint-0.3.17.ebuild | 47 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/vint/Manifest b/dev-util/vint/Manifest |
17 |
index 51d1b33cf10..007d41de8a1 100644 |
18 |
--- a/dev-util/vint/Manifest |
19 |
+++ b/dev-util/vint/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST vint-0.3.13.tar.gz 91599 BLAKE2B 7cc9a6aca8cbd259d3ff79659c38e3d51b5f0ba75a7485872fd922543d75867fcc1689b0f7f8915e3195905b47bb0a467d9646bcb29082e9c04a1557e19b3717 SHA512 ef0b811df0250899e23e30ee4b240cf8b54e510231353ca86202661fd5f0826b9faeacc9268849e51bd6a1c71c1514498dec04a7a4ed79f00a5098811525e3d4 |
22 |
DIST vint-0.3.16.tar.gz 94562 BLAKE2B 626c15cfa995df108b9ca085bbea9a81de6092bf8716fa2e55b5d475cae3c7ded8d2ba2169ec66bc979bd2a9b3a58c15079802b3fd6bd0fe7f091b4aff9f259c SHA512 53bc8077e710cea8356abc6cef06ceb9503db9d4a06b59f5fad724b6aebd3c97665e1e9454b1564f7f2b483e10f7cfcb5230cc679777ffeee1ce3d54a981ff6f |
23 |
+DIST vint-0.3.17.tar.gz 95358 BLAKE2B 102840bc2311148af5c20499c65417459d1abcdcaae0b95bd0bbb3e1569f98f0f0abb30ccae653aff844750efa340fc38a0f8905ee70b3aec8fdc5a8fcc0a6f6 SHA512 c3df61d47b4adf68ecfb8903ea0c030acbba3e72ce95514ef25823a5321181ebbf783c1a76613de9927acefb088edd890a0a776b40888cca62b2063e436820e6 |
24 |
|
25 |
diff --git a/dev-util/vint/vint-0.3.17.ebuild b/dev-util/vint/vint-0.3.17.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e24dcd2fab2 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/vint/vint-0.3.17.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Lint tool for Vim script language" |
41 |
+HOMEPAGE="https://github.com/Kuniwak/vint https://pypi.python.org/pypi/vim-vint/" |
42 |
+SRC_URI="https://github.com/Kuniwak/vint/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-python/ansicolor-0.2.4[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/chardet-2.3.0[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}] |
53 |
+ virtual/python-enum34[${PYTHON_USEDEP}] |
54 |
+ virtual/python-pathlib[${PYTHON_USEDEP}] |
55 |
+ virtual/python-typing[${PYTHON_USEDEP}] |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ test? ( |
60 |
+ >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/pytest-cov-1.8.1[${PYTHON_USEDEP}] |
63 |
+ $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' python2_7) |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ distutils-r1_python_prepare_all |
69 |
+ |
70 |
+ # Don't try to use an installed vint executable. |
71 |
+ # See https://github.com/Kuniwak/vint/issues/22 |
72 |
+ sed -i -e "s|'vint'|'bin/vint'|" test/acceptance/test_cli{,_vital}.py || die |
73 |
+} |
74 |
+ |
75 |
+python_test() { |
76 |
+ py.test -v || die "Test suite failed with ${EPYTHON}" |
77 |
+} |