From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- sci-misc/netlogo-bin/Manifest | 2 +- sci-misc/netlogo-bin/netlogo-bin-6.0.2-r1.ebuild | 84 ++++++++++++++++++++++++ sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild | 80 ---------------------- 3 files changed, 85 insertions(+), 81 deletions(-) create mode 100644 sci-misc/netlogo-bin/netlogo-bin-6.0.2-r1.ebuild delete mode 100644 sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild (limited to 'sci-misc/netlogo-bin') diff --git a/sci-misc/netlogo-bin/Manifest b/sci-misc/netlogo-bin/Manifest index a555e695b74c..968928034e7a 100644 --- a/sci-misc/netlogo-bin/Manifest +++ b/sci-misc/netlogo-bin/Manifest @@ -10,5 +10,5 @@ DIST NetLogo-6.0.2-64.tgz 190213078 BLAKE2B 6b0a077538f3e3f3e7769c605a67f6bb6b79 DIST netlogo-5.0.3.tar.gz 66725456 BLAKE2B 85df19cd0ef501c903e9b2f2ee2a6ca39430a5f64e1086365b9a29baa3962a7e1d018001652db7da54f1d6623b477d644f7b745b30e2c3be3462f5cb4e5cb891 SHA512 39d660d5dbd7e74f072621a74bfc18648ed208b833b3d442f2a9dbefc673065c4a7bf0e4a8ebb670b4d4220ee7bec452cc97f32731a28ca2eb56656bea795b81 DIST netlogo.gif.tar 10240 BLAKE2B 5199290ca492dc4be03dac04a672b4a187daa6caa12a5a487137259071dad156e553ca7eea02f6cd7d66187e4956324fc2d3f2818f10f1557f276f003986be69 SHA512 9a9bc81660599d2b35875f301d5b9824bfa2dafa21dc96b1e6e281d4682ab7b4052844a961b46f5300131c91a4562c58e4b1a4d753cb2b24a18e64b42d333e32 EBUILD netlogo-bin-5.0.3-r1.ebuild 1681 BLAKE2B 4907b55b86a29235e581397536fc00dd6b1ea7f0a06523cd0930b6bd9b8b176ccce8696f60f49a1b78e30d56ca68aee7c1fdfccbc48410cf53203715a136e5e1 SHA512 e3c0bf2c4b81a69fb7f9155f744a20ca34fbd8099a7a8aafad8f9b64ed6a7adab1475dbda74724fa8eadcf6eaa393ca6ed6cdae30ef53df04f738e3578e7ec3d -EBUILD netlogo-bin-6.0.2.ebuild 2573 BLAKE2B 5e0f7e6a660dac2656fae96294cc01fb0622049a329b11551ccaaf89599f11a6fff59c490022e180d04837270ecf83e5204835a796963160120fef31c48d4983 SHA512 4b5efd20cef885027f6c0ad07c4df68a7542d72549bca1c32c941b476248685b11c022e5de767df0854d94d4d3ac64b1b474e35c32703cb31c5c972bdca8a139 +EBUILD netlogo-bin-6.0.2-r1.ebuild 2664 BLAKE2B 0424fbf3e659aa26d62ce2b97609710560a9693274ead734e2d4e3e114b248c549d60e6222511fd552a84ed14393acdd55cafd64acf2b9601075701c2f48b9ac SHA512 54fd7cbbe5eb08b8c01dafb901b8a2ae650fe6091fc0a292fd1b7caab9152d3201d0d6abc3a2d61d2d70d4c3234ac7ffba23020397437bf5a1d28766f20eae8a MISC metadata.xml 673 BLAKE2B d3bf352936babb7e5f8ae9e47f88899720920a23c5f421b63fd4f6e0235b58cef0e6a42fd04770aa92989b766bd986786a8c5ac264e316951fee2a0ce664e472 SHA512 2020dc83306d1152386c444ffaa488c0ec4529677b4a6239e2d23693018525d7bd63bcae18a3010f9cd71d3edd68f3fea15e95a264485160fc584b38f0c0a789 diff --git a/sci-misc/netlogo-bin/netlogo-bin-6.0.2-r1.ebuild b/sci-misc/netlogo-bin/netlogo-bin-6.0.2-r1.ebuild new file mode 100644 index 000000000000..4aa943e61dee --- /dev/null +++ b/sci-misc/netlogo-bin/netlogo-bin-6.0.2-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop + +MY_PN="NetLogo" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Cross-platform multi-agent programmable modeling environment" +HOMEPAGE="http://ccl.northwestern.edu/netlogo/" +SRC_URI=" + https://dev.gentoo.org/~jlec/distfiles/${PN/-bin}.gif.tar + amd64? ( http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}-64.tgz ) + x86? ( http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}-32.tgz ) +" +S="${WORKDIR}/${MY_PN} ${PV}" + +LICENSE="netlogo GPL-2 LGPL-2.1 LGPL-3 BSD Apache-2.0" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RDEPEND=" + >=virtual/jre-1.8 + x11-libs/libX11 + x11-libs/libXrender + x11-libs/libXxf86vm +" + +DOCS=( "NetLogo User Manual.pdf" app/docs/shapes.nlogo readme.md ) +HTML_DOCS=( app/docs app/behaviorsearch/documentation ) + +QA_PREBUILT="opt/netlogo/app/natives/linux-*/*.so" + +src_prepare() { + default + cp "${FILESDIR}"/netlogo-${PV}.sh netlogo.sh || die + cp "${FILESDIR}"/netlogo3d-${PV}.sh netlogo3d.sh || die + cp "${FILESDIR}"/behaviorsearch-${PV}.sh behaviorsearch.sh || die + cp "${FILESDIR}"/hubnetclient-${PV}.sh hubnetclient.sh || die + + if use x86; then + sed -i -e 's/linux-amd64/linux-i586/g' netlogo3d.sh || die + fi +} + +src_install() { + einstalldocs + + # Override the config files so they don't use the bundled java path + sed -i -e 's/app.runtime=.*/app.runtime=$JAVA_HOME/g' app/*.cfg || die + + # Once docs are installed, remove them from the source so they don't get + # installed below + rm -rf app/docs app/behaviorsearch/documentation || die + insinto /opt/netlogo + doins -r app/ + doins -r "Mathematica Link" + + doicon "${WORKDIR}"/netlogo.gif + + exeinto /opt/netlogo/ + # We don't copy the NetLogo binaries since they are hardcoded to use embedded java + doexe netlogo.sh + doexe netlogo3d.sh + doexe behaviorsearch.sh + doexe hubnetclient.sh + doexe netlogo-headless.sh + doexe app/behaviorsearch/behaviorsearch_headless.sh + + insinto /opt/bin + dosym ../netlogo/netlogo.sh /opt/bin/netlogo.sh + dosym ../netlogo/netlogo3d.sh /opt/bin/netlogo3d.sh + dosym ../netlogo/behaviorsearch.sh /opt/bin/behaviorsearch.sh + dosym ../netlogo/hubnetclient.sh /opt/bin/hubnetclient.sh + dosym ../netlogo/netlogo-headless.sh /opt/bin/netlogo-headless.sh + dosym ../netlogo/behaviorsearch_headless.sh /opt/bin/behaviorsearch_headless.sh + + make_desktop_entry behaviorsearch.sh "NetLogo Behavior Search" /usr/share/pixmaps/netlogo.gif + make_desktop_entry netlogo.sh "NetLogo" /usr/share/pixmaps/netlogo.gif + make_desktop_entry netlogo3d.sh "NetLogo 3D" /usr/share/pixmaps/netlogo.gif + make_desktop_entry hubnetclient.sh "NetLogo Hubnet Client" /usr/share/pixmaps/netlogo.gif +} diff --git a/sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild b/sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild deleted file mode 100644 index ae454d5e6ce7..000000000000 --- a/sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop - -MY_PN="NetLogo" -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Cross-platform multi-agent programmable modeling environment" -HOMEPAGE="http://ccl.northwestern.edu/netlogo/" -SRC_URI=" - https://dev.gentoo.org/~jlec/distfiles/${PN/-bin}.gif.tar - amd64? ( http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}-64.tgz ) - x86? ( http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}-32.tgz ) -" -LICENSE="netlogo GPL-2 LGPL-2.1 LGPL-3 BSD Apache-2.0" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=">=virtual/jre-1.8" - -S="${WORKDIR}/${MY_PN} ${PV}" - -DOCS=( "NetLogo User Manual.pdf" app/docs/shapes.nlogo readme.md ) -HTML_DOCS=( app/docs app/behaviorsearch/documentation ) - -QA_PREBUILT="opt/netlogo/app/natives/linux-*/*.so" - -src_prepare() { - default - cp "${FILESDIR}"/netlogo-${PV}.sh netlogo.sh - cp "${FILESDIR}"/netlogo3d-${PV}.sh netlogo3d.sh - cp "${FILESDIR}"/behaviorsearch-${PV}.sh behaviorsearch.sh - cp "${FILESDIR}"/hubnetclient-${PV}.sh hubnetclient.sh - if use x86; then - sed -i -e 's/linux-amd64/linux-i586/g' netlogo3d.sh - fi -} - -src_install() { - einstalldocs - - # Override the config files so they don't use the bundled java path - sed -i -e 's/app.runtime=.*/app.runtime=$JAVA_HOME/g' app/*.cfg - - # Once docs are installed, remove them from the source so they don't get - # installed below - rm -rf app/docs app/behaviorsearch/documentation - insinto /opt/netlogo - doins -r app/ - doins -r "Mathematica Link" - - doicon "${WORKDIR}"/netlogo.gif - - exeinto /opt/netlogo/ - # We don't copy the NetLogo binaries since they are hardcoded to use embedded java - doexe netlogo.sh - doexe netlogo3d.sh - doexe behaviorsearch.sh - doexe hubnetclient.sh - doexe netlogo-headless.sh - doexe app/behaviorsearch/behaviorsearch_headless.sh - - insinto /opt/bin - dosym ../netlogo/netlogo.sh /opt/bin/netlogo.sh - dosym ../netlogo/netlogo3d.sh /opt/bin/netlogo3d.sh - dosym ../netlogo/behaviorsearch.sh /opt/bin/behaviorsearch.sh - dosym ../netlogo/hubnetclient.sh /opt/bin/hubnetclient.sh - dosym ../netlogo/netlogo-headless.sh /opt/bin/netlogo-headless.sh - dosym ../netlogo/behaviorsearch_headless.sh /opt/bin/behaviorsearch_headless.sh - - make_desktop_entry behaviorsearch.sh "NetLogo Behavior Search" /usr/share/pixmaps/netlogo.gif - make_desktop_entry netlogo.sh "NetLogo" /usr/share/pixmaps/netlogo.gif - make_desktop_entry netlogo3d.sh "NetLogo 3D" /usr/share/pixmaps/netlogo.gif - make_desktop_entry hubnetclient.sh "NetLogo Hubnet Client" /usr/share/pixmaps/netlogo.gif -} -- cgit v1.2.3