From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9CD4F1396D0 for ; Fri, 29 Sep 2017 09:21:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C33AD2BC00C; Fri, 29 Sep 2017 09:21:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 926562BC00C for ; Fri, 29 Sep 2017 09:21:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10E1333BEBE for ; Fri, 29 Sep 2017 09:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A05929092 for ; Fri, 29 Sep 2017 09:21:02 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1506676853.06ef2e25c2fd1dc537c3ace171a46e601dce73fd.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/vint/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/vint/Manifest dev-util/vint/vint-0.3.14.ebuild X-VCS-Directories: dev-util/vint/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 06ef2e25c2fd1dc537c3ace171a46e601dce73fd X-VCS-Branch: master Date: Fri, 29 Sep 2017 09:21:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a630202a-47fc-40b5-981d-b80ade2b87c9 X-Archives-Hash: 47cadf2a1b73a3f2fee40abeede9fc8d commit: 06ef2e25c2fd1dc537c3ace171a46e601dce73fd Author: Ilya Tumaykin gmail com> AuthorDate: Fri Sep 15 17:04:28 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Sep 29 09:20:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06ef2e25 dev-util/vint: verbump to 0.3.14. Closes: https://bugs.gentoo.org/628380 Closes: https://github.com/gentoo/gentoo/pull/5708 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-util/vint/Manifest | 1 + dev-util/vint/vint-0.3.14.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-util/vint/Manifest b/dev-util/vint/Manifest index 6508b7832bf..127d1d211d4 100644 --- a/dev-util/vint/Manifest +++ b/dev-util/vint/Manifest @@ -1 +1,2 @@ DIST vint-0.3.13.tar.gz 91599 SHA256 7cb00bf3d83a093857db9a9bcc7d316a9fa52704cbeff991130eb34ed2d27df5 SHA512 ef0b811df0250899e23e30ee4b240cf8b54e510231353ca86202661fd5f0826b9faeacc9268849e51bd6a1c71c1514498dec04a7a4ed79f00a5098811525e3d4 WHIRLPOOL 0c0a12c8a17ac2a4ab664b8aee03597a5e77b8a6b03458d4767c841d3adc03955bcbb0f876de09b2c4e194a94c9ab1d162a1902b6e49b146c4d8493ffe750e2d +DIST vint-0.3.14.tar.gz 92565 SHA256 4e0792cf83ef65ca83e09d6b3fe715cd397d635bc8380eb42302fb05d542014e SHA512 61509320e11d410cad56368fcc92d7596bd3e090dfb3950ba01886c37c3b83af69c168a71aeeb0e3221a9802a8e878a4b04a5aa6069189c5027ec1ad7070799b WHIRLPOOL 98bbf8ad3b1572a25fc6c22fad9a1b16bdfae6bfe915a30fb0f765f8a8dca2c854660a779bedf137cdd641d919cff910f38a9ccaa0879863507b5e2796601b8e diff --git a/dev-util/vint/vint-0.3.14.ebuild b/dev-util/vint/vint-0.3.14.ebuild new file mode 100644 index 00000000000..a64b9b75463 --- /dev/null +++ b/dev-util/vint/vint-0.3.14.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/vint/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}] + virtual/python-typing[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + 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_prepare_all() { + distutils-r1_python_prepare_all + + # Don't try to use an installed vint executable. + # See https://github.com/Kuniwak/vint/issues/22 + sed -i -e "s|'vint'|'bin/vint'|" test/acceptance/test_cli{,_vital}.py || die + + # Don't blindly require typing. It's already shipped with Python>=3.5. + # See https://github.com/Kuniwak/vint/issues/238 + sed -i -e '/typing/d' requirements.txt || die +} + +python_test() { + py.test -v || die "Test suite failed with ${EPYTHON}" +}