From ec6c65e11858decde03d2ea993ec4cb3a0981894 Mon Sep 17 00:00:00 2001 From: Joost Ruis Date: Sun, 10 Nov 2019 21:59:41 +0100 Subject: [PATCH] [dev-python/vdf] required for app-emulation/protontricks --- dev-python/vdf/vdf-3.2.ebuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dev-python/vdf/vdf-3.2.ebuild diff --git a/dev-python/vdf/vdf-3.2.ebuild b/dev-python/vdf/vdf-3.2.ebuild new file mode 100644 index 000000000..3eb6ce069 --- /dev/null +++ b/dev-python/vdf/vdf-3.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ValvePython/vdf.git" + KEYWORDS="" +else + KEYWORDS="~amd64" + EGIT_COMMIT="v${PV}" + SRC_URI="https://github.com/ValvePython/vdf/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Package for working with Valve's text and binary KeyValue format" +HOMEPAGE="https://github.com/ValvePython/vdf" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] +" +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +"