mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
27 lines
578 B
Bash
27 lines
578 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{10..12} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A linter for YAML files"
|
|
HOMEPAGE="https://github.com/adrienverge/yamllint"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
KEYWORDS="amd64 ~arm64 x86"
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
IUSE="test"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
dev-python/pathspec[${PYTHON_USEDEP}]
|
|
dev-python/pyyaml[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}
|
|
test? ( dev-python/pytest )"
|
|
|
|
src_test() {
|
|
python3 -m pytest tests/ || die
|
|
}
|