1 # Copyright 2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
9 DESCRIPTION="Python @deprecated decorator to deprecate old API"
10 HOMEPAGE="https://github.com/tantale/deprecated"
11 SRC_URI="https://github.com/tantale/deprecated/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
17 RESTRICT="!test? ( test )"
19 RDEPEND="dev-python/wrapt[${PYTHON_USEDEP}]"
20 BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
23 dev-python/pytest[${PYTHON_USEDEP}]
27 pytest -vv || die "Tests fail with ${EPYTHON}"