Commit Graph
861428 Commits
Author SHA1 Message Date
James Le Cuirot 11e91de664 cargo.eclass: Add cargo_env helper and use it in compile, test, install
Rust packages have a tendency to rebuild parts during test and install.
It is not clear whether this can be addressed. We were therefore relying
on some environment variables set during the compile phase for
cross-compiling to work in the later phases. This is not ideal,
especially if you need to build for multiple targets.

These environment variables can also be useful in other contexts, such
as the build runner in app-misc/anki.

This change moves the setting of these variables into a separate helper
that is now used in all these phases and can be used by ebuilds too. The
variables are now kept local to each invocation of this helper,
preventing leakage.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 10:30:10 +02:00
James Le Cuirot d57601effe cargo.eclass: Use newer Cargo config file name
"config" is deprecated and "config.toml" has been valid for ages.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 10:30:09 +02:00
Michał Górny 9b1ccc14f4 python-utils-r1.eclass: Add a sanity check for PYTHONPATH
Add a sanity check that ensures that PYTHONPATH does not contain any
relative paths.  While at it, also explicitly warn about PYTHONPATH
being set, so we know about it in build logs.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 10:30:08 +02:00
Michał Górny 9411d6eddb distutils-r1.eclass: Fix disabling DISTUTILS_ALLOW_WHEEL_REUSE
Fix the declaration of DISTUTILS_ALLOW_WHEEL_REUSE to allow disabling it
via setting the variable to an empty value in the environment.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 10:29:26 +02:00
Michał Górny 69190f6268 eclass/tests/toolchain-funcs.sh: Cover tc-has-64bit-time_t
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/37142
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 10:29:02 +02:00
Michał Górny 9c0708dcae toolchain-funcs.eclass: Add tc-has-64bit-time_t
Add a helper function to check whether time_t is 64-bit.  This could
be used e.g. to deselect tests that rely on timestamps exceeding Y2k38.
It is meant to be more future-proof than hardcoding a list of 32-bit
architectures, given the necessity of switching to 64-bit time_t
in the future.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 10:29:01 +02:00
Michał Górny f14c9139aa eclass/tests/toolchain-funcs.sh: Cover tc-is-lto
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/37976
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 10:28:53 +02:00
Michał Górny 625574f702 toolchain-funcs.eclass: Fix tc-is-lto not to leave stray files in T
Fix tc-is-lto function to remove the temporary file after testing.
Besides being cleaner, this fixes a permission problem when using
Paludis and tc-is-lto is used both in pkg_setup() (which creates
the temporary file owned by root) and src_*() phase (which attempts
to rewrite it as a regular user).

Thanks to negril for the report!

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 10:28:53 +02:00
Andrew Ammerlaan 4c27efd95d sys-apps/kexec-tools: drop +x on files/kexec-auto-load
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2024-08-06 09:58:28 +02:00
Andrew Ammerlaan 8cb4582e9d sys-apps/kexec-tools: remove broken installkernel hooks
and replace with little wrapper script that reads the latest kernel from the
installkernel log file and uses the usual locations for the cmdline.

Merge /etc/kexec.conf and /etc/conf.d/kexec, both config files are now
basically the same, with the exception of some variables only being used by
the openrc script.

TODO (by someone on OpenRC): adapt the openrc init script so it also reads
the installkernel.log.

