1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_6 )
8 inherit java-pkg-2 distutils-r1
10 DESCRIPTION="JPype is an effort to allow Python programs full access to Java class librairies"
11 HOMEPAGE="https://github.com/originell/jpype"
12 SRC_URI="https://github.com/originell/${PN}/archive/v${PV}.zip -> ${P}.zip"
22 dev-python/setuptools[${PYTHON_USEDEP}]
25 PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch )
28 use doc && local DOCS=( doc/* )
29 use examples && local EXAMPLES=( examples/. )
30 distutils-r1_python_install