EAPI=5
-PYTHON_COMPAT=( python2_7 python3_5 )
+PYTHON_COMPAT=( python3_5 )
inherit java-pkg-2 distutils-r1
PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch )
-python_compile() {
- if ! python_is_python3; then
- local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
- export CXXFLAGS
- fi
- distutils-r1_python_compile
-}
-
python_install() {
use doc && local DOCS=( doc/* )
use examples && local EXAMPLES=( examples/. )
EAPI=5
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python3_{5,6} )
inherit java-pkg-2 distutils-r1
PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch )
-python_compile() {
- if ! python_is_python3; then
- local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
- export CXXFLAGS
- fi
- distutils-r1_python_compile
-}
-
python_install() {
use doc && local DOCS=( doc/* )
use examples && local EXAMPLES=( examples/. )
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python3_{5,6} )
inherit java-pkg-2 distutils-r1
#PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch )
-python_compile() {
- if ! python_is_python3; then
- local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
- export CXXFLAGS
- fi
- distutils-r1_python_compile
-}
-
python_install() {
use doc && local DOCS=( doc/* )
use examples && local EXAMPLES=( examples/. )