dev-java/javatoolkit: add 9999 ebuild.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 12 Aug 2017 21:47:20 +0000 (23:47 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 12 Aug 2017 21:47:32 +0000 (23:47 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-java/javatoolkit/javatoolkit-9999.ebuild [new file with mode: 0644]

diff --git a/dev-java/javatoolkit/javatoolkit-9999.ebuild b/dev-java/javatoolkit/javatoolkit-9999.ebuild
new file mode 100644 (file)
index 0000000..60ab2e8
--- /dev/null
@@ -0,0 +1,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
+}