1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{5,6} pypy{,3} )
12 DESCRIPTION="A module wrapper for os.path"
13 HOMEPAGE="https://pypi.org/project/path.py/ https://github.com/jaraco/path.py"
14 SRC_URI="mirror://pypi/p/path.py/${MY_P}.tar.gz"
18 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
20 RESTRICT="!test? ( test )"
23 dev-python/setuptools[${PYTHON_USEDEP}]
25 dev-python/appdirs[${PYTHON_USEDEP}]
26 dev-python/pytest[${PYTHON_USEDEP}]
27 dev-python/pytest-runner[${PYTHON_USEDEP}]
30 S="${WORKDIR}/${MY_P}"
32 python_prepare_all() {
33 sed '/setuptools_scm/d' -i setup.py || die
34 distutils-r1_python_prepare_all
38 # https://github.com/jaraco/path.py/issues/122