Commit Graph

329 Commits

Author SHA1 Message Date
Itai Ferber
2ffdfebf8f dev-lang/swift-bin: correct KEYWORDS
`swift-bin` is currently only built for amd64 and doesn't work on other
architectures; the KEYWORDS need to reflect this.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-12-13 12:51:32 -05:00
Itai Ferber
16c07b5403 dev-lang/swift: enable py3.14
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-12-13 07:43:50 -05:00
Itai Ferber
9a53f6b4f4 dev-lang/swift: drop older 6.0.3 revisions
Cleans up pre-r2 ebuild revisions.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-12-13 07:43:50 -05:00
Itai Ferber
b176c46619 dev-lang/swift: drop older 5.10.1 revisions
Cleans up pre-r5 ebuild versions.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-12-13 07:43:50 -05:00
Itai Ferber
788aa343d5 dev-lang/swift-bin: new package, add 5.10.1-r5, 6.2.3
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-12-13 07:43:41 -05:00
Itai Ferber
f565d53972 dev-lang/swift: add 6.2.3
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-12-12 18:48:24 -05:00
Itai Ferber
be828f7112 dev-lang/swift: patch additional missing include
23ea96bd5 added a patch to fix some issues caused by build system
updates; namely, it added some necessary `#include <cstdint>`s that
allowed the project to build. Swift 6.2 requires an additional include
in `FunctionRefInfo.cpp`.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-12-12 18:48:08 -05:00
Katalin Rebhan
33333d4eea dev-lang/swift: add 6.2.2
Signed-off-by: Katalin Rebhan <me@dblsaiko.net>
2025-12-09 22:29:19 +01:00
Paul Zander
e07d695d5d */*: Add := to virtual/zlib deps
Add := to virtual/zlib deps, part 1

Done via:

```
git grep -l virtual/zlib$ | xargs sed -i -e 's@virtual/zlib$@&:=@'
```

Add := to virtual/zlib deps

Done via:

```
git grep -l 'virtual/zlib ' |
  xargs sed -i -e 's@virtual/zlib @virtual/zlib:= @g'
```

Unify virtual/zlib:0= to virtual/zlib:=

Done via:

```
git grep -l 'virtual/zlib:0=' |
  xargs sed -i -e 's@virtual/zlib:0=@virtual/zlib:=@g'
```

Add := to virtual/zlib deps, part 3

Done via:

```
git grep -l 'virtual/zlib:0' |
  xargs sed -i -e 's@virtual/zlib:0@virtual/zlib:=@g'
git grep -l 'virtual/zlib:=/' |
  xargs sed -i -e 's@virtual/zlib:=/@virtual/zlib:0/@g'
```

Add := to virtual/zlib deps, part 4

Done via:

```
git grep -l 'virtual/zlib\[' |
  xargs sed -i -e 's@virtual/zlib\[@virtual/zlib:=\[@g'
```

Use := on virtual/zlib deps, part 5

Done via:

```
git grep -l 'virtual/zlib-' |
  xargs sed -i -r -e 's@virtual/zlib-[0-9.]*(-r[0-9]*)?@&:=@g'
git grep -l 'virtual/zlib-' | xargs sed -i -e 's@:=:=@:=@g'
pkgcheck scan --commits \
  -c SourcingCheck,VisibilityCheck,DependencyCheck --exit error
```

Use := on virtual/zlib deps, part 6

Done via:

```
git grep -l 'virtual/zlib"' | xargs sed -i -e 's@virtual/zlib"@virtual/zlib:="@'
```

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2025-11-18 17:53:08 +01:00
Paul Zander
c23791504e */*: update for virtual/zlib
Update done using:

