summaryrefslogtreecommitdiff
blob: 60ab2e825142d523c7843b5903240a36bb7b109b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python3_{4,5,6} )

PYTHON_REQ_USE="xml(+)"

inherit distutils-r1 multilib prefix git-r3
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/javatoolkit.git"
SRC_URI=""
KEYWORDS=""

DESCRIPTION="Collection of Gentoo-specific tools for Java"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"

LICENSE="GPL-2"
SLOT="0"

python_prepare_all() {
	hprefixify src/py/buildparser src/py/findclass setup.py

	distutils-r1_python_prepare_all
}

python_install() {
	distutils-r1_python_install \
		--install-scripts="${EPREFIX}"/usr/$(get_libdir)/${PN}/bin
}