Closes: https://bugs.gentoo.org/585658
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/37742
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
2024-08-06 09:32:27 +02:00
Sam James 550b4c4a4a dev-build/cmake: add 3.30.2
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 08:27:44 +01:00
Joonas Niilola 17708d8bfc www-client/firefox-bin: sync 129.0 with ebuild enhancements
- add tons of MOZ_ESR conditions to determine whether it's a rapid or an esr
   release.

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-08-06 09:38:36 +03:00
Joonas Niilola c8c6dc3f2c www-client/firefox-bin: add 128.1.0esr
- sync esr and rapid ebuilds by adding tons of MOZ_ESR conditions to
   determine whether it's a rapid or an esr release.

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-08-06 09:37:23 +03:00
Joonas Niilola d41b62fb58 www-client/firefox-bin: add 115.14.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-08-06 09:03:52 +03:00
Joonas Niilola 522dac6c1b www-client/firefox: add 129.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-08-06 09:03:52 +03:00
Joonas Niilola 08e62705a3 www-client/firefox-bin: add 129.0
- clean the ebuild by removing old information,
 - move 'ffmpeg' use flag to optfeature.

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-08-06 09:03:52 +03:00
Hans de Graaff e4871777d7 dev-util/cucumber-rails: enable ruby33
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2024-08-06 07:51:01 +02:00
Hans de Graaff b543c5d081 dev-ruby/database_cleaner-core: enable ruby33
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2024-08-06 07:51:01 +02:00
Michał Górny f62563d459 package.mask: Last rite dev-libs/{libappindicator,libindicator}
Bug: https://bugs.gentoo.org/936881
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 07:35:51 +02:00
Viorel Munteanu db26bc6649 app-misc/fastfetch: sync live ebuilds
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-08-06 08:01:12 +03:00
Viorel Munteanu 52ba86b891 app-misc/fastfetch: add 2.21.0
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-08-06 08:01:12 +03:00
Viorel Munteanu 66b377b641 app-misc/fastfetch: drop 2.16.0
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-08-06 08:01:12 +03:00
Michał Górny 10fa9d9b73 dev-python/sqlalchemy: Bump to 2.0.32
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:46:15 +02:00
Michał Górny f11d0c66b3 dev-python/myst-parser: Bump to 4.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:44:04 +02:00
Michał Górny c3941a4e70 dev-python/sqlglot: Bump to 25.9.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:44:04 +02:00
Michał Górny 778bef1ef1 dev-python/pydantic-core: Bump to 2.21.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:44:03 +02:00
Michał Górny 25d11bdd70 dev-python/cfn-lint: Bump to 1.9.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:44:02 +02:00
Michał Górny 8429d86abc dev-python/simsimd: Bump to 5.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:44:01 +02:00
Michał Górny 6e999b28b5 dev-python/ftfy: Bump to 6.2.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:44:00 +02:00
Michał Górny 028e3be7b9 dev-python/types-setuptools: Bump to 71.1.0.20240806
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:44:00 +02:00
Michał Górny 45bf81988d dev-python/cython: Bump to 3.0.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:43:59 +02:00
Michał Górny d20193ee3e dev-python/tox: Bump to 4.17.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 06:43:58 +02:00
Michał Górny 41a6457056 app-admin/awscli: Bump to 1.33.36
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 05:44:29 +02:00
Michał Górny 7628f8918f dev-python/boto3: Bump to 1.34.154
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 05:44:02 +02:00
Michał Górny 27e5681bb1 dev-python/botocore: Bump to 1.34.154
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 05:43:49 +02:00
Michał Górny f3a7206ab4 dev-python/hypothesis: Bump to 6.108.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-08-06 05:43:21 +02:00
Sam James 864285754c sci-astronomy/siril: Stabilize 1.2.3 amd64, #937409
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:07 +01:00
Sam James 26c406e83f dev-texlive/texlive-pictures: Stabilize 2023_p69409-r3 arm64, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:06 +01:00
Sam James 9d8951b8a0 dev-texlive/texlive-context: Stabilize 2023_p69108-r4 arm64, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:05 +01:00
Sam James fd4fff2f05 app-text/epspdf: Stabilize 0.6.5.1 arm64, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:04 +01:00
Sam James 3a132385b8 dev-texlive/texlive-binextra: Stabilize 2023_p69527-r5 arm64, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:04 +01:00
Sam James 9f46ba99c7 app-text/pdfjam: Stabilize 3.10-r1 arm64, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:03 +01:00
Sam James 8a245b6e70 app-text/texlive-core: Stabilize 2023-r10 arm64, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:02 +01:00
Sam James 94d76205e1 dev-texlive/texlive-pictures: Stabilize 2023_p69409-r3 ppc, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:01 +01:00
Sam James 59fb3eecc1 dev-texlive/texlive-context: Stabilize 2023_p69108-r4 ppc, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:00 +01:00
Sam James 51b47a83d3 app-text/epspdf: Stabilize 0.6.5.1 ppc, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:46:00 +01:00
Sam James 5842337cc1 dev-texlive/texlive-binextra: Stabilize 2023_p69527-r5 ppc, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:45:59 +01:00
Sam James eead87bca3 app-text/pdfjam: Stabilize 3.10-r1 ppc, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:45:58 +01:00
Sam James 4982734382 app-text/texlive-core: Stabilize 2023-r10 ppc, #937396
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:45:57 +01:00
Sam James a5e2e06c00 dev-util/re2c: Stabilize 3.1 arm64, #937346
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-06 02:45:56 +01:00