1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python{2_7,3_6} )
10 DESCRIPTION="Nginx configuration static analyzer"
11 HOMEPAGE="https://github.com/yandex/gixy"
12 # Use GitHub source insted PyPi to get tarball with tests
13 SRC_URI="https://github.com/yandex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
19 RESTRICT="!test? ( test )"
21 RDEPEND=">=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}]
22 >=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
23 >=dev-python/configargparse-0.11.0[${PYTHON_USEDEP}]
24 >=dev-python/jinja-2.8[${PYTHON_USEDEP}]
25 >=dev-python/six-1.1.0[${PYTHON_USEDEP}]"
27 BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
29 dev-python/nose[${PYTHON_USEDEP}]
35 sed -i -e "/argparse/d" setup.py || die
36 distutils-r1_python_prepare_all