dev-java/javatoolkit: add 0.6.8

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2025-03-08 13:57:11 +02:00
parent bcbbf2a1c0
commit 3da9ec382a
2 changed files with 42 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST javatoolkit-0.6.7.tar.bz2 24514 BLAKE2B 5da4c95ac561b71a3019c265a5233eb825f5f57ae35e1dfefccc2fc26a5c967dcf562c321ff61f6ad4d702f4f656927cf21fa32eadb2454b18444505ba16ae91 SHA512 34e9e9d08ed486f57bbb33bed437ff7e4bbdcb6ff8f57c338e787db0ca5688a27eaf9e21f47b5d245279c58cbdaeab0d61b469b3f176ab37a18f122123c885d0
DIST javatoolkit-0.6.8.tar.bz2 21983 BLAKE2B ba91b6a8d905e6450a82c3ced6a983c393ee31c7c2f400dd19d351f5b2283e2da11ed375e8391ca99a389c11a29f9f6df213ffd40ca7129d5d520cf7c4c5b2ec SHA512 996c9b0a83dee59842e9ae89465cf3ffb3d9f2114b1c85326cfa936ff558ddf68c5559d91f2f07b9367c74ab2ea59a8a30db4c537f69953b965f175c65892bb6

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_REQ_USE="xml(+)"
DISTUTILS_USE_PEP517=flit
inherit distutils-r1 prefix
DESCRIPTION="Collection of Gentoo-specific tools for Java"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~sparc ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
distutils_enable_tests unittest
python_prepare_all() {
hprefixify src/py/buildparser src/py/findclass setup.py
distutils-r1_python_prepare_all
}
python_test() {
eunittest -t src -s test
}
src_install() {
distutils-r1_src_install
# The java eclasses expect the scripts to be in a special location
cd "${ED}"/usr/bin || die
local script
for script in *; do
rm "${script}" || die
dosym -r /usr/lib/python-exec/python-exec2 "${EPREFIX}/usr/libexec/${PN}/${script}"
done
}