1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_6 )
7 PYTHON_REQ_USE="threads(+)"
13 MY_P="${MY_PN}-${MY_PV}"
15 DESCRIPTION="Library used to interact with Git repositories"
16 HOMEPAGE="https://github.com/gitpython-developers/GitPython https://pypi.org/project/GitPython/"
17 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
21 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
24 # Tests dont make sense without a git repo
29 >=dev-python/gitdb-0.6.4[${PYTHON_USEDEP}]"
31 dev-python/setuptools[${PYTHON_USEDEP}]
33 dev-python/nose[${PYTHON_USEDEP}]
34 dev-python/mock[${PYTHON_USEDEP}]
36 # $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
37 # is the correct entry for mock, however while RESTRICT="test"
38 # there is little point in setting it since it is inactive
39 S="${WORKDIR}/${MY_P}"