Files
gentoo/dev-python/pyaml/pyaml-21.10.1.ebuild
T
2023-05-05 06:55:42 +02:00

28 lines
595 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYPI_PN="pyaml"
inherit distutils-r1 pypi
DESCRIPTION="PyYAML-based module to produce pretty and readable YAML-serialized data"
HOMEPAGE="https://github.com/mk-fg/pretty-yaml"
LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~ppc64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
BDEPEND="
test? (
${RDEPEND}
dev-python/unidecode[${PYTHON_USEDEP}]
)"
distutils_enable_tests unittest