1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
10 DESCRIPTION="Stateful programmatic web browsing in Python"
11 HOMEPAGE="https://github.com/python-mechanize/mechanize"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14 LICENSE="|| ( BSD ZPL )"
16 KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
19 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
23 "${PYTHON}" run_tests.py || die