From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1345043-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD583158086 for <garchives@archives.gentoo.org>; Wed, 1 Dec 2021 21:21:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DBE12BC0D4; Wed, 1 Dec 2021 21:21:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DEC142BC0D4 for <gentoo-commits@lists.gentoo.org>; Wed, 1 Dec 2021 21:21:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC85B342DA3 for <gentoo-commits@lists.gentoo.org>; Wed, 1 Dec 2021 21:21:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65F6C8E for <gentoo-commits@lists.gentoo.org>; Wed, 1 Dec 2021 21:21:47 +0000 (UTC) From: "Marek Szuba" <marecki@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" <marecki@gentoo.org> Message-ID: <1638393698.e6b45e04104520512316e4c96759b0665f4bfbab.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-lint/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/ansible-lint/Manifest app-admin/ansible-lint/ansible-lint-5.3.0.ebuild X-VCS-Directories: app-admin/ansible-lint/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: e6b45e04104520512316e4c96759b0665f4bfbab X-VCS-Branch: master Date: Wed, 1 Dec 2021 21:21:47 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: be166b28-bb0d-4b09-84cc-9df6b3c1fc09 X-Archives-Hash: 2902db66e6b43fdbff6a9af564ae4ef5 commit: e6b45e04104520512316e4c96759b0665f4bfbab Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Wed Dec 1 21:20:59 2021 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Wed Dec 1 21:21:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6b45e04 app-admin/ansible-lint: add 5.3.0 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> app-admin/ansible-lint/Manifest | 1 + app-admin/ansible-lint/ansible-lint-5.3.0.ebuild | 48 ++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest index ea0578376e92..0a602eb8be5b 100644 --- a/app-admin/ansible-lint/Manifest +++ b/app-admin/ansible-lint/Manifest @@ -1 +1,2 @@ DIST ansible-lint-5.2.1.tar.gz 356071 BLAKE2B 70c54114a667ba63c1d285ec8a73a7c3332f89cbdf1b8d4866de86aa2c358e41759ac69188806c715cbd3893a2d0b1123e6b679ed208ce4c40141a40b9f54681 SHA512 9ae1aa775572485aaa68ef127cb2ea2d66cd1057878ac396b1644244a070f05b7920eceec3cdb16523f9fadcbcb5df971f3513d7e4d9cbd6ace1ec4f4d861451 +DIST ansible-lint-5.3.0.tar.gz 355745 BLAKE2B 3f161a91a5cf8f0efedd7a928f55c2680f20e0e35b4d1be466435a65a38e6af0ecff8fe86702a6a71e544925e58a2bb3df758c93c4af8841661c0bb240a7a21d SHA512 862c40472dc00b9685fda62740fbe5b2dfa48adec10322c185eeb436f7dce800a95c478f9eb926f328a501df45a885946bc38190bb28c33ced8edfa17384c0fb diff --git a/app-admin/ansible-lint/ansible-lint-5.3.0.ebuild b/app-admin/ansible-lint/ansible-lint-5.3.0.ebuild new file mode 100644 index 000000000000..a5036ce2dc07 --- /dev/null +++ b/app-admin/ansible-lint/ansible-lint-5.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml + +inherit distutils-r1 optfeature + +DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved" +HOMEPAGE="https://github.com/ansible-community/ansible-lint" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +# 14 tests fail due to usersandbox denying the executable 'ansible' +# access to $HOME/.ansible. More importantly, some tests (6 as of 5.2.1) +# fail even when run manually with tox. +RESTRICT="test" + +RDEPEND=" + >=app-admin/ansible-2.10[${PYTHON_USEDEP}] + >=app-admin/ansible-base-2.11.4[${PYTHON_USEDEP}] + >=dev-python/enrich-1.2.6[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/rich-9.5.1[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.15.37[${PYTHON_USEDEP}] + dev-python/tenacity[${PYTHON_USEDEP}] + >=dev-python/wcmatch-7.0[${PYTHON_USEDEP}]" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/flaky-3.7.0[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}] + >=dev-util/yamllint-1.25.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest + +pkg_postinst() { + optfeature_header "Consider installing the following optional packages:" + optfeature "letting ${PN} run YAML checks" dev-util/yamllint +}