```
git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g
git diff --name-only | xargs copybump
git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead
pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error
```

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
2025-11-16 23:26:20 +01:00
Itai Ferber
945693e4db dev-lang/swift: add 6.2.1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-11-05 10:27:03 -05:00
Anna (cybertailor) Vyalkova
4309d7c943 dev-lang/crystal-bin: add 1.16.3
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-10-30 17:17:45 +05:00
Anna (cybertailor) Vyalkova
662e43af9e dev-lang/crystal-bin: add 1.18.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-10-27 18:27:23 +05:00
Anna (cybertailor) Vyalkova
a2193a3f6e dev-lang/crystal-bin: add 1.18.0, drop 1.16.3
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-10-16 20:37:03 +05:00
Itai Ferber
da67285555 dev-lang/swift: add 6.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-09-17 19:10:47 -04:00
Itai Ferber
7833ec9d17 dev-lang/swift: add 6.1.3, drop 6.1, 6.1.1, 6.1.2, 6.1.2-r1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-09-17 19:10:47 -04:00
Christian Brendlin
f1c8ab59b0 dev-lang/c3c: new package, add 0.7.5
Signed-off-by: Christian Brendlin <ch@brendlinonline.de>
2025-09-13 17:37:14 +02:00
Pavel Sobolev
23ea96bd50 dev-lang/swift: fix issues caused by build system updates
Closes: https://bugs.gentoo.org/945025

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
2025-09-05 23:03:21 +03:00
David Roman
5e0ba95d00 dev-lang/uiua: new package, add 0.16.2
Signed-off-by: David Roman <davidroman96@gmail.com>
2025-08-21 23:31:08 +02:00
Haelwenn (lanodan) Monnier
a79415d243 dev-lang/wabt: add 1.0.37, drop 1.0.34 (security)
Fixes: CVE-2025-2584
Fixes: CVE-2025-6274
Fixes: CVE-2025-6275
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2025-08-18 17:20:54 +02:00
Anna (cybertailor) Vyalkova
dc2ce6fa12 dev-lang/crystal-bin: add 1.17.1, drop 1.16.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-08-05 11:14:04 +05:00
Katalin Rebhan
788804b6b5 dev-lang/swift: Correctly merge extra build flags
The build script complains when the same option occurs multiple
times in the same preset, but merges them when they occur in separate
presets. Therefore restore the code that creates a stack of presets
with one for each subsequent argument, instead of packing them all
into a single preset.

Signed-off-by: Katalin Rebhan <me@dblsaiko.net>
2025-07-05 19:44:18 +02:00
Saveliy Boyarchuk
a5f0960e50 dev-lang/odin: remove 2024-*, add 2025-06, 9999
Signed-off-by: Saveliy Boyarchuk <sav.boyar@gmail.com>
2025-07-05 20:08:25 +03:00
Haelwenn (lanodan) Monnier
e5322bbd5c dev-lang/hare: add patch to fix os::clearenv
This patch has been applied upstream: 4039f65285

And reported here: https://lists.sr.ht/~sircmpwn/hare-dev/%3C20250617083804.112699-1-apreiml@strohwolke.at%3E#%3CDAVE0JNU5ATC.10TZVZM0C3UB3@willowbarraco.fr%3E

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2025-06-26 01:13:55 +02:00
Haelwenn (lanodan) Monnier
d8401513e1 dev-lang/hare: Fix dev-lang/harec dependency
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2025-06-22 16:02:49 +02:00
Itai Ferber
6bfcf19e28 dev-lang/swift: add symlinks to stable SLOT dir
Along with `/usr/$(get_libdir)/swift-${PV}`, symlink to a stable
directory in `/usr/$(get_libdir)` that matches the package SLOT so
revdeps can rely on a stable directory that doesn't change on patch
version.

Closes: https://bugs.gentoo.org/957730
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-06-21 20:29:32 -04:00
Haelwenn (lanodan) Monnier
11212bf2e3 dev-lang/hare: add 0.25.2
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2025-06-21 17:13:10 +02:00
Haelwenn (lanodan) Monnier
0f46c24232 dev-lang/harec: add 0.25.2
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2025-06-21 17:09:47 +02:00
Haelwenn (lanodan) Monnier
672e3aab4e dev-lang/harec: drop 0.24.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2025-06-21 17:09:47 +02:00
Haelwenn (lanodan) Monnier
f6c6d6d32e dev-lang/hare: drop 0.24.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2025-06-21 17:09:47 +02:00
Itai Ferber
dfda47c295 dev-lang/swift: add 6.1.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-05-29 10:19:32 -04:00
Itai Ferber
f065207ce9 dev-lang/swift: add 6.1.1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-05-24 15:20:57 -04:00
Anna (cybertailor) K
c81647bc6d dev-lang/crystal-bin: add 1.16.3, drop 1.16.1
Signed-off-by: Anna (cybertailor) K <cyber+gentoo@sysrq.in>
2025-05-13 12:53:56 +05:00
Anna (cybertailor) Vyalkova
7e47c095f7 dev-lang/crystal-bin: add 1.16.2, drop 1.15.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-04-30 20:49:48 +05:00
Itai Ferber
becab7e238 dev-lang/swift: fix broken 5.10.1 patch symlink
2849e1a7d removed swift-6.0.1, -6.0.1-r1, and -6.0.2, but
swift-5.10.1-r2/backtracing-noexecstack.patch was symlinked to
swift-6.0.1's version. The effective file has been moved down to
swift-5.10.1-r2 and the swift-6.x line now symlinks to this base file;
the contents have not changed.

