From 345c02ca33341652116ddec6705530223af2de85 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 27 Aug 2024 12:00:02 +0100 Subject: gentoo auto-resync : 27:08:2024 - 12:00:02 --- dev-lang/Manifest.gz | Bin 22167 -> 21663 bytes dev-lang/cxprolog/Manifest | 1 + dev-lang/cxprolog/cxprolog-0.98.2-r2.ebuild | 150 +++++++++++++++ dev-lang/julia/Manifest | 8 +- dev-lang/julia/julia-1.8.3-r4.ebuild | 7 +- dev-lang/julia/julia-1.8.5-r1.ebuild | 7 +- dev-lang/julia/julia-1.9.0.ebuild | 7 +- dev-lang/julia/julia-1.9.4.ebuild | 7 +- dev-lang/mozart-stdlib/Manifest | 4 - dev-lang/mozart-stdlib/metadata.xml | 5 - dev-lang/mozart-stdlib/mozart-stdlib-2.0.1.ebuild | 31 ---- dev-lang/mozart/Manifest | 5 - dev-lang/mozart/files/50mozart-gentoo.el | 13 -- dev-lang/mozart/metadata.xml | 8 - dev-lang/mozart/mozart-2.0.1-r1.ebuild | 98 ---------- dev-lang/rust/Manifest | 12 +- dev-lang/rust/rust-1.73.0.ebuild | 2 +- dev-lang/rust/rust-1.74.1.ebuild | 2 +- dev-lang/rust/rust-1.75.0-r1.ebuild | 2 +- dev-lang/rust/rust-1.76.0-r1.ebuild | 2 +- dev-lang/rust/rust-1.77.1.ebuild | 2 +- dev-lang/rust/rust-1.78.0.ebuild | 2 +- dev-lang/scala/Manifest | 27 --- dev-lang/scala/files/scala-2.12.10-no-git.patch | 37 ---- dev-lang/scala/files/scala-2.12.4-no-git.patch | 37 ---- dev-lang/scala/metadata.xml | 14 -- dev-lang/scala/scala-2.12.10-r2.ebuild | 190 ------------------- dev-lang/scala/scala-2.12.4.ebuild | 211 ---------------------- 28 files changed, 183 insertions(+), 708 deletions(-) create mode 100644 dev-lang/cxprolog/cxprolog-0.98.2-r2.ebuild delete mode 100644 dev-lang/mozart-stdlib/Manifest delete mode 100644 dev-lang/mozart-stdlib/metadata.xml delete mode 100644 dev-lang/mozart-stdlib/mozart-stdlib-2.0.1.ebuild delete mode 100644 dev-lang/mozart/Manifest delete mode 100644 dev-lang/mozart/files/50mozart-gentoo.el delete mode 100644 dev-lang/mozart/metadata.xml delete mode 100644 dev-lang/mozart/mozart-2.0.1-r1.ebuild delete mode 100644 dev-lang/scala/Manifest delete mode 100644 dev-lang/scala/files/scala-2.12.10-no-git.patch delete mode 100644 dev-lang/scala/files/scala-2.12.4-no-git.patch delete mode 100644 dev-lang/scala/metadata.xml delete mode 100644 dev-lang/scala/scala-2.12.10-r2.ebuild delete mode 100644 dev-lang/scala/scala-2.12.4.ebuild (limited to 'dev-lang') diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz index 9a46c315db2c..8d0e595342f9 100644 Binary files a/dev-lang/Manifest.gz and b/dev-lang/Manifest.gz differ diff --git a/dev-lang/cxprolog/Manifest b/dev-lang/cxprolog/Manifest index 733a36875c93..6f7dcc3ff804 100644 --- a/dev-lang/cxprolog/Manifest +++ b/dev-lang/cxprolog/Manifest @@ -5,4 +5,5 @@ AUX cxprolog-0.98.2-printf-musl.patch 478 BLAKE2B 3ae4d3ad13f52023552adfcedc308c AUX cxprolog-0.98.2-test-io.patch 580 BLAKE2B 5a4844e4f3469270ab33889f07b812aa5b457f6cf0dc49c2b05c6360a91ea9809c26743566ea66c41e7ae0fa1aa3a05945245d234267b8b39f52ae452034bf73 SHA512 4c39bf891c0d7291b1f1ff926367f5613fed61455dd35747eb0fcd5bcdd0eb93fb86ca82b58b194e5ea2dbcf62e7f0179c5a97186f42e83c707a6022f829704d DIST cxprolog-0.98.2.src.tgz 548222 BLAKE2B e1e834384ff161efde961e7a319d9987cb368ed561fa613a4dd2ede353a099de9146de68dedab3d5e74bb5421c880f743b669eb43eb0b265112dbf938820b0ad SHA512 7e16ce238201da2520da3575311a8c56c9fc3926b290ef505e74ca208af9e6a070d4137ae21e708e1d6c9b83e44566ecd818d51a90f033c983c589b65bcbf2b1 EBUILD cxprolog-0.98.2-r1.ebuild 3406 BLAKE2B 0fd5f069e6b7f941ca2e39a99906d9131488c22b6531e78107194ac4f24d98d8253466e7efdaf917ba679de648b369969fb96acb67f67a28cf6966d53411a48c SHA512 0d7214fd1f988a638ac4f045150a274bd1aff55bea7bdcb8ec192aea3ec994bdbb7f6b6a40a1dbf0ce6976dfb1cb344b67da7537275a30f7e8773c693e29fe2d +EBUILD cxprolog-0.98.2-r2.ebuild 3522 BLAKE2B 2096ac0e2428c0c0a3cf6ced7889a2bed65712ba54ce333d3b547076f33de3b78889f23ec836955170d10ddec6a2ca5e3f621d3b75d3beacee596487fb26f6a6 SHA512 571959fd858f1b59b9cc0af68aa523dcc95ac93c2ca697d9a646cd47e4c770cfccc1b1bbfc52df152234460e306f69cbb19dd08efe157f0c19aa8ae40106f880 MISC metadata.xml 237 BLAKE2B d4347f2b84f6246e0bf64c19548b9bf8ad5094bf392fabb2b5add3bdb2af1e866aa34f67d4dad5fd6595daa79233456e962684b4d062bdc7be1f4ee1ef92d3ee SHA512 525172b6046cff15248158e173c764b9294cf0a8220914ef6b46ca4f15fdb79caca8089cb04ac0b1ca56e2496dc84d1f933b2d56e806007883cbc914a1a4eca5 diff --git a/dev-lang/cxprolog/cxprolog-0.98.2-r2.ebuild b/dev-lang/cxprolog/cxprolog-0.98.2-r2.ebuild new file mode 100644 index 000000000000..32ad5e2f536a --- /dev/null +++ b/dev-lang/cxprolog/cxprolog-0.98.2-r2.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER="3.2-gtk3" +VIRTUALX_REQUIRED="manual" + +inherit flag-o-matic java-pkg-opt-2 java-pkg-simple toolchain-funcs virtualx wxwidgets + +DESCRIPTION="A WAM based Prolog system" +HOMEPAGE="http://ctp.di.fct.unl.pt/~amd/cxprolog/" +SRC_URI="http://ctp.di.fct.unl.pt/~amd/cxprolog/cxunix/${P}.src.tgz" +S="${WORKDIR}"/${P} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples java +readline test wxwidgets" +RESTRICT="!test? ( test )" + +COMMON_DEP=" + readline? ( sys-libs/readline:= ) + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) +" + +DEPEND="${COMMON_DEP} + java? ( >=virtual/jdk-1.8:* ) + test? ( + java? ( ${VIRTUALX_DEPEND} ) + wxwidgets? ( ${VIRTUALX_DEPEND} ) + )" + +RDEPEND="${COMMON_DEP} + java? ( >=virtual/jre-1.8:* )" + +DOCS=( ChangeLog.txt MANUAL.txt README.txt ) +PATCHES=( + "${FILESDIR}"/${P}-portage.patch + "${FILESDIR}"/${P}-printf-musl.patch + "${FILESDIR}"/${P}-test-io.patch +) + +src_prepare() { + default #780585 + use java && java-pkg-opt-2_src_prepare && java-pkg_clean + + sed -i -e "s|lib/cxprolog|$(get_libdir)/cxprolog|" "${S}"/src/FileSys.c || die + cp "${FILESDIR}"/cx_dev_boot.pl "${S}"/cx_dev_boot.pl || die + rm -f "${S}"/pl/test_file_io_1.txt + + use wxwidgets && setup-wxwidgets +} + +src_compile() { + local CX_EXT_DEFINES + local CX_EXT_CFLAGS + local CX_EXT_LDFLAGS + local CX_EXT_LIBS + + if use readline; then + CX_EXT_DEFINES="$CX_EXT_DEFINES -DUSE_READLINE" + CX_EXT_LIBS="$CX_EXT_LIBS -lreadline" + fi + + if use java; then + local java_arch + use x86 && java_arch=i386 + use amd64 && java_arch=amd64 + local CX_JVM + for i in jre/lib/${java_arch}/server lib/server; do + [[ -f ${JAVA_HOME}/${i}/libjvm.so ]] && CX_JVM=${JAVA_HOME}/${i} + done + CX_EXT_DEFINES="$CX_EXT_DEFINES -DUSE_JAVA" + CX_EXT_CFLAGS="$CX_EXT_CFLAGS $(java-pkg_get-jni-cflags)" + CX_EXT_LDFLAGS="$CX_EXT_LDFLAGS -Wl,-rpath,${CX_JVM}" + CX_EXT_LIBS="$CX_EXT_LIBS -L${CX_JVM} -ljvm" + fi + + if use wxwidgets; then + CX_EXT_DEFINES="$CX_EXT_DEFINES -DUSE_WXWIDGETS" + CX_EXT_CFLAGS="$CX_EXT_CFLAGS $(${WX_CONFIG} --cflags)" + CX_EXT_LIBS="$CX_EXT_LIBS $(${WX_CONFIG} --libs)" + fi + + emake lib \ + PREFIX=/usr \ + TMP_DIR="${S}/tmp" \ + CC="$(tc-getCC)" \ + CPP="$(tc-getCXX)" \ + LD="$(tc-getLD)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + EXT_DEFINES="${CX_EXT_DEFINES}" \ + EXT_CFLAGS="-Wall ${CX_EXT_CFLAGS}" \ + EXT_LDFLAGS="${CX_EXT_LDFLAGS}" \ + EXT_LIBS="${CX_EXT_LIBS}" + + if use java; then + JAVA_SRC_DIR="${S}/lib/cxprolog/java" + java-pkg-simple_src_compile + fi +} + +cxprolog_src_test() { + cd "${S}"/pl + + if use java; then + local test_javadir="${S}"/pl/$(get_libdir)/cxprolog/java + mkdir -p "${test_javadir}" || die + ln -s "${S}"/cxprolog.jar "${test_javadir}"/prolog.jar || die + fi + + LD_LIBRARY_PATH="${S}" \ + "${S}"/cxprolog_shared \ + --boot "${S}"/cx_dev_boot.pl \ + --script "${S}"/pl/test_all.pl \ + | tee "${S}"/cxprolog_test.log +} + +src_test() { + if use java || use wxwidgets; then + virtx cxprolog_src_test + else + cxprolog_src_test + fi + + grep -q "ALL THE TESTS PASSED" "${S}"/cxprolog_test.log \ + || die "cxprolog unit tests failed" +} + +src_install() { + newbin cxprolog_shared cxprolog + dolib.so libcxprolog.so + + insinto /usr/$(get_libdir)/cxprolog + doins lib/cxprolog/lib.pl + + insinto /usr/share/${PN}/pl + doins pl/*.{pl,txt} + + if use java; then + java-pkg_jarinto /usr/$(get_libdir)/cxprolog/java + java-pkg_newjar cxprolog.jar prolog.jar + fi + + if use examples; then + dodoc -r examples + fi +} diff --git a/dev-lang/julia/Manifest b/dev-lang/julia/Manifest index 905e9a15437f..bf2bddf982af 100644 --- a/dev-lang/julia/Manifest +++ b/dev-lang/julia/Manifest @@ -22,8 +22,8 @@ DIST julia-1.8.5-full.tar.gz 275344455 BLAKE2B d51ee25e9c7dd54e3fcc35cd75c909686 DIST julia-1.9.0-full.tar.gz 297690117 BLAKE2B 7fb67dedff33f627ab4c33a1a784f8a56c69c92e1fa88badeecc6c19e7c6889a6c686502ce49df06fcee989372bb5978cb811647f8b6f9b1d4cec201fc1000b4 SHA512 e7ab6bc1f923af6ea2ef0fc80ddd1e489e059d8fc1ed47de160e33c13dcb8daa8141ada174588dde12943ffa48332681d1d060c6372f4e2292d92946d1fb7fe2 DIST julia-1.9.4-full.tar.gz 294983229 BLAKE2B d4ffa0d2ceff2113d007502248cc7dd106fa5262e23b2f79d63bf419994f42f814a49cdc88483615665d5d57b1b36b6c319f68f3e0802a603a5cbb0e6b992cc1 SHA512 cd2c7df8856f35ffc89e2a22ef70fbbfbec2e50835e56e26c67a9efcd69aa448c1aa71b002235a47c2036926ab127c4e232c938df4d23e600dbd27bf72b8283c DIST julia-a48ad530.patch 2790 BLAKE2B 4f7b1a3baeadff597b8b7e0e55705ff09625457a7889179e2f7d7ec1370008a5329901c45ad038bd830276d120e35d87254fe55ea497b2632988254ddd591df2 SHA512 4222901d28b100a81743a4092fb78862160e5b1c23d1a7fd242df815703897b974c8aec79518f67f4cf33ccbc88f75bf6e10d1189b7163b94b5d347ef8db940b -EBUILD julia-1.8.3-r4.ebuild 4740 BLAKE2B f0fa26781e4c9b5429d01a2a52981e16fa1358076f2d5e95bdcd9a88733e2f585f142a2129a8df14b0e22859d6726aadd3866d7cfd784c70bdc0b1b9c7b87b53 SHA512 4ef0fafa23065c987b85916678ec0e558c8e558f16bafbdc2d1d0521b174ec589530a99db404162d4751b3c1ddbdc1262543bc2cfcd40d3bce1154f6c5245c37 -EBUILD julia-1.8.5-r1.ebuild 6231 BLAKE2B f23a023a5a52a20bcd4e9fe32ef2617ddcb6f9e3b29db2477373fbd6920142ddb0400b863b358398b09b498a5c3d646cf391263f8ac420d118696b7731f6618e SHA512 5dcbfebcd7c54e59d8d62c138a8db2f4e42bf5637b51d40103a63261d1d33e11612ee5230fda1aded0b275df20f41c333311122834a880443bc241a1b0cb8eda -EBUILD julia-1.9.0.ebuild 5385 BLAKE2B ca39338dbb7e9feb8b12ab933c6c82644935799ab20a1b828683ae71e1be5af0e4d5bdb88c2da276929973ad619fcbaf5961a3206f5dfd60459d6241c620b19d SHA512 9961a4d48c282a0afa0b72e560038c158e9691c7e9aaed9620593ead8eb25046a161ee7e5418365fa3b6ae4a51b71eb0edd3deee40f96e5adb5336c1fb5dc02b -EBUILD julia-1.9.4.ebuild 4977 BLAKE2B 25148770e6a31e99042f4e65d6a736aed1793bf3191646378e1e79d7a62a54ebd50b22407885ce1cc8249fbfa49d606fed6b299c05a206ec16a83d0599c70adb SHA512 166a50b211e5ee28720f5c8fe311b6bc8c1c587b62d8b42a492023887c277845497bc566fd1889aeafaef415b7e2f20648fb737516b714f28cf99dd344a420bc +EBUILD julia-1.8.3-r4.ebuild 4782 BLAKE2B f3142f82797a4e8eaa59bf154607f329d463006d8f32d448877d7236e66df2bef0d5953478c76fa04785aa4b6d6b6e5ebf654acc1de971debcd7339801e60740 SHA512 53480e84bb86ae3459f8e3de6868bf6d8f50b5631be6492b806b0ef816c8ea237e33f25e2d3927c181fb126b85fc0063079b3058985c97a05d47d9c67b4d794e +EBUILD julia-1.8.5-r1.ebuild 6273 BLAKE2B 2e5548251f2cf19ffcbd0cf6ceae726103adcaccf7d565e060bc0e0187523c5ac2f5bc49fa599bc0167e2773fe01c1bedd8108cd18b409a9db7484c20eca18f5 SHA512 762acc6f7d2023efc8b40ab5ce07138db2edaae235cd6eb02920a4f5dfa8d26a342e34512d5df54e78729cb2330b39342875afb5645b074be1e8d918b85a0fea +EBUILD julia-1.9.0.ebuild 5427 BLAKE2B ce880c3a331037c43a4e8a1ba92cdbeb42ace33473635327a1a06c2ebd3854e57d17289238549f2c4bfeb4fc3b76845f9af73ecc11f0a7874fc8d2ab8f73415f SHA512 3f545deef2a06c9e526c95c48322f788c09df03734f07decc7647465cc9a9521117ca2bb2c54d54f062531a33238e2302e2d6000219238b44a1a1d53d7927877 +EBUILD julia-1.9.4.ebuild 5019 BLAKE2B 72174bd5ad41e6fcd7575b2a6389f11cfc1deaa3c5ead52b4281d0cf981bc821afc62415626f5aae4ceafca201d3c5cb300b131094aacc77ff7a54430a7d35ca SHA512 4ce3a17a485d60f3fc729d47810342c2a891bece4dd16f9d0c6db1147b390b7494574d467c6eef607fe6c1130bcf7f300f948e8d3586ccc89e939e2ad9b9eb40 MISC metadata.xml 1180 BLAKE2B 32bf6e513df1c656c4d59030e3bda12a756c6577562b5ced73c9e46f204c774b2411186e8a995687424d068fea83b6b379fe5c7ed9fd1f5d01949e66b95a164a SHA512 9ee29e001cb2306b430cccd11f742829c2e9f28030f9622bf2557e7789054b2d61f903422e6c4a789bf6fa5a86310f35a2e3f08f4b0faa4c812879012e8329d0 diff --git a/dev-lang/julia/julia-1.8.3-r4.ebuild b/dev-lang/julia/julia-1.8.3-r4.ebuild index c21a564cc460..997f4870446f 100644 --- a/dev-lang/julia/julia-1.8.3-r4.ebuild +++ b/dev-lang/julia/julia-1.8.3-r4.ebuild @@ -88,6 +88,10 @@ src_unpack() { src_prepare() { default + # Various LTO issues. + # https://bugs.gentoo.org/855602 + filter-lto + # Sledgehammer: # - prevent fetching of bundled stuff in compile and install phase # - respect CFLAGS @@ -106,9 +110,6 @@ src_prepare() { } src_configure() { - # bug #855602 - filter-lto - # julia does not play well with the system versions of libuv # Fails to compile with libpcre2 on split-usr, bug #893336 # USE_SYSTEM_LIBM=0 implies using external openlibm diff --git a/dev-lang/julia/julia-1.8.5-r1.ebuild b/dev-lang/julia/julia-1.8.5-r1.ebuild index c38278524dae..5c62824bd624 100644 --- a/dev-lang/julia/julia-1.8.5-r1.ebuild +++ b/dev-lang/julia/julia-1.8.5-r1.ebuild @@ -121,6 +121,10 @@ src_unpack() { src_prepare() { default + # Various LTO issues. + # https://bugs.gentoo.org/855602 + filter-lto + # Sledgehammer: # - prevent fetching of bundled stuff in compile and install phase # - respect CFLAGS @@ -146,9 +150,6 @@ src_prepare() { } src_configure() { - # bug #855602 - filter-lto - # julia does not play well with the system versions of libuv # Fails to compile with libpcre2 on split-usr, bug #893336 # USE_SYSTEM_LIBM=0 implies using external openlibm diff --git a/dev-lang/julia/julia-1.9.0.ebuild b/dev-lang/julia/julia-1.9.0.ebuild index 6dfef422bd55..d1c6e722a101 100644 --- a/dev-lang/julia/julia-1.9.0.ebuild +++ b/dev-lang/julia/julia-1.9.0.ebuild @@ -101,6 +101,10 @@ src_unpack() { src_prepare() { default + # Various LTO issues. + # https://bugs.gentoo.org/855602 + filter-lto + # Sledgehammer: # - prevent fetching of bundled stuff in compile and install phase # - respect CFLAGS @@ -126,9 +130,6 @@ src_prepare() { } src_configure() { - # bug #855602 - filter-lto - # julia does not play well with the system versions of libuv # Fails to compile with libpcre2 on split-usr, bug #893336 # USE_SYSTEM_LIBM=0 implies using external openlibm diff --git a/dev-lang/julia/julia-1.9.4.ebuild b/dev-lang/julia/julia-1.9.4.ebuild index 82e0fb7987d9..9a747305e8d0 100644 --- a/dev-lang/julia/julia-1.9.4.ebuild +++ b/dev-lang/julia/julia-1.9.4.ebuild @@ -91,6 +91,10 @@ src_unpack() { src_prepare() { default + # Various LTO issues. + # https://bugs.gentoo.org/855602 + filter-lto + # Sledgehammer: # - prevent fetching of bundled stuff in compile and install phase # - respect CFLAGS @@ -109,9 +113,6 @@ src_prepare() { } src_configure() { - # bug #855602 - filter-lto - # julia does not play well with the system versions of libuv # Fails to compile with libpcre2 on split-usr, bug #893336 # USE_SYSTEM_LIBM=0 implies using external openlibm diff --git a/dev-lang/mozart-stdlib/Manifest b/dev-lang/mozart-stdlib/Manifest deleted file mode 100644 index 43e7d3e43d75..000000000000 --- a/dev-lang/mozart-stdlib/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST mozart-stdlib-2.0.1-gentoo-patchset-0.tar.gz 1237 BLAKE2B c18fbaba2860faed1ab1b53cc9ead90af338da8fc673c08e167463c784e1b31ec9b6edadb1a55cf70d25f545e88fa226ccec313df09f1ecaa16eb619f9242b8d SHA512 84f2c44124901f63ee11706cdd573b2f6a4eb8427d12560be8f0772bb872ca9f5a14ad3f047ce64da8060188f21ccf774b1866ecc439381294822c6d9a41f2eb -DIST mozart2-stdlib-2.0.1.tar.gz 1315353 BLAKE2B b2bd25634dc9194af6dc5e23da369515b3a55e0b23bf6d1bf312d0b8eb9f92eee732ea9cf14ebd659e0e296f77c1b1cffa13a74885279bfc5fc0be5d583fd8c3 SHA512 8bb481b00cd9b62aef348dba9e905b3210d1a2fd219cf561d7d243dc0ead135d3ca53378a5945deedfc67ae076ca72008dd098f4a326f00992764123b682f79c -EBUILD mozart-stdlib-2.0.1.ebuild 669 BLAKE2B 6ab663339f96cbd1b356463ff4be63d4619f6648e0d15d22d89d757ca377895754dd32e2cd9796ca1ce160da8b98c522117c00a55f7d0b8314250e3a1440e675 SHA512 290ad69b0ab1ce933cf8194d741643dc91092c1a880c2a3caeff624979560ff1dcf4bbfd14418c96a376ab44d081ff165fa578d4f56b582fcf483d558db22928 -MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/dev-lang/mozart-stdlib/metadata.xml b/dev-lang/mozart-stdlib/metadata.xml deleted file mode 100644 index 85e4ed814fa2..000000000000 --- a/dev-lang/mozart-stdlib/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/dev-lang/mozart-stdlib/mozart-stdlib-2.0.1.ebuild b/dev-lang/mozart-stdlib/mozart-stdlib-2.0.1.ebuild deleted file mode 100644 index 933aec7b6d3d..000000000000 --- a/dev-lang/mozart-stdlib/mozart-stdlib-2.0.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN=mozart2-stdlib -inherit cmake - -PATCHSET_VER="0" - -DESCRIPTION="The Mozart Standard Library" -HOMEPAGE="http://mozart2.org/" -SRC_URI="https://dev.gentoo.org/~keri/distfiles/mozart-stdlib/${MY_PN}-${PV}.tar.gz - https://dev.gentoo.org/~keri/distfiles/mozart-stdlib/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" - -LICENSE="Mozart" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="" - -RDEPEND=">=dev-lang/mozart-2.0.1" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_PN}" - -src_prepare() { - if [[ -d "${WORKDIR}"/${PV} ]] ; then - eapply "${WORKDIR}"/${PV} - fi - cmake_src_prepare -} diff --git a/dev-lang/mozart/Manifest b/dev-lang/mozart/Manifest deleted file mode 100644 index 3bf39b53d074..000000000000 --- a/dev-lang/mozart/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX 50mozart-gentoo.el 592 BLAKE2B 4bac647ce0e16ef481c3907a183f5559fb2644edddc8c4bd3864fef572c2064b0f4f0d6a66de3995c894fc9b4c6d813f82cc98dd5ccff38fbf8d91dbea0ca8bd SHA512 b8f50633ea7b249aadc096b3533f9dbfc65e4e2ef6d3afe39910b42a2f98ea44b133c55e308d3808f7373df835fa9653c229104035eb3b6ec24ede4968fdd254 -DIST mozart-2.0.1-gentoo-patchset-2.tar.gz 39435 BLAKE2B 18fe6f6e0d81d3b7901c73df567d79b6d8d8564bc49eb10dace2669de1448672a48dc0c509afbb5c506e8af65902ce36cb30f48c7fa26b6aa49cc09988218d42 SHA512 407da6fae39734097ab22fec5bc97ad1beb9103b13484ee0429a40a8f5803f6ed2abd2a64cfb56ccdddf9f82a2d9cd0883fe0a8f8a94bee963590606e1667127 -DIST mozart-2.0.1.tar.gz 2281261 BLAKE2B 7f071e9ec130a0b482b299f4dac15d64f632702d6ecf55b7af0993087064e533b4de80f77520a725f69f68648a9ce763c8c8826bb24e52af49eda8c3ccfba0b5 SHA512 a72a6fa68296d06af72327fd11310b3be152e5ad9a56f1fc4200ac7b89cd177e9a23a38c6721e1885d4f2ed0870065e919fb9fe3c9a2833fcd8e4ac0fd43aeb4 -EBUILD mozart-2.0.1-r1.ebuild 2046 BLAKE2B f2fedc7bf67c73205fcf72265b6f393926aa1db8c7935f35835862a32018dcc24595cf49fcd53936c789d8c7d1e2b6a2ff06464d059f8809708022a8645d685e SHA512 30b27f8d6be5fc84fdf01c165b8dae825e27f457b524f987f3fcf0c512d4309b1fec1d9a0af211550263db6725fb668b8bbbe9cf4dd8563f2e9b0faa74e9d15a -MISC metadata.xml 247 BLAKE2B f6f1c3c766c6dd09090a22b807a8a61170f8bc79a546be738a3b3711dbc10ce9ee61ca5453f946dcdcfe1670372627752e9e07517f60e116916cb729b3e49c1f SHA512 9b995e1a9d6b08543db1e878a3a7e7bcb6d25a925d85b1e66de7f755477ce75c1dd258585b814cb217e0320731654716401c5c997d7f8b68e40f9f0513bc10eb diff --git a/dev-lang/mozart/files/50mozart-gentoo.el b/dev-lang/mozart/files/50mozart-gentoo.el deleted file mode 100644 index 3533d49d693b..000000000000 --- a/dev-lang/mozart/files/50mozart-gentoo.el +++ /dev/null @@ -1,13 +0,0 @@ -;;; mozart site-lisp configuration - -(or (getenv "OZHOME") - (setenv "OZHOME" "/usr")) -(add-to-list 'load-path "@SITELISP@") -(autoload 'run-oz' "oz" "Start Mozart as a sub-process" t) -(autoload 'oz-mode "oz" "Major mode for editing Oz code." t) -(autoload 'oz-gump-mode "oz" - "Major mode for editing Oz code with embedded Gump specifications." t) -(autoload 'ozm-mode "mozart" "Major mode for displaying Oz machine code." t) -(add-to-list 'auto-mode-alist '("\\.oz$" . oz-mode)) -(add-to-list 'auto-mode-alist '("\\.ozg$" . oz-gump-mode)) -(add-to-list 'auto-mode-alist '("\\.ozm$" . ozm-mode)) diff --git a/dev-lang/mozart/metadata.xml b/dev-lang/mozart/metadata.xml deleted file mode 100644 index 16ef0f221f64..000000000000 --- a/dev-lang/mozart/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - mozart/mozart2 - - diff --git a/dev-lang/mozart/mozart-2.0.1-r1.ebuild b/dev-lang/mozart/mozart-2.0.1-r1.ebuild deleted file mode 100644 index a575d07c66a9..000000000000 --- a/dev-lang/mozart/mozart-2.0.1-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake elisp-common java-pkg-2 java-ant-2 - -PATCHSET_VER="2" - -DESCRIPTION="Advanced development platform for intelligent, distributed applications" -HOMEPAGE="http://mozart2.org/" -SRC_URI="https://github.com/mozart/mozart2/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~keri/distfiles/mozart/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" -S="${WORKDIR}/${PN}2-${PV}" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="emacs test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-libs/boost:= - dev-libs/gmp:0 - dev-lang/tcl:0 - dev-lang/tk:0 - emacs? ( >=app-editors/emacs-23.1:* )" - -# https://bugs.gentoo.org/916882 restrict to <=virtual/jdk-17:* -DEPEND="${RDEPEND} - >=dev-java/ant-1.10.14-r3:0 - <=virtual/jdk-17:* - dev-lang/scala:2.12 - test? ( dev-cpp/gtest:= )" - -SITEFILE="50${PN}-gentoo.el" - -src_prepare() { - if [[ -d "${WORKDIR}"/${PV} ]] ; then - eapply "${WORKDIR}"/${PV} - fi - - touch stdlib/CMakeLists.txt || die - touch vm/vm/test/gtest/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DMOZART_BOOST_USE_STATIC_LIBS=OFF - -DEMACS=$(usex emacs "/usr/bin/emacs" "") - ) - - cmake_src_configure -} - -src_compile() { - EANT_GENTOO_CLASSPATH="scala:2.12" - pushd bootcompiler > /dev/null || die - ANT_OPTS="-Xss2M" eant jar - popd > /dev/null || die - - cmake_src_compile -} - -src_test() { - cmake_build vmtest platform-test - cmake_src_test -V -} - -src_install() { - cmake_src_install - - dolib.so "${BUILD_DIR}"/vm/vm/main/libmozartvm.so - dolib.so "${BUILD_DIR}"/vm/boostenv/main/libmozartvmboost.so - - if use emacs; then - elisp-install ${PN} "${S}"/opi/emacs/*.el - elisp-site-file-install "${FILESDIR}"/"${SITEFILE}" \ - || die "elsip-site-file-install failed" - fi -} - -pkg_postinst() { - if use emacs; then - xdg_icon_cache_update - xdg_desktop_database_update - elisp-site-regen - fi -} - -pkg_postrm() { - if use emacs; then - xdg_icon_cache_update - xdg_desktop_database_update - elisp-site-regen - fi -} diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest index bb0eeddf276d..59e15c0c964d 100644 --- a/dev-lang/rust/Manifest +++ b/dev-lang/rust/Manifest @@ -292,12 +292,12 @@ DIST rustc-1.80.1-src.tar.xz 199234944 BLAKE2B 39891362f2a4bc249f5d943e3ded48d2a DIST rustc-1.80.1-src.tar.xz.asc 801 BLAKE2B 0fb361678e4b580c89ccc35fd1b29d24ab41af854e5a34d24192671c93140b7d2c91e740a51f1eaa6854d5970bb91a0510aac9cb6cbf2883e77a2b941d65b010 SHA512 9d5731db73b8a982b956cb2c4736c0fc7dedab785d9855508e6a1fc2d2163d561fdcd5b254ea5f7b1f27b3903d10d9d2403366e63f9c690ab722c401109a7c1d EBUILD rust-1.71.0.ebuild 23453 BLAKE2B 57e78a3c1193d92c8fd6d9c3b14c7863898d5c3a2bb0f376dcdd1b9162624fad8d745e26df0faf8d2b03d46d05513c6a331653924582d99f7c1886d03b9d156f SHA512 389c1f62c20c10e094b0e87399d3467f666cf23ea36ebc897b45e194c50138bbd30843092347df2c80939a3201e3b163ae55f408cc756731e2abfb4a986fb024 EBUILD rust-1.71.1.ebuild 23467 BLAKE2B cc179525f8be2375e4bb0651b3210986254d027414bdef178a33309a7d99deba0a656454b5f1c84a852be104c93edaf5eec24c6f65f067365ed0a202d140fde0 SHA512 2a81e2a2c49d19d88c7794d809648a4630ca476410ea3270a772fa8d315b56c1b1698fc523ff5451a4336e23993f76d444c6c3b12d491ed89019f075a6fceb83 -EBUILD rust-1.73.0.ebuild 23849 BLAKE2B d3c882614f94c71c97a10362e6faa857e2e9367bcfeb087ee53b70c40624496581bf44484bbd7db44cf290297525c2351119ff65aa620d63f94ded5c7762ddeb SHA512 159ce4addc241455c58a8fe103b8aeb8a675a95574dace522d480be941fee7da8a37488a00e8bfdd62a9fc9a146f6bf98198c142ee347af00bd614611b46eb00 -EBUILD rust-1.74.1.ebuild 25124 BLAKE2B 7475a01eb550583d02fe858741eaba8fd479e5e0a4dbac00bc6493bc28fb5c94fbf49d2db093b7c20a3b07cfbb950433bb0abcc1d1afc79a12c701d20f9668ea SHA512 1316ce49cada65a4c5a20a99a8e27516504a23f1eabd7b72c8a6285f5d36974c170fad054669a75605e2357e13caef751e6a2129e43d5da7c2822959c1cc3739 -EBUILD rust-1.75.0-r1.ebuild 25288 BLAKE2B a474ca3a0e5e25f826d365b7550c80925baf644980a195a5924ebe5150cdbe49a1a987503075202b1665f2f29b6188edcc408bdd55a25b135c796bace4807f7a SHA512 04eb0a9e8bdea1ad210b4a0a97c3ee62b84ea2116412bc898574cc41138aefa4341e1c242802aa545979a20258061bc6798a45ff887b4b1c852557cbfb2e6e34 -EBUILD rust-1.76.0-r1.ebuild 25330 BLAKE2B 7639eecc2292098ec9f7e59dd6ec61601b46e8fc1d7ee1621929c95347f49ca8b936e2c39a02fddfb9b79fbc9059ed53a8458350e1a3e845b9feb496c06c8e6f SHA512 a25c16d800754151bf03b0af7185f71fa107e6337c85ad01e4680047b11a1599168fe2547da83a06f7adaeec25913bec79ddc9e4a0c2cfbd0cd4afe0b0d30b9e -EBUILD rust-1.77.1.ebuild 25251 BLAKE2B ff042078351f96d059aed3aa1fec39ee6a3d7bccbeac71d82cbc67c162b0ad1391fe82c71409985af66590553b3f879febaeb259c157444f8197250c4490250a SHA512 574c34795bc7622aa24bbab5190b23b1cebcb95a5af9bb315203543a78048ed74e1a74629022492c4a6cefaf2f9ac415104cf1339cff4e7988a2b79b9fe1b1e2 -EBUILD rust-1.78.0.ebuild 25413 BLAKE2B df9443e5f9ed4fbd27f022eb64e27d52b3b84641be27abc245fd4a5341b2b7907ae6573fc13023a984ea40bd6ecbc315efe792003a97dd4382e2f0753b1c7f60 SHA512 2510adb7023ff5530bcadd35efe34fb576b48dd98394154ce8e1be110b8a2d88c70518ddc7025f41b9b67d071c6cdc67a840202d54bb7b0f373cf1b7e4e78f6f +EBUILD rust-1.73.0.ebuild 23843 BLAKE2B 1aca31a60886f472b00023d097a0c9db0ae274e46e59c3bba5cefea80f7f9a660c66ec6ac48869f1e64c734027f54d48423042414926a72bd4aad76a72378489 SHA512 6449142af93b7aafe7d5861c17b84efec4bd37959e122dd82551b0a52d6486129efe8a21347643512531490257f420ef58b01eb2f4754a348c31050ef461e9d5 +EBUILD rust-1.74.1.ebuild 25118 BLAKE2B 4de0c3973eb9fff948c6254f6696f0de0b36f4d507fba035ef3873de2cbb92842bf409b371036fda337f6c66fb89fd156f4fbe21c12a72b3ef5ccada586ecfae SHA512 c24a3a85ba60916f12be526f0641546e921b5433f883516bf8e7c5b74362b0c8205c27533094911edc1eca8235bfebfeb820fb316d954509a96d200cf2574151 +EBUILD rust-1.75.0-r1.ebuild 25282 BLAKE2B eebe5ea3b922221821b6dba77dea369248e5c6d952c45d1ca70d6952596b97c891fc29f502dad0192a690939a8f3fad6b5b2538daf72365b0113e8669a7f43d2 SHA512 96aaaccaf93d27b099ba0ec85882ff26b2eaa2021ca17768f607b5043b872a36e4c9d3ac13b4a7b8cbda6f3d7084edb1db11173d081a8972c51aa71a0e506935 +EBUILD rust-1.76.0-r1.ebuild 25324 BLAKE2B b7bd2d7b413602860460b8b5d1b60549a2a0b2246f54b1d4db1160750ef58806da6a7dc80abf0f99c72417e445a3949adf62e32b2e7246975e81f3b53c4960fa SHA512 3674cfbc7c2fd39bb55a72925913eda60822aa93b597e540711ffcc13df19afbfed81ddf07f9dab92dd8e9f57acd8a8206716d78cc779a1353f4f20813c57b39 +EBUILD rust-1.77.1.ebuild 25245 BLAKE2B d514569674cc230e4959a9e73d38f14b263dac22fa7ec3f91c417d142caf65f5920ab44bc28e0e23c32bc7113f73c1b27fbf74a82215e35c33dd97ac4b3f2ee4 SHA512 b36d066101a248f31560fd7db39f9367e42618ba882c43df3807fc70823ec319365096623e2d41dd37a9babd83d2d55c007145ae7185a1818bd926783ad3eb5c +EBUILD rust-1.78.0.ebuild 25407 BLAKE2B 0b2f8c3f75e22b6fba44ce994f798534681c9ca3a232721799639c087efa876088fa41efbec8c27b7c693ebc7ae836ba6828338e38611cbe2a9b75f8fa35e4b3 SHA512 a5dc3aa28d6b0e16cc91b22cc3bba9edb9ad5d471e764744d44c6667cc25ab19d5e2935c609d52e3da282c06d9170fe2cd5197080bbe2fcbd9e76c88774a0089 EBUILD rust-1.79.0.ebuild 25480 BLAKE2B d2087cce728db5d5383e324476ba5380f95776d0d4742917742d9bd332b643c498f7a30ae32045d44a7aaeba7f235a614add12aa739765e4c308a02027ef02b4 SHA512 04ca9c5dcf088a0398ab05a39eb77119dd495248217fffe7451736cdee3c3ab1a274a54c4b6257384d39678cc87102d3e2ea3f0dcb40cbd657a0e07b7b93eaac EBUILD rust-1.80.1.ebuild 25419 BLAKE2B 9340dad94ebd77d55c13b1d1c2ac060312a9e234e81677d3dbc79ce8c10e32a0b698efe75e5ff4fe5049379129b5f7e82665159e80a6b7461b3361f3b6a683d2 SHA512 c9283de06352a2f8c2aa62b1f002e7d1ca21d0b05bc090f7de58b47dadc217a597a3c24b33470b106ee914bfb57cda22cc6fec77c97bbcd4c10a312c761daa10 MISC metadata.xml 1945 BLAKE2B cf3ed0b2550564faee94e53e21deb0e905b38cd45c503ba18f55c36f13093fa65c4dac8e544c891c9378b2ce32912cab1a1a0b61a277ff29f5288b672f4a218d SHA512 a28dc5b78e15aaeec5ccf028a053c3df6a12b24bcfb6e8948e2e25b3c04cc8ede5973f1e57c723081355853152baa8c8219e36bb603b714628e71587d2bba45e diff --git a/dev-lang/rust/rust-1.73.0.ebuild b/dev-lang/rust/rust-1.73.0.ebuild index 1e990608a39c..f5b4ddd9627f 100644 --- a/dev-lang/rust/rust-1.73.0.ebuild +++ b/dev-lang/rust/rust-1.73.0.ebuild @@ -19,7 +19,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" diff --git a/dev-lang/rust/rust-1.74.1.ebuild b/dev-lang/rust/rust-1.74.1.ebuild index a01e857d2535..21458614c151 100644 --- a/dev-lang/rust/rust-1.74.1.ebuild +++ b/dev-lang/rust/rust-1.74.1.ebuild @@ -19,7 +19,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" + KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" diff --git a/dev-lang/rust/rust-1.75.0-r1.ebuild b/dev-lang/rust/rust-1.75.0-r1.ebuild index 0edae23c64ed..a3663c0fb051 100644 --- a/dev-lang/rust/rust-1.75.0-r1.ebuild +++ b/dev-lang/rust/rust-1.75.0-r1.ebuild @@ -19,7 +19,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" + KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" diff --git a/dev-lang/rust/rust-1.76.0-r1.ebuild b/dev-lang/rust/rust-1.76.0-r1.ebuild index a325d44301e2..7349c1549c39 100644 --- a/dev-lang/rust/rust-1.76.0-r1.ebuild +++ b/dev-lang/rust/rust-1.76.0-r1.ebuild @@ -19,7 +19,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" diff --git a/dev-lang/rust/rust-1.77.1.ebuild b/dev-lang/rust/rust-1.77.1.ebuild index 7a7bd02afe98..b69b63f5e0ef 100644 --- a/dev-lang/rust/rust-1.77.1.ebuild +++ b/dev-lang/rust/rust-1.77.1.ebuild @@ -19,7 +19,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" + KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" diff --git a/dev-lang/rust/rust-1.78.0.ebuild b/dev-lang/rust/rust-1.78.0.ebuild index d5761df73c02..90afc3e5a717 100644 --- a/dev-lang/rust/rust-1.78.0.ebuild +++ b/dev-lang/rust/rust-1.78.0.ebuild @@ -19,7 +19,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" diff --git a/dev-lang/scala/Manifest b/dev-lang/scala/Manifest deleted file mode 100644 index ccdf28c7fb15..000000000000 --- a/dev-lang/scala/Manifest +++ /dev/null @@ -1,27 +0,0 @@ -AUX scala-2.12.10-no-git.patch 1556 BLAKE2B c3c4e0dc416aceb7b0a90425d719e6de716364a7f2cfc91e863e37b902ece95f903098d98ea37c1b662423e84700561aa8510ed7e191973f86b5544f356ba89c SHA512 565cf1b242b374803211c5fea7e71e8ccb654462b043810b28f7b15ad3641a20bd57fb5005de09a6b9d63ca113e8f578992c650ea286879dd32888762bb4b9b0 -AUX scala-2.12.4-no-git.patch 1453 BLAKE2B 6d77493326398d00c103e6342ff4765f9a2f3b270a819d651ca4435ed473416b3882f6a98707c181131ea539d7a034a862bd1768cff1eab44d12a23899f5ef67 SHA512 48e12f3a6cc6ee65f9ea7afbd403d67e7bc642e242677d38f4a87f74f90b3feb5efe8fd6798bc36d0f209b27f323e854173cfa104dd149e24dd1809f64f61475 -DIST scala-2.12.10-gentoo-binary.tar.xz 79479656 BLAKE2B 2d75552ba960a1f1cda5f678f1ba6ca01d5a41b813c098ceacdea93f8a3ea3f7c45d18a94f7be891f22d01fc9fc9a14b0c077723056e859ade327f973c545572 SHA512 f9eee5667bd31e1d90da2a95ffde9f894bef557dcebd6db9e882baed9b9ba6a9d290cdb34688307467578fdc8e20993911d64bd5d442e0a7198e4889edb80a2b -DIST scala-2.12.10-ivy2-deps.tar.xz 76800392 BLAKE2B 4290f8f3a2f0122620e5c459e23fece319168c1c7807c93ec731b99d89ec2ffb19591c3e01d2827e984f46214895dac7c68456f92241afb165a0cb6088ac33d6 SHA512 71870332e8488de99d0e8dc11c8afe009152b83feef1912c91c7ca6201de67c96b9760ee039ce0449d5893da0c2086e5c9f7819ad8008e899ab49508a1de1e99 -DIST scala-2.12.10-sbt-deps.tar.xz 34944260 BLAKE2B a42a320340f180c60ae2f5e908eb5fabd3cd4d4e9218c724ec74a79f288b4145445de7ccf91cc2dea3ab1bb128beffbbaeedfb1ed4e44f9c0ad66b16fba4741b SHA512 08bb9eea27ac3603bf4772d29235bf076bf7bb5433fc13d2faf85d7362b4a80176651457851c4eefb41a0169ce1204e634f44e22e5d6ac83777c11c90d9a8aae -DIST scala-2.12.10.tar.gz 6725873 BLAKE2B 5534baed3c51d8234b67cec79d8f6859bde403e79e557a0d50019d834c9f448398b507ad90aca522437f870a2f4cbdf56a2b7c5bee67a95c1e96b237bebcefc6 SHA512 30079ee83e89c189e84e94068f261aafe1fd7fe0cb4177e2802ac85372c4c2272c5af2b57424ab90e5236cbaca2f30936635f8f3bb4bfb2c748483e9c52ae96e -DIST scala-2.12.4-annotations.jar 2242 BLAKE2B 0c731c25eaa407bdfb51d749f688062a33bd7f2815e8303ba5c56532027350f58d5ab364f2428547c2a99e2032ba0d0d20d4d50cc27dc5c42946e7842111547d SHA512 3ceee0b1361b9e0911c1ff060ad108a1d93f7ea3e82ef946401cd5f895cb06016ac0ecdfd095f99b11cfb28c4cef7705c1b564c7af644c5f19b45c14a413c4dd -DIST scala-2.12.4-ant-contrib.jar 224277 BLAKE2B f43bfe3da05decbcf4ec9d2f48bface141907abfbe5b17532e970dbb660e0e1ffae9807c12da38cd6dc8e57c2605c6ec86ad11a99331e73edd3e4418656ab27e SHA512 5ec325a55bb213226c86faf8a99951839319e9579956ae58e2ccfe84f62d2742542998f98eed3f0dc8f8f94635d6dff1fe02e3c0f5289df1f09027ae2b9bee83 -DIST scala-2.12.4-ant-dotnet-1.0.jar 57795 BLAKE2B 1f04f20739a231816a6d9c81ac0ba23f155ebdb467f466640b18ba2b4f125a6171bcf420c42f71fcfa2c13293a5241e200d0d908bd460ca3ae0342b13747aaad SHA512 72afc387cf9dbeb99e627ca7f35f919f627bbf3f072eb46036120695fb70311490593c255c2a2e79b684adb8f213d8ab591d4ceda5d5f2e6b6906a6977b38867 -DIST scala-2.12.4-ant.jar 1506140 BLAKE2B 790d0f38316e0772b2f315220bbf70328e1e136bccb99bd2f2b2986b33aed60da5ca699c11eeaf653c64f4d07505e168442eea0711b6c627ee97b661d3933584 SHA512 ddee72ca62adb20e700022609749a4d6cc848c94e597a7450226770c8b97aa2c1f7f23b7a1c6ac8acd63047101997ebd68c19b393ebffde9ff5c7bb1957cd18c -DIST scala-2.12.4-code.jar 683 BLAKE2B b19a34aacc82dcc6bf4efb5556896521ce606cbd72a36ca5c2a019d3aec294172b13968e506373afdd1328668190f60ed337431def7744269cef024e5f82825a SHA512 d963c186f3029858b1f6b53cf6e3470946365f13a6bcc334a7c959fd449dace10a953c496dbf3036828f2b5e5ad17d22f5e3912446bed14bd71b2f0de2f6c767 -DIST scala-2.12.4-enums.jar 1372 BLAKE2B d3fc4941297344cd42c515ac6564092be7f80676aaf83029ebbcabbcce5ccfb71c008cc56a6fadadb0869d7f53e49a1f85c42e74c7b688acf43f677aa566dd82 SHA512 3d2356b9f610e98a03f64cbdd18ee36138b68ba5b170bb9b78bc7449439c3870f6f5bc795f3e1b8d325daf468ae85c581b60d1d360c1ae68c70792ad62b9c1dc -DIST scala-2.12.4-genericNest.jar 1136 BLAKE2B 7ae0cbd5445d5d504738a00fce77ce411ac7371c48b742ea2ec1f686298eeb891e33cc74eb6ccffd15753a11ed0eb3aa0b3859ba7a18566e9021d64124a2d7b5 SHA512 32c3b3e14bc72db2572bf120c1fda49a369b27ff8ae6ae12f6d7b12fdffef4064b515671c8f1b6dbfd78209247f6a7b7b26e700dd70a105de3ca59f5185ff9d6 -DIST scala-2.12.4-gentoo-binary.tar.xz 78241224 BLAKE2B 5caefb6c057b18cffdeb39440cabe14499d9f760a36ee9f1bd671c20f1961d463e13d8f81f2eb237a299cc4bd6e7f06cacad41b667ff7ccc20d439886f804af9 SHA512 dcf0ffa9eddf5d76d38b4078fe82715b667a0905273a5fe433e752e34a099c4aec4d53bc542a3be341b849857945f698cca384f824a4dae6406243eca36c5e1c -DIST scala-2.12.4-instrumented.jar 31725 BLAKE2B 5dc07140fbdd895512b41ebdacd56763f99ff0043f39652b0bce510fdc61c7c75fc5babb977c03b01cc7913339a4623fa698a513eb32a2c4b1314d033b74cb7e SHA512 b1d77c4380a2b8ffe715ec106e58081e5c89e314c5a13071d627c3f974144ad453e79d405cd722d75095b62e8682b7414d40b691506c7d2f5dde62e2fce51e39 -DIST scala-2.12.4-ivy2-deps.tar.xz 66284364 BLAKE2B 83f3d0d6735afa801345c93d5b468d1c9fceba23526628a534fe3e9b1f301cbc561844fe1e30d0015bd3b705bcc15095649265e0927cf70d955980658a50eeba SHA512 c890a3f85734b35b398d5266f4507284e7474bac6018a34945d858ebebefa225a00238bd3a82e99ab83e344e98f6b14f6c2852a6b05eb5d7ef2094039d53a6d7 -DIST scala-2.12.4-jsoup-1.3.1.jar 133835 BLAKE2B 0e57e44ff0283f18e07e05feb22ee8d5d8edb575c85a6cb42dc2c866e0dd4752a2bd0a5318bf5fc3764c9c408b89d690bfb6f3b1b4754a50397f229543d30591 SHA512 365e43b6d8ba14ae32607241481f7c0e6393268f5c3faef860be7674150edece2c30376108e54f307df6a266a91100a1c7dbc2f28b4207b5227bc1bec6e1106d -DIST scala-2.12.4-macro210.jar 2065 BLAKE2B d1194e28fe0d2740a370e343bed3e5084d69c2dedfbe0e0c135f16ce6a3c3467277084f003d567e93aaeb445e8f6140287c58a5ea01960d03aabad31f5f567bd SHA512 13c119afc4400f1531cad0cf38ab1652fce641090c11bff8f044a0d7f99df90412241ae78d5c623b7ecff1ce4720ae51fca4324f51bde0331e12f2e6e9898dd0 -DIST scala-2.12.4-maven-ant-tasks-2.1.1.jar 1314262 BLAKE2B 9dc8e5fbab52d8cf97287e9696181ea3a86e8915b152d8be56fc5e1f7a4c75c066f350a0dab7b957269cc6a8a9d6ed42ca37bfcc20ad61b2f32ac9e348009e99 SHA512 e3f0ff1d41ec31b2b64acb2ebcc175709714033589cb8e763f94aa80359c84f5d960c46dae713c9e37e1a09b977e7da617f8fe10a5b6fb30c55efd19bc307e68 -DIST scala-2.12.4-methvsfield.jar 609 BLAKE2B 56a86d8409af806474a46d9f2c5afa8533e0689b4d238258be986ac308a6a060e6d66e3d594ad8d7658b539cdc0b96e442b79279c4e71f27924fcfcf1c94cd16 SHA512 6db923ed7059bc91c8442d5804ccd8336e94f5202b3dcc348a4eb5026f09e1e86862f6e94818beae9ad42fcdc8e51df4d59a27109903a8ccb78054425ae47a71 -DIST scala-2.12.4-nest.jar 2920 BLAKE2B 3c48a2ea7501be03ede0fd9c1f907508491299cd68051e283fcce5576c1dde1032afa766e48529d4ce33e0f9ffe6f18d20e7341776e857f991969fe713a382ea SHA512 5eaaa870e06b5e00efb1f6ccced71343e8aa01578ea2b320b2d051f2df3713df9c500f074cc74a9e3c5cc509e03cf9c71265329bf2ddb3e82cb331524202fa38 -DIST scala-2.12.4-sbt-deps.tar.xz 34841672 BLAKE2B 0f1577bba65eb5863013014b16627c28934f13e84a6ed0a52748e2007417ae074bcb4b68650993d870f4ada872248d489f84ea02ee19521dd9ce8faae963e221 SHA512 74455451e77f0d935c8027e67b898e5eec9e984158292a37a4362072f4922eb53dfe9ddd5d52da8066fb8949c6469bff70405df8581633a49a37c8b900c6885e -DIST scala-2.12.4-vizant.jar 15910 BLAKE2B 393ddd38ff2528b9c54fbb2b79111858a2dfeab66e4b10daf4e23d113963edb3002db8c9415fe47557736a63ecef4b198bd90b87a54240a9a43823fdab0f3082 SHA512 4464d7349016f4999199e227e8eaf7bb3ef6b7e38ad0e8e710faad55df2e1243d99b53b9a789a1ffd3c39aef0d979dffc543f4691feae68cfa743e51bcf61390 -DIST scala-2.12.4.tar.gz 5999529 BLAKE2B 5dfeadb9ac9562dd825f6a41f9cabdd353f669a58dc3aaec714d6155e9e598296c1e31dcc8956a24a97103e3449fb8f8c3a9ebe5e52dd405572d59ccae89c5e6 SHA512 cad6d54777a3ad4d26df5b4d5cecbbdb4a91ecb17cbf791fe259735221d33f9dd17a14e86f5e3520464078ad9ef68581e722e3c0d7494436bf356c79a9d31697 -EBUILD scala-2.12.10-r2.ebuild 5252 BLAKE2B 1330642f586791d98f4aa4e71961218f50d83484a8b976c919c47e54a3175111e015f7776896e46bbbddf7dc71f2ae75cd33f7262d95ca9fcefeb9519f9ee5bc SHA512 3a7c474afe1f27c52831638ac6def5b1a44444a4bbdafd480a06688856f59a82a042e611c0ceaa0ae21f3b87c1266996fa46f36ac903fa3c6b804b6540ae8d05 -EBUILD scala-2.12.4.ebuild 7246 BLAKE2B f2d4b5b5cf33764ecbbc1eb83367b3bdae9fd1ce82e6f9c7759a467a132de5ad4be1623b273fdce0d7a07b28f2a354a78d4b41663bff4d62e46e4c4c78deaf52 SHA512 03673e873e5415b090d9d3582c41d6f4e88cae29b9cd466d12a21a5b8f814e7c8626f345c6fc4bb60fb4ee287c9edf3898a01185570e2268b6092347c7188a7b -MISC metadata.xml 479 BLAKE2B 8927ad38cb58fcc55fef40f95a1e57c2172a8ca8b6994f71a92fe0e10065b80ece596696afe93595e7f6c27959d4025d5670a41bd7dfece649faaf4f7dd7ed8d SHA512 f8ed5a95195ac7d96c22d0e8b7e65e0e5d624fae245b976b1486a93910ef9b9a9cc20b9c31363085868bf120589247ddc607f22b583ba65b247b84acd4e0763f diff --git a/dev-lang/scala/files/scala-2.12.10-no-git.patch b/dev-lang/scala/files/scala-2.12.10-no-git.patch deleted file mode 100644 index 017cb983b59b..000000000000 --- a/dev-lang/scala/files/scala-2.12.10-no-git.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- scala-2.12.10-orig/project/VersionUtil.scala 2019-09-05 01:01:59.000000000 +1000 -+++ scala-2.12.10/project/VersionUtil.scala 2019-09-12 11:00:05.525154568 +1000 -@@ -2,7 +2,7 @@ - - import sbt.{stringToProcess => _, _} - import Keys._ --import java.util.{Date, Locale, Properties, TimeZone} -+import java.util.{Calendar, Date, Locale, Properties, TimeZone} - import java.io.{File, FileInputStream} - import java.text.SimpleDateFormat - -@@ -65,18 +65,13 @@ - val log = sLog.value - val (dateObj, sha) = { - try { -- // Use JGit to get the commit date and SHA -- import org.eclipse.jgit.storage.file.FileRepositoryBuilder -- import org.eclipse.jgit.revwalk.RevWalk -- val db = new FileRepositoryBuilder().findGitDir.build -- val head = db.resolve("HEAD") -- if (head eq null) { -- log.info("No git HEAD commit found -- Using current date and 'unknown' SHA") -- (new Date, "unknown") -- } else { -- val commit = new RevWalk(db).parseCommit(head) -- (new Date(commit.getCommitTime.toLong * 1000L), commit.getName.substring(0, 7)) -- } -+ val commit = "61701c22900f14676fa181500722b64330eb2605" -+ val cal = Calendar.getInstance(); -+ cal.set(Calendar.YEAR, 2019); -+ cal.set(Calendar.MONTH, Calendar.SEPTEMBER); -+ cal.set(Calendar.DAY_OF_MONTH, 5); -+ val date = cal.getTime(); -+ (date, commit.substring(0, 7)) - } catch { - case ex: Exception => - log.error("Could not determine commit date + SHA: " + ex) diff --git a/dev-lang/scala/files/scala-2.12.4-no-git.patch b/dev-lang/scala/files/scala-2.12.4-no-git.patch deleted file mode 100644 index 0114e1d42b9e..000000000000 --- a/dev-lang/scala/files/scala-2.12.4-no-git.patch +++ /dev/null @@ -1,37 +0,0 @@ ---- a/project/VersionUtil.scala -+++ b/project/VersionUtil.scala -@@ -2,7 +2,7 @@ - - import sbt.{stringToProcess => _, _} - import Keys._ --import java.util.{Date, Locale, Properties, TimeZone} -+import java.util.{Calendar, Date, Locale, Properties, TimeZone} - import java.io.{File, FileInputStream} - import java.text.SimpleDateFormat - -@@ -65,18 +65,13 @@ - val log = sLog.value - val (dateObj, sha) = { - try { -- // Use JGit to get the commit date and SHA -- import org.eclipse.jgit.storage.file.FileRepositoryBuilder -- import org.eclipse.jgit.revwalk.RevWalk -- val db = new FileRepositoryBuilder().findGitDir.build -- val head = db.resolve("HEAD") -- if (head eq null) { -- log.info("No git HEAD commit found -- Using current date and 'unknown' SHA") -- (new Date, "unknown") -- } else { -- val commit = new RevWalk(db).parseCommit(head) -- (new Date(commit.getCommitTime.toLong * 1000L), commit.getName.substring(0, 7)) -- } -+ val commit = "c2a5883891a68180b143eb462c8b0cebc8d3b02" -+ val cal = Calendar.getInstance(); -+ cal.set(Calendar.YEAR, 2017); -+ cal.set(Calendar.MONTH, Calendar.OCTOBER); -+ cal.set(Calendar.DAY_OF_MONTH, 11); -+ val date = cal.getTime(); -+ (date, commit.substring(0, 7)) - } catch { - case ex: Exception => - log.error("Could not determine commit date + SHA: " + ex) diff --git a/dev-lang/scala/metadata.xml b/dev-lang/scala/metadata.xml deleted file mode 100644 index b109f86671ec..000000000000 --- a/dev-lang/scala/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - java@gentoo.org - Java - - - Install from (Gentoo-compiled) binary instead of building from sources. Set this when you run out of memory during build. - - - scala/scala - - diff --git a/dev-lang/scala/scala-2.12.10-r2.ebuild b/dev-lang/scala/scala-2.12.10-r2.ebuild deleted file mode 100644 index 0568eda4cfce..000000000000 --- a/dev-lang/scala/scala-2.12.10-r2.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" - -inherit check-reqs java-pkg-2 - -SV="$(ver_cut 1-2)" -SBTV="0.13.18" - -# Note: to bump scala, some things to try are: -# 1. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-ivy2-deps.tar.gz -# and https://dev.gentoo.org/~gienah/snapshots/${P}-sbt-deps.tar.gz from -# SRC_URI -# 2. try emerge scala, with network-sandbox disabled: -# FEATURES="noclean -network-sandbox" emerge dev-lang/scala -# Check if it downloads more stuff in src_compile to -# ${WORKDIR}/.ivy2 or ${WORKDIR}/.sbt or /root/.ivy2 or /root/.sbt -# 3. tar up all the .ivy2 and .sbt junk into ${P}-ivy2-deps.tar.xz and -# ${P}-sbt-deps.tar.xz and add them to SRC_URI, in ${WORKDIR}: -# XZ_OPT=-9 tar --owner=portage --group=portage \ -# -cJf /usr/portage/distfiles/${P}-ivy2-deps.tar.xz .ivy2/cache -# XZ_OPT=-9 tar --owner=portage --group=portage \ -# -cJf /usr/portage/distfiles/${P}-sbt-deps.tar.xz .sbt -# 4. Add these tar files to SRC_URI (undo step 1). -# 5. Try emerging it again, with network-sandbox, and create the bianry -# tar archive: -# FEATURES="noclean network-sandbox -test" USE="doc source" emerge dev-lang/scala -# cd $WORDKIR -# XZ_OPT=-9 tar --owner=portage --group=portage \ -# -cJf /usr/portage/distfiles/${P}-gentoo-binary.tar.xz .ivy2/local \ -# ${P}/build/pack/bin ${P}/build/quick/classes/scala-dist/man/man1 \ -# ${P}/src/library ${P}/src/library-aux ${P}/src/reflect ${P}/doc/README \ -# ${P}/build/scaladoc - -DESCRIPTION="The Scala Programming Language" -HOMEPAGE="https://www.scala-lang.org/" -SRC_URI=" - !binary? ( - https://github.com/scala/scala/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~gienah/snapshots/${P}-ivy2-deps.tar.xz - https://dev.gentoo.org/~gienah/snapshots/${P}-sbt-deps.tar.xz - ) - binary? ( - https://dev.gentoo.org/~gienah/distfiles/${P}-gentoo-binary.tar.xz - )" -LICENSE="BSD" -SLOT="${SV}/${PV}" -KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" - -IUSE="binary emacs" - -COMMON_DEP=">=dev-java/ant-1.10.14-r3:0 - dev-java/jline:2" - -DEPEND="${COMMON_DEP} - !binary? ( - >=dev-java/sbt-${SBTV}-r1:0 - media-gfx/graphviz - ) - <=virtual/jdk-11:* - app-arch/xz-utils:0" - -RDEPEND="${COMMON_DEP} - >=virtual/jre-1.8:* - app-eselect/eselect-scala - !dev-lang/scala-bin:0" - -PDEPEND="emacs? ( app-emacs/scala-mode:0 )" - -CHECKREQS_MEMORY="1536M" - -pkg_setup() { - java-pkg-2_pkg_setup - - if ! use binary; then - debug-print "Checking for sufficient physical RAM" - - ewarn "This package can fail to build with memory allocation errors in some cases." - ewarn "If you are unable to build from sources, please try USE=binary" - ewarn "for this package. See bug #181390 for more information." - - check-reqs_pkg_setup - fi -} - -pkg_pretend() { - if ! use binary; then - check-reqs_pkg_pretend - fi -} - -src_unpack() { - # Unpack tar files only. - for f in ${A} ; do - [[ ${f} == *".tar."* ]] && unpack ${f} - done -} - -src_prepare() { - java-pkg_getjars ant,jline-2,sbt - - if ! use binary; then - local a - for a in "${JURI[@]}" - do - echo "${a}" - local g="${a/* -> /}" - echo "${g}" - local j="${a/ -> */}" - echo "${j}" - cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die - done - - # gentoo patch (by gienah) to stop it calling git log in the build - eapply "${FILESDIR}/${PN}-2.12.10-no-git.patch" - - cat <<- EOF > "${S}/sbt" - #!/bin/bash - gjl_package=sbt - gjl_jar="sbt-launch.jar" - gjl_java_args="-Dsbt.version=${SBTV} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -Duser.home="${WORKDIR}"" - source "${EPREFIX}"/usr/share/java-config-2/launcher/launcher.bash - EOF - chmod u+x "${S}/sbt" || die - - sed -e 's@-Xmx1024M@-Xmx1536M@' \ - -i "${S}/build.sbt" \ - || die "Could not change increase memory size in ${S}/build.sbt" - fi - - default -} - -src_compile() { - if ! use binary; then - export PATH="${EROOT}/usr/share/scala-${SV}/bin:${WORKDIR}/${L_P}:${PATH}" - export LANG="en_US.UTF-8" - einfo "=== scala compile ..." - "${S}"/sbt -Dsbt.log.noformat=true compile || die "sbt compile failed" - einfo "=== sbt publishLocal with jdk $(java-pkg_get-vm-version) ..." - "${S}"/sbt -Dsbt.log.noformat=true publishLocal \ - || die "sbt publishLocal failed" - else - einfo "Skipping compilation, USE=binary is set." - fi -} - -src_test() { - if ! use binary; then - "${S}"/sbt -Dsbt.log.noformat=true test || die "sbt test failed" - else - einfo "Skipping tests, USE=binary is set." - fi -} - -src_install() { - pushd build/pack || die - local SCALADIR="/usr/share/${PN}-${SV}" - exeinto "${SCALADIR}/bin" - doexe $(find bin/ -type f ! -iname '*.bat') - dodir /usr/bin - for b in $(find bin/ -type f ! -iname '*.bat'); do - local _name=$(basename "${b}") - dosym "${SCALADIR}/bin/${_name}" "/usr/bin/${_name}-${SV}" - done - popd || die - java-pkg_dojar $(find "${WORKDIR}"/.ivy2/local -name \*.jar -print) - - pushd build/quick/classes/scala-dist/man/man1 || die - for i in *.1; do - newman "${i}" "${i/./-${SV}.}" - done - popd || die - - #sources are .scala so no use for java-pkg_dosrc - pushd src || die - if use source; then - dodir "${SCALADIR}/src" - insinto "${SCALADIR}/src" - doins -r library library-aux reflect - fi - popd || die - - local DOCS=( "doc/README" ) - local HTML_DOCS=( "build/scaladoc" ) - use doc && einstalldocs -} diff --git a/dev-lang/scala/scala-2.12.4.ebuild b/dev-lang/scala/scala-2.12.4.ebuild deleted file mode 100644 index 58851200267d..000000000000 --- a/dev-lang/scala/scala-2.12.4.ebuild +++ /dev/null @@ -1,211 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -JAVA_PKG_IUSE="doc source" - -inherit check-reqs java-pkg-2 versionator - -SV="$(get_version_component_range 1-2)" - -# Note: to bump scala, some things to try are: -# 1. update all the sha1s in JURI -# 2. remove the https://dev.gentoo.org/~gienah/snapshots/${P}-ivy2-deps.tar.gz -# and https://dev.gentoo.org/~gienah/snapshots/${P}-sbt-deps.tar.gz from -# SRC_URI -# 3. try emerge scala. Check if it downloads more stuff in src_compile to -# ${WORKDIR}/.ivy2 or ${WORKDIR}/.sbt or /root/.ivy2 or /root/.sbt -# 4. tar up all the .ivy2 and .sbt junk into ${P}-ivy2-deps.tar.xz and -# ${P}-sbt-deps.tar.xz and add them to SRC_URI: -# XZ_OPT=-9 tar --owner=portage --group=portage \ -# -cJf /usr/portage/distfiles/${P}-ivy2-deps.tar.xz .ivy2/cache -# XZ_OPT=-9 tar --owner=portage --group=portage \ -# -cJf /usr/portage/distfiles/${P}-sbt-deps.tar.xz .sbt - -# creating the binary: -# FEATURES="noclean -test" USE="doc source" emerge dev-lang/scala -# cd $WORDKIR -# XZ_OPT=-9 tar --owner=portage --group=portage \ -# -cJf /usr/portage/distfiles/${P}-gentoo-binary.tar.xz .ivy2/local \ -# ${P}/build/pack/bin ${P}/build/quick/classes/scala-dist/man/man1 \ -# ${P}/src/library ${P}/src/library-aux ${P}/src/reflect ${P}/doc/README \ -# ${P}/build/scaladoc - -# In the pullJarFiles function in tools/binary-repo-lib.sh it executes find commands -# to search for .desired.sha1 files, which contain sha1 hashes that are appended -# to ${BURI} along with the subdirectory and filename to form the list of jar files -# listed in SRC_URI. The output of this find command can be hacked into the desired format: -# find . -name \*.desired.sha1 -exec sed -e 's@\([0-9a-f]*\).*@\1@' {} \; -print -# After editing it into the desired format: sort -t / -k 3 file - -BURI="http://repo.typesafe.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap" - -declare -a JURI=( - "${BURI}/943cd5c8802b2a3a64a010efb86ec19bac142e40/lib/ant/ant-contrib.jar -> ${P}-ant-contrib.jar" - "${BURI}/3fc1e35ca8c991fc3488548f7a276bd9053c179d/lib/ant/ant-dotnet-1.0.jar -> ${P}-ant-dotnet-1.0.jar" - "${BURI}/7b456ca6b93900f96e58cc8371f03d90a9c1c8d1/lib/ant/ant.jar -> ${P}-ant.jar" - "${BURI}/7e50e3e227d834695f1e0bf018a7326e06ee4c86/lib/ant/maven-ant-tasks-2.1.1.jar -> ${P}-maven-ant-tasks-2.1.1.jar" - "${BURI}/2c61d6e9a912b3253194d5d6d3e1db7e2545ac4b/lib/ant/vizant.jar -> ${P}-vizant.jar" - "${BURI}/e737b123d31eede5594ceda07caafed1673ec472/test/files/codelib/code.jar -> ${P}-code.jar" - "${BURI}/02fe2ed93766323a13f22c7a7e2ecdcd84259b6c/test/files/lib/annotations.jar -> ${P}-annotations.jar" - "${BURI}/981392dbd1f727b152cd1c908c5fce60ad9d07f7/test/files/lib/enums.jar -> ${P}-enums.jar" - "${BURI}/b1ec8a095cec4902b3609d74d274c04365c59c04/test/files/lib/genericNest.jar -> ${P}-genericNest.jar" - "${BURI}/346d3dff4088839d6b4d163efa2892124039d216/test/files/lib/jsoup-1.3.1.jar -> ${P}-jsoup-1.3.1.jar" - "${BURI}/3794ec22d9b27f2b179bd34e9b46db771b934ec3/test/files/lib/macro210.jar -> ${P}-macro210.jar" - "${BURI}/be8454d5e7751b063ade201c225dcedefd252775/test/files/lib/methvsfield.jar -> ${P}-methvsfield.jar" - "${BURI}/cd33e0a0ea249eb42363a2f8ba531186345ff68c/test/files/lib/nest.jar -> ${P}-nest.jar" - "${BURI}/1b11ac773055c1e942c6b5eb4aabdf02292a7194/test/files/speclib/instrumented.jar -> ${P}-instrumented.jar" -) - -DESCRIPTION="The Scala Programming Language" -HOMEPAGE="https://www.scala-lang.org/" -SRC_URI=" - !binary? ( - https://github.com/scala/scala/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~gienah/snapshots/${P}-ivy2-deps.tar.xz - https://dev.gentoo.org/~gienah/snapshots/${P}-sbt-deps.tar.xz - ${JURI[@]} ) - binary? ( - https://dev.gentoo.org/~gienah/files/dist/${P}-gentoo-binary.tar.xz )" -LICENSE="BSD" -SLOT="${SV}/${PV}" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" - -IUSE="binary emacs" - -COMMON_DEP="dev-java/ant-core:0 - dev-java/jline:2" - -DEPEND="${COMMON_DEP} - !binary? ( - =virtual/jdk-1.8* - >=dev-java/sbt-0.13.13 - media-gfx/graphviz - ) - >=virtual/jdk-1.8 - app-arch/xz-utils:0" - -RDEPEND="${COMMON_DEP} - >=virtual/jre-1.8 - app-eselect/eselect-scala - !dev-lang/scala-bin:0" - -PDEPEND="emacs? ( app-emacs/scala-mode:0 )" - -CHECKREQS_MEMORY="1536M" - -pkg_setup() { - java-pkg-2_pkg_setup - - if ! use binary; then - debug-print "Checking for sufficient physical RAM" - - ewarn "This package can fail to build with memory allocation errors in some cases." - ewarn "If you are unable to build from sources, please try USE=binary" - ewarn "for this package. See bug #181390 for more information." - - check-reqs_pkg_setup - fi -} - -src_unpack() { - # Unpack tar files only. - for f in ${A} ; do - [[ ${f} == *".tar."* ]] && unpack ${f} - done -} - -src_prepare() { - java-pkg_getjars ant-core,jline-2 - - if ! use binary; then - local a - for a in "${JURI[@]}" - do - echo "${a}" - local g="${a/* -> /}" - echo "${g}" - local j="${a/ -> */}" - echo "${j}" - cp -p "${DISTDIR}/${g}" "${S}/${j#${BURI}/*/}" || die - done - - # gentoo patch (by gienah) to stop it calling git log in the build - eapply "${FILESDIR}/${PN}-2.12.4-no-git.patch" - - local SBT_PVR="$(java-config --query=PVR --package=sbt)" - sed -e "s@sbt.version=0.13.11@sbt.version=${SBT_PVR}@" \ - -i "${S}/project/build.properties" \ - || die "Could not set sbt.version=${SBT_PVR} in project/build.properties" - - cat <<- EOF > "${S}/sbt" - #!/bin/bash - gjl_package=sbt - gjl_jar="sbt-launch.jar" - gjl_java_args="-Dsbt.version=0.13.13 -Dfile.encoding=UTF8 -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -Duser.home="${WORKDIR}"" - source "${EPREFIX}"/usr/share/java-config-2/launcher/launcher.bash - EOF - chmod u+x "${S}/sbt" || die - - sed -e 's@-Xmx1024M@-Xmx1536M@' \ - -i "${S}/build.sbt" \ - || die "Could not change increase memory size in ${S}/build.sbt" - fi - - default -} - -src_compile() { - if ! use binary; then - export PATH="${EROOT}usr/share/scala-${SV}/bin:${WORKDIR}/${L_P}:${PATH}" - einfo "=== scala compile ..." - "${S}"/sbt -Dsbt.log.noformat=true compile || die "sbt compile failed" - einfo "=== sbt publishLocal with jdk $(java-pkg_get-vm-version) ..." - "${S}"/sbt -Dsbt.log.noformat=true publishLocal \ - || die "sbt publishLocal failed" - else - einfo "Skipping compilation, USE=binary is set." - fi -} - -src_test() { - if ! use binary; then - "${S}"/sbt -Dsbt.log.noformat=true test || die "sbt test failed" - else - einfo "Skipping tests, USE=binary is set." - fi -} - -src_install() { - pushd build/pack || die - local SCALADIR="/usr/share/${PN}-${SV}" - exeinto "${SCALADIR}/bin" - doexe $(find bin/ -type f ! -iname '*.bat') - dodir /usr/bin - for b in $(find bin/ -type f ! -iname '*.bat'); do - local _name=$(basename "${b}") - dosym "${SCALADIR}/bin/${_name}" "/usr/bin/${_name}-${SV}" - done - popd || die - java-pkg_dojar $(find "${WORKDIR}"/.ivy2/local -name \*.jar -print) - - pushd build/quick/classes/scala-dist/man/man1 || die - for i in *.1; do - newman "${i}" "${i/./-${SV}.}" - done - popd || die - - #sources are .scala so no use for java-pkg_dosrc - pushd src || die - if use source; then - dodir "${SCALADIR}/src" - insinto "${SCALADIR}/src" - doins -r library library-aux reflect - fi - popd || die - - local DOCS=( "doc/README" ) - local HTML_DOCS=( "build/scaladoc" ) - einstalldocs -} -- cgit v1.2.3