1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
12 DESCRIPTION="Zope i18nmessageid Architecture"
13 HOMEPAGE="https://github.com/zopefoundation/zope.i18nmessageid http://docs.zope.org/zope.i18nmessageid/"
14 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
20 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
21 BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
23 S="${WORKDIR}/${MY_P}"
25 distutils_enable_tests setup.py
27 python_install_all() {
28 distutils-r1_python_install_all
30 # remove .pth files since dev-python/namespace-zope handles the ns
31 find "${D}" -name '*.pth' -delete || die