Closes: https://bugs.gentoo.org/954338
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-04-27 13:25:34 -04:00
Anna (cybertailor) Vyalkova
9bfae138b9 dev-lang/crystal-bin: add 1.16.1, drop 1.14.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-04-17 14:24:21 +05:00
Itai Ferber
f0fee0b997 dev-lang/swift: add 6.1
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-04-01 09:58:53 -04:00
Itai Ferber
2849e1a7d3 dev-lang/swift: drop 6.0.1, 6.0.1-r1, 6.0.2
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-04-01 09:58:49 -04:00
Itai Ferber
fdc4461cb8 dev-lang/swift: fix symlinking on install
On `pkg_postinst`, `has_version` wasn't returning the expected value in
order to symlink Swift on first install; instead, we can use `eselect
swift show` itself to be able to tell whether we're eligible to update
the symlinks.

Closes: https://bugs.gentoo.org/951175
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-26 15:46:02 -04:00
Itai Ferber
0cf9b38183 dev-lang/swift: respect MAKEOPTS -j
The Swift build system takes a '-j'/'--jobs' flag, but the value from
MAKEOPTS needs to be manually exposed to it for it to be respected.

Closes: https://bugs.gentoo.org/951202
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-26 15:46:02 -04:00
Itai Ferber
6c6dc8ce59 dev-lang/swift: add swift-5.10.1-r4, swift-6.0.3-r1
Swift is now set up to properly respect CFLAGS, CXXFLAGS, and LDFLAGS
from the environment by not overriding those values in the build system.
Swift 6 now also picks up on `SWIFT_EXTRA_BUILD_FLAGS` from the
environment and passes those to its build system as well.

Closes: https://bugs.gentoo.org/939764
Closes: https://bugs.gentoo.org/939766
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-26 15:46:02 -04:00
Itai Ferber
3b7851f360 dev-lang/swift: add compatibility for LLVM 19
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-07 15:32:21 -05:00
Itai Ferber
c814bc34f9 dev-lang/swift: fix swift-5.10.1 linker error on compiling IndexStore
Closes: https://bugs.gentoo.org/950708
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-03-07 15:32:21 -05:00
Anna (cybertailor) Vyalkova
bb0aae8ad3 */*: disable py3.10
Python 3.10 target is scheduled for removal in Gentoo:
https://public-inbox.gentoo.org/gentoo-dev/e6ca9f1f4ababb79ab2a3d005c39b483c3ecef6e.camel@gentoo.org/

Sphinx 8.2.0 already dropped support for CPython 3.10 and PyPy 3.10,
leading to multiple CI failures in ::guru.

We can safely remove this target, because GURU is "experimental" and
does not have stable keywords.

Let's not remove "pypy3" right now because
a) There are not many packages using it.
b) So we can see which packages supported PyPy 3.10, and test them with
   PyPy 3.11.

Closes: https://github.com/gentoo/guru/pull/291
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-02-21 17:51:14 +05:00
Marco Rebhan
fbbd4a1e11 dev-lang/swift: Add option to compile with libcxx
This is useful on llvm profile systems, where the default C++ compiler
is clang with libcxx.

Signed-off-by: Marco Rebhan <me@dblsaiko.net>
2025-02-11 00:46:30 +01:00
Marco Rebhan
e725aa5030 dev-lang/swift: Always use libstdc++ when building Swift 5
Closes: https://bugs.gentoo.org/949266
Signed-off-by: Marco Rebhan <me@dblsaiko.net>
2025-02-11 00:46:30 +01:00
Marco Rebhan
a66c6fc7ab dev-lang/swift: Use lld as default linker for Swift LLVM
Signed-off-by: Marco Rebhan <me@dblsaiko.net>
2025-02-11 00:46:30 +01:00
Takuya Wakazono
4c12a993fe dev-lang/odin: quote LLVM_SLOT with single quotes
LLVM_SLOT inside llvm_gen_dep() must not be expanded beforehand.

Closes: https://bugs.gentoo.org/940461
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2025-02-04 21:25:26 +09:00
Anna (cybertailor) Vyalkova
6cdcf266ba dev-lang/crystal-bin: add 1.15.0, drop 1.13.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-01-30 00:00:39 +05:00
Itai Ferber
b153399da0 dev-lang/swift: add explicit RDEP on app-arch/zstd
Resolves a QA warning on Tinderbox regarding a missing RDEPEND on
app-arch/zstd. Since target systems are guaranteed to already have this
already (Portage itself depends on it unconditionally), this addition is
inconsequential and not worth adding ebuild revisions for.

Closes: https://bugs.gentoo.org/948329
Signed-off-by: Itai Ferber <itai@itaiferber.net>
2025-01-18 12:04:16 -05:00