blob: 2d33fa60b4cb484e4ddd2f89a1ac0d2c5f7bbc83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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=""
RDEPEND=""
src_unpack() {
unpack "${A}"
mv "${WORKDIR}"/ruamel-yaml-* "$S"
}
src_install() {
export RUAMEL_NO_PIP_INSTALL_CHECK=True
distutils-r1_src_install
}
|