dev-java/javatoolkit: add 0.6.10

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-08-12 13:40:38 +03:00
parent e21c72e077
commit 011afa6667
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 42 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST javatoolkit-0.6.10.tar.bz2 25584 BLAKE2B 158128358b98e6e7a69782ae56997d749b11bf95ab0eba468ba300e889039ba888df45ba58609bd1503aefc8c07fd7cd92298efc4848b3f5df0d0c7104288220 SHA512 dcf75b7e79da29a275a1aff72a168b6ba1bc4ee9c24e85722f6c9af15127a6acd610b3312b7dfe996964b14b368b776dfcbbebf18c4d210187d20a05070a38c1
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_{11..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/${PN}/scripts/findclass.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 "/usr/libexec/${PN}/${script}"
done
}