dev-python/jpype: Switch to java-pkg-2.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 25 Feb 2016 20:00:19 +0000 (20:00 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 25 Feb 2016 20:03:11 +0000 (20:03 +0000)
Package-Manager: portage-2.2.26

dev-python/jpype/jpype-0.6.1.ebuild

index f8d469f21b5d0cbf4f86c571326d4e7b130f888f..cad4ffaa9ece4d6228b27b6e7d758539e6e3e599 100644 (file)
@@ -6,7 +6,7 @@ EAPI=5
 
 PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
-inherit distutils-r1 java-pkg-opt-2
+inherit java-pkg-2 distutils-r1
 
 DESCRIPTION="JPype is an effort to allow Python programs full access to Java class libraries"
 HOMEPAGE="https://github.com/originell/jpype"
@@ -23,10 +23,6 @@ DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        >=virtual/jdk-1.6"
 
-pkg_setup() {
-       java-pkg_init
-}
-
 python_compile() {
        if ! python_is_python3; then
                local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"