# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python3_{4,5,6} ) inherit distutils-r1 DESCRIPTION="YAML parser/emitter" HOMEPAGE="https://bitbucket.org/ruamel/yaml" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~x86" IUSE="" if [ "${PV}" == "9999" ]; then inherit git-r3 EGIT_REPO_URI="https://bitbucket.org/ruamel/yaml" else SRC_URI="https://bitbucket.org/ruamel/yaml/get/${PV}.tar.gz" fi DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" src_unpack() { unpack "${A}" mv "${WORKDIR}"/ruamel-yaml-* "$S" } src_install() { export RUAMEL_NO_PIP_INSTALL_CHECK=True distutils-r1_src_install }