1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
9 DESCRIPTION="repoze.who is an identification and authentication framework for WSGI"
10 HOMEPAGE="http://www.repoze.org"
11 SRC_URI="mirror://pypi/${PN:0:1}/repoze.who/repoze.who-${PV}.tar.gz"
12 S="${WORKDIR}/repoze.who-${PV}"
16 KEYWORDS="~amd64 ~arm64 ~x86"
20 dev-python/setuptools[${PYTHON_USEDEP}]
23 dev-python/namespace-repoze[${PYTHON_USEDEP}]
24 dev-python/webob[${PYTHON_USEDEP}]
25 dev-python/zope-interface[${PYTHON_USEDEP}]
33 distutils-r1_python_install
35 # install __init__.py files for sub-namespaces
36 python_moduleinto repoze.who
37 python_domodule repoze/who/__init__.py
39 python_moduleinto repoze.who.plugins
40 python_domodule repoze/who/plugins/__init__.py
43 python_install_all() {
44 distutils-r1_python_install_all
46 find "${D}" -name '*.pth' -delete || die