1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
7 PYTHON_REQ_USE="xml(+)"
9 inherit distutils-r1 multilib prefix
11 DESCRIPTION="Collection of Gentoo-specific tools for Java"
12 HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
13 SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
17 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
19 python_prepare_all() {
20 hprefixify src/py/buildparser src/py/findclass setup.py
21 distutils-r1_python_prepare_all
25 distutils-r1_python_install \
26 --install-scripts="${EPREFIX}"/usr/$(get_libdir)/${PN}/bin