diff options
Diffstat (limited to 'dev-lang')
19 files changed, 356 insertions, 321 deletions
diff --git a/dev-lang/boogie/Manifest b/dev-lang/boogie/Manifest index 38d9197f336e..c36a4a6329b6 100644 --- a/dev-lang/boogie/Manifest +++ b/dev-lang/boogie/Manifest @@ -1,4 +1,5 @@ DIST boogie-3.5.5.gh.tar.gz 2129852 BLAKE2B b1271e900f6e2a94da6c2dbb8ae3916dc6e7776bdae06cebf097e88e21437a973063ada91fd07ee312b0829562e8cc8bddbd4f500f3b55bda6abd0def6728f83 SHA512 6c0b2315c330f8622abdb91312896f60fd54162b3bea8a636b865990f429c3e3cbde0b1a196e319c3777df3046680b3e73631396937a97de8dff7cd5403f04ea +DIST boogie-3.5.6.gh.tar.gz 2134059 BLAKE2B 95a05a4ef6b7e326780b7ceba0fd165f2ffca1f8fc5e3a4b8a8dfca9afdc2816ca607249f8d73f46070c532299f7c0890d4b3f052640d0019dfec84fed81c052 SHA512 db6f3fd2f4a740d9f6dad74e58db7738715e93ee466b5ab97e8e089b97dee1592ae77561c93feb3694a0c480bc0cfc8171e0a4c9d14b498049602daf116e928b DIST microsoft.bcl.asyncinterfaces.6.0.0.nupkg 76354 BLAKE2B aca3f5db71e4037dbdd604aeaebcd0962ccc171915b77b4c409ab744bf0a469c7d588f9504fc7fa49e3863e9593b66b4083235cb49e812d1f87b3dadb32e6003 SHA512 221a05a0c910f7a87b620d8f3831ed392b4eb95d112bee274d35f27009ad2a26445de9d7cd235fe6fb4a03f2550874bda3be3dddd96edaf9c0852a9c23d7b099 DIST microsoft.codecoverage.16.2.0.nupkg 3133582 BLAKE2B 418cf403247d594cde0d827f8ca8690019a7631525f07993937085f4bbf8473364b4c99aea6e8b7b0020208d15fe0da63f0f4e69c273493c51ae011e8bd82667 SHA512 91f1d43fc038a20f5367d9aab669105dc7514dfbe749260b52789c09a75abcc6bdc000ee0c7f432231d4cc09e99bf5b863dd6289d813342f74d9dad23a651625 DIST microsoft.csharp.4.0.1.nupkg 462346 BLAKE2B 209ccebc9103b803d26ea1f0232245c3cd231078b03a83a0011a2a79a1a8a324a72c5b3fda94b2686fff170932f366e165f81a36a70df590a39c45d70778e4be SHA512 c0e75a9162f28ba4c4572c8fac4fd4c8c97d6d3505a37683646ba5f7e5f6ac0da69d5200d2646054de90e8e08f893a10e514591b69b8273640842b2cf90bddec diff --git a/dev-lang/boogie/boogie-3.5.6.ebuild b/dev-lang/boogie/boogie-3.5.6.ebuild new file mode 100644 index 000000000000..b54fc874d0a6 --- /dev/null +++ b/dev-lang/boogie/boogie-3.5.6.ebuild @@ -0,0 +1,263 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOTNET_PKG_COMPAT="10.0" +NUGETS=" +microsoft.bcl.asyncinterfaces@6.0.0 +microsoft.codecoverage@16.2.0 +microsoft.csharp@4.0.1 +microsoft.dotnet.internalabstractions@1.0.0 +microsoft.net.test.sdk@16.2.0 +microsoft.netcore.platforms@1.0.1 +microsoft.netcore.platforms@1.1.0 +microsoft.netcore.targets@1.0.1 +microsoft.netcore.targets@1.1.0 +microsoft.testplatform.objectmodel@16.2.0 +microsoft.testplatform.testhost@16.2.0 +microsoft.win32.primitives@4.3.0 +microsoft.win32.registry@4.3.0 +microsoft.win32.systemevents@6.0.0 +netstandard.library@1.6.0 +netstandard.library@2.0.0 +newtonsoft.json@9.0.1 +nunit3testadapter@3.15.1 +nunit@3.12.0 +runtime.any.system.collections@4.3.0 +runtime.any.system.diagnostics.tools@4.3.0 +runtime.any.system.diagnostics.tracing@4.3.0 +runtime.any.system.globalization@4.3.0 +runtime.any.system.io@4.3.0 +runtime.any.system.reflection.extensions@4.3.0 +runtime.any.system.reflection.primitives@4.3.0 +runtime.any.system.reflection@4.3.0 +runtime.any.system.resources.resourcemanager@4.3.0 +runtime.any.system.runtime.handles@4.3.0 +runtime.any.system.runtime.interopservices@4.3.0 +runtime.any.system.runtime@4.3.0 +runtime.any.system.text.encoding.extensions@4.3.0 +runtime.any.system.text.encoding@4.3.0 +runtime.any.system.threading.tasks@4.3.0 +runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.native.system@4.0.0 +runtime.native.system@4.3.0 +runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0 +runtime.unix.microsoft.win32.primitives@4.3.0 +runtime.unix.system.diagnostics.debug@4.3.0 +runtime.unix.system.io.filesystem@4.3.0 +runtime.unix.system.private.uri@4.3.0 +runtime.unix.system.runtime.extensions@4.3.0 +system.appcontext@4.1.0 +system.buffers@4.3.0 +system.collections.concurrent@4.0.12 +system.collections.immutable@1.2.0 +system.collections.nongeneric@4.3.0 +system.collections.specialized@4.3.0 +system.collections@4.0.11 +system.collections@4.3.0 +system.componentmodel.eventbasedasync@4.0.11 +system.componentmodel.eventbasedasync@4.3.0 +system.componentmodel.primitives@4.3.0 +system.componentmodel.typeconverter@4.1.0 +system.componentmodel.typeconverter@4.3.0 +system.componentmodel@4.3.0 +system.configuration.configurationmanager@6.0.0 +system.diagnostics.debug@4.0.11 +system.diagnostics.debug@4.3.0 +system.diagnostics.process@4.1.0 +system.diagnostics.process@4.3.0 +system.diagnostics.textwritertracelistener@4.0.0 +system.diagnostics.tools@4.0.1 +system.diagnostics.tracesource@4.0.0 +system.diagnostics.tracing@4.1.0 +system.diagnostics.tracing@4.3.0 +system.drawing.common@6.0.0 +system.dynamic.runtime@4.0.11 +system.globalization.extensions@4.3.0 +system.globalization@4.0.11 +system.globalization@4.3.0 +system.io.filesystem.primitives@4.0.1 +system.io.filesystem.primitives@4.3.0 +system.io.filesystem@4.0.1 +system.io.filesystem@4.3.0 +system.io@4.1.0 +system.io@4.3.0 +system.linq.async@6.0.1 +system.linq.expressions@4.1.0 +system.linq@4.1.0 +system.linq@4.3.0 +system.objectmodel@4.0.12 +system.private.datacontractserialization@4.1.1 +system.private.uri@4.3.0 +system.reactive@4.4.1 +system.reflection.emit.ilgeneration@4.0.1 +system.reflection.emit.lightweight@4.0.1 +system.reflection.emit@4.0.1 +system.reflection.extensions@4.0.1 +system.reflection.extensions@4.3.0 +system.reflection.metadata@1.3.0 +system.reflection.primitives@4.0.1 +system.reflection.primitives@4.3.0 +system.reflection.typeextensions@4.1.0 +system.reflection.typeextensions@4.3.0 +system.reflection@4.1.0 +system.reflection@4.3.0 +system.resources.resourcemanager@4.0.1 +system.resources.resourcemanager@4.3.0 +system.runtime.caching@6.0.0 +system.runtime.extensions@4.1.0 +system.runtime.extensions@4.3.0 +system.runtime.handles@4.0.1 +system.runtime.handles@4.3.0 +system.runtime.interopservices.runtimeinformation@4.0.0 +system.runtime.interopservices.runtimeinformation@4.3.0 +system.runtime.interopservices@4.1.0 +system.runtime.interopservices@4.3.0 +system.runtime.loader@4.0.0 +system.runtime.serialization.json@4.0.2 +system.runtime.serialization.primitives@4.1.1 +system.runtime@4.1.0 +system.runtime@4.3.0 +system.security.accesscontrol@6.0.0 +system.security.cryptography.protecteddata@6.0.0 +system.security.permissions@6.0.0 +system.text.encoding.extensions@4.0.11 +system.text.encoding.extensions@4.3.0 +system.text.encoding@4.0.11 +system.text.encoding@4.3.0 +system.text.regularexpressions@4.1.0 +system.text.regularexpressions@4.3.0 +system.threading.tasks.extensions@4.3.0 +system.threading.tasks@4.0.11 +system.threading.tasks@4.3.0 +system.threading.thread@4.0.0 +system.threading.thread@4.3.0 +system.threading.threadpool@4.3.0 +system.threading@4.0.11 +system.threading@4.3.0 +system.windows.extensions@6.0.0 +system.xml.readerwriter@4.0.11 +system.xml.readerwriter@4.3.0 +system.xml.xdocument@4.0.11 +system.xml.xmldocument@4.0.1 +system.xml.xmldocument@4.3.0 +system.xml.xmlserializer@4.0.11 +system.xml.xpath.xmldocument@4.0.1 +system.xml.xpath.xmldocument@4.3.0 +system.xml.xpath@4.3.0 +" + +inherit check-reqs dotnet-pkg edo multiprocessing + +DESCRIPTION="SMT-based program verifier" +HOMEPAGE="https://github.com/boogie-org/boogie/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/boogie-org/${PN}" +else + SRC_URI="https://github.com/boogie-org/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64" +fi + +SRC_URI+=" ${NUGET_URIS} " + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + sci-mathematics/z3 +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/outputcheck + dev-python/lit + dev-python/psutil + ) +" + +PATCHES=( "${FILESDIR}/${PN}-3.0.4-disable-analyzers.patch" ) + +CHECKREQS_DISK_BUILD="2G" +DOTNET_PKG_PROJECTS=( Source/BoogieDriver/BoogieDriver.csproj ) +DOTNET_PKG_BUILD_EXTRA_ARGS=( -p:RollForward="Major" ) + +pkg_setup() { + check-reqs_pkg_setup + dotnet-pkg_pkg_setup +} + +src_unpack() { + dotnet-pkg_src_unpack + + if [[ -n "${EGIT_REPO_URI}" ]] ; then + git-r3_src_unpack + fi +} + +src_prepare() { + # Remove bad tests. + local -a bad_tests=( + civl + havoc0 + inst + livevars + prover/cvc5-offline.bpl + prover/cvc5.bpl + prover/exitcode.bpl + prover/z3-hard-timeout.bpl + prover/z3mutl.bpl + snapshots/runtest.snapshot + test15/CaptureInlineUnroll.bpl + test2/Timeouts0.bpl + test2/git-issue-366.bpl + test21/InterestingExamples4.bpl + ) + local bad_test="" + for bad_test in "${bad_tests[@]}" ; do + rm -r "${S}/Test/${bad_test}" \ + || ewarn "Failed to remove test: ${bad_test}" + done + + # Update the boogieBinary variable. + sed "/^boogieBinary/s|= .*|= '${DOTNET_PKG_OUTPUT}/BoogieDriver.dll'|" \ + -i "${S}/Test/lit.site.cfg" \ + || die "failed to update lit.site.cfg" + + dotnet-pkg_src_prepare +} + +src_test() { + einfo "Starting tests using the lit test tool." + local -a lit_opts=( + --order="lexical" + --time-tests + --timeout="1800" # Let one test take no more than half a hour. + --verbose + --workers="$(makeopts_jobs)" + ) + edo lit "${lit_opts[@]}" "${S}/Test" +} + +src_install() { + dotnet-pkg-base_install + dotnet-pkg-base_dolauncher "/usr/share/${P}/BoogieDriver" "${PN}" + + einstalldocs +} diff --git a/dev-lang/clojure/Manifest b/dev-lang/clojure/Manifest index 3a278227423f..f7cabce8dd49 100644 --- a/dev-lang/clojure/Manifest +++ b/dev-lang/clojure/Manifest @@ -1,5 +1,5 @@ -DIST clojure-1.12.2.tar.gz 754597 BLAKE2B 37beac791f363e15ac1921d8e07d157428b78dda9071643b384fe6178fb9e20b5a11112740e545c89cdd52eb622c1aed3b7f3acd7212a8310301a9396352e187 SHA512 cc77e6e6bd8dccab6d050b7e85227c73582744adcbbaa2fd233c61f691b2b45cac91f3d37ebfcf2b69c5abf3e885fc43480c6630f0f5ba51f1da6de931cd720c DIST clojure-1.12.3.tar.gz 754719 BLAKE2B ced7ea85eeaf1754e4c59704349ed0f8dbfd945e74be10b98877434b97e2166336cd04d0cbf58bba09955b3cb97c05fc1ecf7475728db5f8d8557dbea64f1ac3 SHA512 50c8ed7fe40551a63fa3b6d478913b7cd33fd5ec99e87c0fbee82d21716956853094509313b1d7484ff955a285e3f298be84f694d654ec4669a7771248887d49 +DIST clojure-1.12.4.tar.gz 754776 BLAKE2B d76879c40fee3a3b7520d728150eccfc6c5fc5abf8016ea0fb946f30d717dc6d64fd5fa77a2f60707fa93a400c8ed51272b15ed857eda82f672dba811cc8f338 SHA512 95bdc41876bdd8df10977bcb02207148db33981d48d2819fb58c7c2cf4b40a18ab43852c29179528a416efe9a51bdc1a223456ddaad1f152647b9f22300f041f DIST core.specs.alpha-0.4.74.tar.gz 12225 BLAKE2B df4238bdec9d91ad935b76d025cc439d2842e8577bafcfab5267750149e0f1dcbf9a8e35475f60f64f10b84f99b59238157fce82311684e63598a0cb31b350e8 SHA512 dae9ea983d9f46d0f3d5f8979f0f2b1a0eac3af48103063b5904f8cbe9813f87ef71f7a4a85528db7e9d2189f4ab2a656f805ddcc13e2835c47bc79d8408de31 DIST data.generators-1.1.0.tar.gz 11781 BLAKE2B cccbacb789f37a705d64c9467dcb0f737110176c92f3af89165688676c225179bdf17ca29126ab3578a54ace9137c991d2f1bf4b3024c7c6aaf9fe2f63f37fb8 SHA512 7b51fd44c9d58de639d036dbce343dd81a271e28db096c64e910ca6c87869fa6ccac9ba87d7313b53304017a335ee45bbd5ab9794bc166ec46b5a8d86b5aa82e DIST java.classpath-1.1.0.tar.gz 10881 BLAKE2B 1f3f9a103197990954e97725ffd581945fa27f2b50b44513a94a28bf0c50f0f2fd26a906f30eefbb110942d3ba157af945e009e3d5825a73ffb37aa85679bde6 SHA512 2d3c887a04f4c8a3a1189de719cfe020ff3989bb0c680328ef15311105b2244aa2d6797c017b1d39f6c025a8bf5ea36051d995dcebcae2ea032a5ca8cec12816 diff --git a/dev-lang/clojure/clojure-1.12.2.ebuild b/dev-lang/clojure/clojure-1.12.4.ebuild index ffb2cb87df74..c97b582c6c2f 100644 --- a/dev-lang/clojure/clojure-1.12.2.ebuild +++ b/dev-lang/clojure/clojure-1.12.4.ebuild @@ -47,7 +47,7 @@ S="${WORKDIR}/${PN}-${P}" LICENSE="EPL-1.0 Apache-2.0 BSD" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 ~x86-linux" +KEYWORDS="~amd64 ~x86-linux" RESTRICT="!test? ( test )" BDEPEND=" diff --git a/dev-lang/moarvm/Manifest b/dev-lang/moarvm/Manifest index 47670c152668..c2250269af51 100644 --- a/dev-lang/moarvm/Manifest +++ b/dev-lang/moarvm/Manifest @@ -1,3 +1,2 @@ -DIST MoarVM-2025.06.tar.gz 15247194 BLAKE2B 626b70df4728e18a522424b60bc12160b5f5f3edf31669131f84e7d48686cf8d31d058832cd3350592deb2e0fc682646b44a13827e161847a47391fa77441541 SHA512 8c60dbfa433a1660dbdc72b443df63e5dc9503a687df5d2fed492a4c2fb2df614f17c947109c8fa2d17b7520298574e299559a251de2bcc33ebc2fb41f1c6c8b -DIST MoarVM-2025.08.tar.gz 15247192 BLAKE2B 7e2085431123df0d6097684f45c5a73e6bbb51f3e02656a24b418e6262ba2eaefb97491fff135f90b1dabe336045ba079dc2138e0d8bdaa17b16621158972f1c SHA512 26382368d7bdfc05e6f67893eab5eea32c4ff3c7ee7255136ae7a607b627001eca557b2032c4029923ff4a16fba4f9661d5efcd1f9280422df04a9c08621a651 DIST MoarVM-2025.10.tar.gz 15247755 BLAKE2B 710a847162f62243cc0b7081d8678bc4682ede90412d109f3501cedd920b2e69526024893d60bbd3a577653fc435d40b5700e633b7233ff4a62800c42ea2d5cc SHA512 ffba156a09c8da8cf26eb919d3ae3a6e0c92f304f7b42345738e0f8996bfe1ea30e778b0fca5693f5e81885827ac3ddcec3337569c785044f3e50ae971b445e9 +DIST MoarVM-2025.11.tar.gz 15161191 BLAKE2B 20d9597646bf736ada9017c99eb4ac2e3a4fe4035d01472ad010825329a1105e788c6e677a8bdb3643a2995cae53ead4a74ea8925adf35936f6b0dbb60851e42 SHA512 d0b632eda920b18fd9607302d6436fe104e8df8a48a1f0c0ffe7c7623883a11e88cb9c99cd17bec55de2a8300cde6aec8cf1d57b44866c11c9a7e40f981790e7 diff --git a/dev-lang/moarvm/moarvm-2025.08.ebuild b/dev-lang/moarvm/moarvm-2025.08.ebuild deleted file mode 100644 index be57ae8eb669..000000000000 --- a/dev-lang/moarvm/moarvm-2025.08.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="MoarVM" -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git" - inherit git-r3 - S="${WORKDIR}/${P}" -else - SRC_URI="http://moarvm.org/releases/${MY_PN}-${PV}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${MY_PN}-${PV}" -fi - -DESCRIPTION="A 6model-based VM for NQP and Raku" -HOMEPAGE="http://moarvm.org" -LICENSE="Artistic-2" -SLOT="0" - -IUSE="asan clang debug doc +jit optimize static-libs ubsan" - -RDEPEND="dev-libs/libatomic_ops - >=dev-libs/libuv-1.26:= - dev-libs/libffi:= - dev-libs/mimalloc" -DEPEND="${RDEPEND} - clang? ( llvm-core/clang ) - dev-lang/perl" - -DOCS=( CREDITS README.md ) - -# Tests are conducted via nqp -RESTRICT=test - -src_configure() { - MAKEOPTS+=" NOISY=1" - use doc && DOCS+=( docs/* ) - local prefix="${EPREFIX}/usr" - local libdir="${EPREFIX}/usr/$(get_libdir)" - einfo "--prefix '${prefix}'" - einfo "--libdir '${libdir}'" - local myconfigargs=( - "--prefix" "${prefix}" - "--has-libuv" - "--has-libatomic_ops" - "--has-libffi" - "--has-mimalloc" - "--libdir" "${libdir}" - "--compiler" "$(usex clang clang gcc)" - "$(usex asan --asan)" - "$(usex debug --debug --no-debug)" - "$(usex optimize --optimize= --no-optimize)" - "$(usex static-libs --static)" - "$(usex ubsan --ubsan)" - ) - - perl Configure.pl "${myconfigargs[@]}" moarshared || die -} diff --git a/dev-lang/moarvm/moarvm-2025.06.ebuild b/dev-lang/moarvm/moarvm-2025.11.ebuild index be57ae8eb669..be57ae8eb669 100644 --- a/dev-lang/moarvm/moarvm-2025.06.ebuild +++ b/dev-lang/moarvm/moarvm-2025.11.ebuild diff --git a/dev-lang/nqp/Manifest b/dev-lang/nqp/Manifest index 87f5f23ee2f4..25573b3c3544 100644 --- a/dev-lang/nqp/Manifest +++ b/dev-lang/nqp/Manifest @@ -1,3 +1,2 @@ -DIST nqp-2025.06.1.tar.gz 9727913 BLAKE2B cdee47168d8a669e9edfa1391fa04707bf0d4beddd0d01c2bfcf38fc31f7b08ddcf7f29b1176999c64a6762334bdd1e70888e9df4411a75bb432c4685e7b9a81 SHA512 2c853efb929d3e60567f3cac0255c15401cf149eb7ee0c95f79dc07fffca8493c8edb8dbe2dbb48cd3de668cf5d753b6851016d1b84c07329b423c48729bcb55 -DIST nqp-2025.08.tar.gz 9727741 BLAKE2B ec05471eb04f2155e124ea5b935f06f63005ba7fc68198b3767c85feec1d8398afa44eacfb125a42d547cf7253484d149a10c88e435f124a65d110e691f2deb2 SHA512 7b1c19f5cd6525c0622edc201221278ad0090049806612c2887e62b1d3cd267d9b33577ba9df5783516020653ece17a07575658d8dfa771c6932ab5f50778852 DIST nqp-2025.10.tar.gz 9727260 BLAKE2B a77475cbf1821228c3b9330fd9c21cde6b5a3a04e939495b79f03a374ed7f13d1a9c2bfffbfb51536cc0d1f1c278308903a6767dc100ad9ae4685d02eb1db201 SHA512 6ba31f8968492cc867eb61110792a6a7f49ab45cfaad566bce8065578020936960cdb69c7f002eef6ac9551a95d60924065c7eb7307d550f2831f6d5b0391936 +DIST nqp-2025.11.tar.gz 9728380 BLAKE2B 76017e43947335949e0b55ea5ea1a7ccf5c5c04a60a76670c62ee52b1eca39a163ddf0fe92fed2847193e55535f58a4551c449d402738eb81c3deb39a66f0156 SHA512 673ed9842ea03ea64def337acf6265a0aa21e31a6799fc2cadad8a8c4832b37c23bf661384ef08eb5179769a3fa903bbb61816fda7713e00820a57e3db979c6b diff --git a/dev-lang/nqp/nqp-2025.06.1.ebuild b/dev-lang/nqp/nqp-2025.06.1.ebuild deleted file mode 100644 index 1ae3c562ccdb..000000000000 --- a/dev-lang/nqp/nqp-2025.06.1.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit java-pkg-opt-2 multibuild - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/perl6/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/perl6/${PN}/releases/download/${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Not Quite Perl, a Raku bootstrapping compiler" -HOMEPAGE="https://rakudo.org" - -LICENSE="Artistic-2" -SLOT="0" -IUSE="doc clang java +moar test" -RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( java moar )" - -CDEPEND="java? ( - >=dev-java/asm-9.8:0 - >=dev-java/jna-5.17.0:0 - ) - moar? ( ~dev-lang/moarvm-${PV/.1/}[clang=] )" -RDEPEND="${CDEPEND} - java? ( >=virtual/jre-11 )" -DEPEND="${CDEPEND}" -BDEPEND="${CDEPEND} - clang? ( llvm-core/clang ) - java? ( >=virtual/jdk-11 ) - dev-lang/perl" - -pkg_pretend() { - if has_version dev-lang/rakudo || has_version dev-lang/nqp; then - ewarn "NQP is known to fail compilation/installation with Rakudo and/or NQP" - ewarn "already being installed. So if it fails, try uninstalling both" - ewarn "dev-lang/nqp and dev-lang/rakudo, then do a new installation." - ewarn "(see Bug #584394)" - fi -} - -src_prepare() { - MULTIBUILD_VARIANTS=() - use moar && MULTIBUILD_VARIANTS+=( moar ) - use java && MULTIBUILD_VARIANTS+=( jvm ) - - multibuild_copy_sources - - # This will pull in conditional java_prepare - default -} - -nqp_configure() { - pushd "${BUILD_DIR}" > /dev/null || die - local myconfargs=( - "--backend=${MULTIBUILD_VARIANT}" - "--prefix=${EPREFIX}/usr" ) - - perl Configure.pl "${myconfargs[@]}" || die - popd || die -} - -nqp_compile() { - if [[ "${MULTIBUILD_VARIANT}" = jvm ]]; then - emake -j1 \ - -C "${BUILD_DIR}" \ - JAVAC="$(java-pkg_get-javac)" - elif [[ "${MULTIBUILD_VARIANT}" = moar ]]; then - emake -j1 \ - -C "${BUILD_DIR}" - fi -} - -nqp_test() { - emake -j1 \ - -C "${BUILD_DIR}" \ - test -} - -nqp_install() { - # This is the actual reason we need multibuild.eclass. - # We need to distinguish the install procedure for MoarVM and JVM backends. - case "${MULTIBUILD_VARIANT}" in - moar) - emake \ - DESTDIR="${ED}" \ - -C "${BUILD_DIR}" \ - install - ;; - jvm) - pushd "${BUILD_DIR}" > /dev/null || die - # Set JAVA_PKG_JARDEST early. - java-pkg_init_paths_ - - # Upstream sets the classpath to this location. Perhaps it's - # used to locate the additional libraries? - java-pkg_addcp "${JAVA_PKG_JARDEST}" - - insinto "${JAVA_PKG_JARDEST}" - local jar - - for jar in *.jar; do - if has ${jar} ${PN}.jar ${PN}-runtime.jar; then - # jars for NQP itself. - java-pkg_dojar ${jar} - else - # jars used by NQP. - doins ${jar} - fi - done - - # Upstream uses -Xbootclasspath/a, which is faster due to lack - # of verification, but gjl isn't flexible enough yet. :( - java-pkg_dolauncher ${PN}-j --main ${PN} - dosym ${PN}-j /usr/bin/${PN} - dobin tools/jvm/eval-client.pl - popd > /dev/null || die - ;; - *) - die "Unknown MULTIBUILD_VARIANT ${MULTIBUILD_VARIANT}." - ;; - esac -} - -src_configure() { - multibuild_foreach_variant nqp_configure -} - -src_compile() { - multibuild_foreach_variant nqp_compile -} - -src_test() { - multibuild_foreach_variant nqp_test -} - -src_install() { - multibuild_foreach_variant nqp_install - - dodoc CREDITS README.pod - use doc && dodoc -r docs/* -} diff --git a/dev-lang/nqp/nqp-2025.08.ebuild b/dev-lang/nqp/nqp-2025.11.ebuild index af559e447ea2..af559e447ea2 100644 --- a/dev-lang/nqp/nqp-2025.08.ebuild +++ b/dev-lang/nqp/nqp-2025.11.ebuild diff --git a/dev-lang/php/Manifest b/dev-lang/php/Manifest index 29547c46c36b..972e4180e62f 100644 --- a/dev-lang/php/Manifest +++ b/dev-lang/php/Manifest @@ -1,5 +1,5 @@ DIST php-8.2.29.tar.xz 12162364 BLAKE2B 5750dde1e75e0886fb583c4571f3802fc8d6ae30848fa5e423838e612b65414af05a6354896a86f35ebde292ad3b6c171c8f42cda85ea79216743194153112b9 SHA512 36d389e43a9d6bdc558f5e949f54e126c6fd4bf00da572e061e4e4c2f62ffeb292a34371486d3a64b85ab4a18678f7d84b2e3628e0ddc723a7757e90fecdbf92 DIST php-8.3.26.tar.xz 12581368 BLAKE2B e47b603400f36dfcba2bde85ef64b55d95f156ca4745b7edf14f0b9fa6027158486511e95b9d8440d05321d8540f71c30fb1c2ceb601c62f02838356c5902f6d SHA512 252c0c95bb2c4d6bf03e686c205777b529aaebe52f143754b369069d7a8aa5b45e8c2addb968287d6473cee507df62729e2527607b796fb764d3f036ba89fafb -DIST php-8.3.27.tar.xz 12592316 BLAKE2B 12b3d14443816e78b7bf70f9f8600116adbd00e46e524ca4408bd1cc1e06782c50a9806bec074e49babca8337cdf0f136189a7d9f611c302b5b3323bdc9fa2c2 SHA512 845189f97063574ef1f677d6ceb39c5ef362cab7068f908d6d870a1ea52953d6ec00b3bf042ce2daa6c2a84038a64f2ae6027ede9ae5952028a94f781200e306 -DIST php-8.4.14.tar.xz 13643936 BLAKE2B 47cfcf6a3d2a005a2100eb959f05c70736f5f62244ef67be44055c0e66ea5222c43b7d6b2c0f2ab05b719e1492e81475908ab739fe8728730f5a2dfeefe00175 SHA512 a7626f8dc1b951bf845e72884a4dcc622a06159de623772a97ef5ccb20930a85273db81e98e933c26982ba3a539847b61bbe86bba4792f5fee49a9c91814a63b +DIST php-8.3.28.tar.xz 12604244 BLAKE2B b6a0daa396429c79f9a0d235de1fc8f16044d33c8b0df90db22337a079594d6c671a24cf533e9232294558eeca52d6f8c4cec5c10018954dd71e31b628feaf00 SHA512 8dc88361d59710e165239e16a8c976230d3e355c73c1c44126701591fcc02cf97e223dae51349319eca09191311a15f5596a3341ed09ed7b9cb40c1e230c6fd4 +DIST php-8.4.15.tar.xz 13652564 BLAKE2B 0a43916a89c03cd1c397aaf3442b687c7349c10a6f3b222f510ae31610615aa034604c66a54175b379d72f2c55d05ba6092d9f8bcbcb9ab8fc5136ddf68f1443 SHA512 0ebb2b2e4448959cb12bafba32a879b9a65e785ddc41b2e928f634f7e90df18503ef915bec62e37667c4ce29c577de325cd0e04e214267757c999d2470882705 DIST php-8.5.0.tar.xz 14314552 BLAKE2B 5ca0b7ff94f363143b264326edf576c9f84bff607704ee119680948439db20f3db61f88c7ce8f46447bcac5c57238dd6bbab2b48d507b9547ce661d0d1d6a712 SHA512 b003f61e491b4848ea61a15eab7d7b1b932364c54687ad6c0b24fd36338c358afceb761f5b7e446dc05dbb76e7086b014bac0c91e9bf7ec55c16be2ac8c71940 diff --git a/dev-lang/php/files/php-gh-20528-fix.patch b/dev-lang/php/files/php-gh-20528-fix.patch new file mode 100644 index 000000000000..f8a790a48acd --- /dev/null +++ b/dev-lang/php/files/php-gh-20528-fix.patch @@ -0,0 +1,81 @@ +From 9d71c1e0b60cd152a47528dbe514efc443fce920 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 20 Nov 2025 02:58:45 +0100 +Subject: [PATCH] Fix GH-20528: Regression breaks mysql connexion using an IPv6 + address enclosed in square brackets + +--- + ext/mysqli/tests/mysqli_connect_port.phpt | 31 +++++++++++++++++++++++ + ext/mysqlnd/mysqlnd_connection.c | 17 ++++++++++--- + 2 files changed, 45 insertions(+), 3 deletions(-) + create mode 100644 ext/mysqli/tests/mysqli_connect_port.phpt + +diff --git a/ext/mysqli/tests/mysqli_connect_port.phpt b/ext/mysqli/tests/mysqli_connect_port.phpt +new file mode 100644 +index 0000000000000..cb7fd1d8d1628 +--- /dev/null ++++ b/ext/mysqli/tests/mysqli_connect_port.phpt +@@ -0,0 +1,31 @@ ++--TEST-- ++mysqli_connect() with port in host ++--EXTENSIONS-- ++mysqli ++--SKIPIF-- ++<?php ++require_once 'skipifconnectfailure.inc'; ++?> ++--FILE-- ++<?php ++ require_once 'connect.inc'; ++ ++ // using port / host arguments ++ if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { ++ printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", ++ $host, $user, $db, $port, $socket); ++ } ++ ++ mysqli_close($link); ++ ++ // using port in host ++ if (!$link = mysqli_connect("$host:$port", $user, $passwd, $db, "1$port", $socket)) { ++ printf("Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", ++ "$host:$port", $user, $db, "1$port", $socket); ++ } ++ ++ mysqli_close($link); ++?> ++Done ++--EXPECTF-- ++Done +diff --git a/ext/mysqlnd/mysqlnd_connection.c b/ext/mysqlnd/mysqlnd_connection.c +index d8e7304e9665f..8268034e8b798 100644 +--- a/ext/mysqlnd/mysqlnd_connection.c ++++ b/ext/mysqlnd/mysqlnd_connection.c +@@ -553,13 +553,24 @@ MYSQLND_METHOD(mysqlnd_conn_data, get_scheme)(MYSQLND_CONN_DATA * conn, MYSQLND_ + port = 3306; + } + +- /* ipv6 addresses are in the format [address]:port */ + if (hostname.s[0] != '[' && mysqlnd_fast_is_ipv6_address(hostname.s)) { ++ /* IPv6 without square brackets so without port */ + transport.l = mnd_sprintf(&transport.s, 0, "tcp://[%s]:%u", hostname.s, port); + } else { +- /* Not ipv6, but could already contain a port number, in which case we should not add an extra port. ++ char *p; ++ ++ /* IPv6 addresses are in the format [address]:port */ ++ if (hostname.s[0] == '[') { /* IPv6 */ ++ p = strchr(hostname.s, ']'); ++ if (p && p[1] != ':') { ++ p = NULL; ++ } ++ } else { /* IPv4 or name */ ++ p = strchr(hostname.s, ':'); ++ } ++ /* Could already contain a port number, in which case we should not add an extra port. + * See GH-8978. In a port doubling scenario, the first port would be used so we do the same to keep BC. */ +- if (strchr(hostname.s, ':')) { ++ if (p) { + /* TODO: Ideally we should be able to get rid of this workaround in the future. */ + transport.l = mnd_sprintf(&transport.s, 0, "tcp://%s", hostname.s); + } else { diff --git a/dev-lang/php/php-8.3.27.ebuild b/dev-lang/php/php-8.3.28-r1.ebuild index 14fca609ecae..eeb2d83be1e7 100644 --- a/dev-lang/php/php-8.3.27.ebuild +++ b/dev-lang/php/php-8.3.28-r1.ebuild @@ -136,6 +136,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}/php-8.3.9-gd-cachevars.patch" "${FILESDIR}/php-8.4.14-libpcre2-testfix.patch" + "${FILESDIR}/php-gh-20528-fix.patch" ) PHP_MV="$(ver_cut 1)" @@ -269,18 +270,6 @@ src_prepare() { ext/gd/tests/bug73272.phpt \ || die - # Test requires truetype support - if ! use truetype; then - rm ext/gd/tests/gh19955.phpt - fi - - # Should be OK in the next version, but this test required network - # access when it was added: - # - # https://github.com/php/php-src/pull/19776 - # - rm sapi/cli/tests/php_cli_server_ipv6_error_message.phpt || die - # One-off, somebody forgot to update a version constant rm ext/reflection/tests/ReflectionZendExtension.phpt || die diff --git a/dev-lang/php/php-8.4.14.ebuild b/dev-lang/php/php-8.4.15-r1.ebuild index 2132cc3c040a..4bd782790454 100644 --- a/dev-lang/php/php-8.4.14.ebuild +++ b/dev-lang/php/php-8.4.15-r1.ebuild @@ -133,6 +133,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}/php-8.4.14-libpcre2-testfix.patch" + "${FILESDIR}/php-gh-20528-fix.patch" ) PHP_MV="$(ver_cut 1)" @@ -269,25 +270,6 @@ src_prepare() { rm ext/dba/tests/gh19706.phpt fi - # Test fails in a sandboxed/offline environment, - # already fixed upstream, but not yet in this release - # - # https://github.com/php/php-src/pull/19776 - # - rm sapi/cli/tests/php_cli_server_ipv4_error_message.phpt || die - - # Test requires truetype support - if ! use truetype; then - rm ext/gd/tests/gh19955.phpt - fi - - # Should be OK in the next version, but this test required network - # access when it was added: - # - # https://github.com/php/php-src/pull/19776 - # - rm sapi/cli/tests/php_cli_server_ipv6_error_message.phpt || die - # One-off, somebody forgot to update a version constant rm ext/reflection/tests/ReflectionZendExtension.phpt || die diff --git a/dev-lang/php/php-8.5.0.ebuild b/dev-lang/php/php-8.5.0-r1.ebuild index 2bbf0915086c..361726f19417 100644 --- a/dev-lang/php/php-8.5.0.ebuild +++ b/dev-lang/php/php-8.5.0-r1.ebuild @@ -133,6 +133,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}/php-8.4.14-libpcre2-testfix.patch" + "${FILESDIR}/php-gh-20528-fix.patch" ) PHP_MV="$(ver_cut 1)" diff --git a/dev-lang/python/python-3.12.12.ebuild b/dev-lang/python/python-3.12.12.ebuild index ffc8c25d6691..07f18eaa3824 100644 --- a/dev-lang/python/python-3.12.12.ebuild +++ b/dev-lang/python/python-3.12.12.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE=" bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind diff --git a/dev-lang/rakudo/Manifest b/dev-lang/rakudo/Manifest index e27a8b9b6979..be37f6bbf6af 100644 --- a/dev-lang/rakudo/Manifest +++ b/dev-lang/rakudo/Manifest @@ -1,3 +1,2 @@ -DIST rakudo-2025.06.1.tar.gz 7066983 BLAKE2B cc13bb34611b739ce080eef377abf19200227618e81dcd95720a50fe47e09eb06674cd326d7c4f083906690573817edd1956b16ebfb650dd48e684440ab24c71 SHA512 721c7cbf5db3b75514c545a7fa2ccfa8f3338db04d3e9fa91b5d6e1535929b5f4c59e745666170dc571170bf793028896b8b341b0976c2fa646525a4c9087934 -DIST rakudo-2025.08.tar.gz 7708577 BLAKE2B cf3e8a658fa22f4714a4cfd0eec4de23a38f644ca39d13e1b36bfe8515c077ac9fc4d8eed29f0b6e44df5d3ff213a91e72284888ca2fcdaba111c8c941cc90d5 SHA512 36ff3a6d24567a6b6a56e53d6eda4ae9dfedfc95a26a999d0cb017930979dca769f382cda836102ef989fa6f5a22b4ca80b57b04785c0b4525661ec6d1f6acb9 DIST rakudo-2025.10.tar.gz 7070426 BLAKE2B 623dd51997851b33abb383168fc3edec4f2d9cf9ffa05f1080e42dd7fb11127c75f4d392c5b822397ccbae34435ed6af08252679c2ec45432461cd48bed2efd6 SHA512 83e842a126882a9caffb657aa1b46e494c816589627105e0358ef973e1f1e9b3ef3c110009b426b77fcb47787cf1b4ca1e8ee9100e5c8ebca9f9f6afc8933a3b +DIST rakudo-2025.11.tar.gz 7709297 BLAKE2B f623417465a6d04b4cc25fd703f6671e1fa2ab78ca0dcc20994a95f4b5acdd24acaae8cc134ae564399fc9fe28fe6113b3047e251123bca18eb8f2cf74f64cd2 SHA512 82901056a8cd8219565b8e17df1722711fe87d333a40b5f86b7ecced20e56f4675e866ab15ab4feb636ecc3b48790b07847f5fd9168da7abe7292a898922f99d diff --git a/dev-lang/rakudo/rakudo-2025.08.ebuild b/dev-lang/rakudo/rakudo-2025.08.ebuild deleted file mode 100644 index 4b8e994ccea2..000000000000 --- a/dev-lang/rakudo/rakudo-2025.08.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit java-pkg-opt-2 - -DESCRIPTION="A compiler for the Raku programming language" -HOMEPAGE="https://rakudo.org" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="https://github.com/rakudo/${PN}.git" - inherit git-r3 -else - SRC_URI="https://rakudo.org/dl/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="Artistic-2" -SLOT="0" -# TODO: add USE="javascript" once that's usable in nqp -IUSE="clang java +moar test" |
