diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-11-26 10:43:46 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-11-26 10:44:19 +0100 |
commit | 95c7d5f850878da92006c342bbd9a4a1972ad372 (patch) | |
tree | cc733a520bf7808d182638d3b13037fc292ea678 /dev-util/yamllint | |
parent | sci-mathematics/metamath: new package; add version 0.198 (diff) | |
download | gentoo-95c7d5f850878da92006c342bbd9a4a1972ad372.tar.gz gentoo-95c7d5f850878da92006c342bbd9a4a1972ad372.tar.bz2 gentoo-95c7d5f850878da92006c342bbd9a4a1972ad372.zip |
dev-util/yamllint: initial import
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-util/yamllint')
-rw-r--r-- | dev-util/yamllint/Manifest | 1 | ||||
-rw-r--r-- | dev-util/yamllint/metadata.xml | 13 | ||||
-rw-r--r-- | dev-util/yamllint/yamllint-1.26.3.ebuild | 23 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/yamllint/Manifest b/dev-util/yamllint/Manifest new file mode 100644 index 000000000000..0ac8de71b8cf --- /dev/null +++ b/dev-util/yamllint/Manifest @@ -0,0 +1 @@ +DIST yamllint-1.26.3.tar.gz 126746 BLAKE2B 37d4293a90b2ee7192e26c5dbb1448a2c22a47e8dae7113211bb5601f0ef0c01eabd85fe4df44b32b8226b2b805c1da11ef1e118f5e33a2a7bab137141f9853c SHA512 c5ed17ecec102324bec077484dcede6fbf8c01a37a9292929a52163a4a9d9e9989809879c29b69c45b7cce8cbeefc830d4542118f617e846702f216f49d9db5b diff --git a/dev-util/yamllint/metadata.xml b/dev-util/yamllint/metadata.xml new file mode 100644 index 000000000000..680be9556fe8 --- /dev/null +++ b/dev-util/yamllint/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">yamllint</remote-id> + <remote-id type="github">adrienverge/yamllint</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/yamllint/yamllint-1.26.3.ebuild b/dev-util/yamllint/yamllint-1.26.3.ebuild new file mode 100644 index 000000000000..abd4fe3a9439 --- /dev/null +++ b/dev-util/yamllint/yamllint-1.26.3.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: py310 - will officially be supported upstream from the next release +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="A linter for YAML files" +HOMEPAGE="https://pypi.org/project/yamllint/ https://github.com/adrienverge/yamllint/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/pathspec-0.5.3[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest |