diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-11-14 14:57:47 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-11-14 15:11:26 +0100 |
commit | 46fe9f0724881c761e0158b31a1284a04de8ddeb (patch) | |
tree | ec7bdbb7e73fd841642a9a8266a72f4d2edbbe38 /dev-java/java-config | |
parent | dev-python/pipdeptree: add 2.13.1 (diff) | |
download | gentoo-46fe9f0724881c761e0158b31a1284a04de8ddeb.tar.gz gentoo-46fe9f0724881c761e0158b31a1284a04de8ddeb.tar.bz2 gentoo-46fe9f0724881c761e0158b31a1284a04de8ddeb.zip |
dev-java/java-config: add 2.3.2
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/java-config')
-rw-r--r-- | dev-java/java-config/Manifest | 1 | ||||
-rw-r--r-- | dev-java/java-config/java-config-2.3.2.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/java-config/Manifest b/dev-java/java-config/Manifest index 9cc9cc4e6e3a..b59307d6fd5c 100644 --- a/dev-java/java-config/Manifest +++ b/dev-java/java-config/Manifest @@ -1 +1,2 @@ DIST java-config-2.3.1.tar.gz 26165 BLAKE2B 948506663513db369d0ed8ffdfaa54c643989431430ea03440551a6a4b6725d8eec38f5cb4fde3b64e8936c0f43de0e65a7368469032c646c7b6b3bb7ec3ed13 SHA512 62db555b2d8a37a03b6a03aa133010848d54be33ba6e3c43807abefe665a9d8ff2790baf1af79b98d4a7bd3e9ba6bc64382a24c3fcf7038338123dabd146b7b4 +DIST java-config-2.3.2.tar.gz 26297 BLAKE2B 02b3cf34abb48d67189b40478095564b6ca11fceca9fef0a3258c246d451ba793b6f050b3f9435b39c16b9d75802cbd387c8f663301176cac108e35a7bab3f4b SHA512 f00b73a33ccfc824dbc5facd75cd581389c2568e22bad92ed9a088917a3b42058198b547a8cdc6ce40fe3a109eec7c8405131775ad7fcb2eda0dd85d4637c527 diff --git a/dev-java/java-config/java-config-2.3.2.ebuild b/dev-java/java-config/java-config-2.3.2.ebuild new file mode 100644 index 000000000000..6208189a8905 --- /dev/null +++ b/dev-java/java-config/java-config-2.3.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# jython depends on java-config, so don't add it or things will break +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 prefix + +DESCRIPTION="Java environment configuration query tool" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( sys-apps/portage[${PYTHON_USEDEP}] )" + +# baselayout-java is added as a dep till it can be added to eclass. +RDEPEND=" + sys-apps/baselayout-java + sys-apps/portage[${PYTHON_USEDEP}] +" + +python_configure_all() { + # setup.py fails to update this file + eprefixify src/launcher.bash +} + +python_install_all() { + distutils-r1_python_install_all + + # This replaces the file installed by java-config-wrapper. + dosym java-config-2 /usr/bin/java-config +} + +python_test() { + esetup.py test +} |