Go to file
Yann E. MORIN c617ebbc97 package/python-*: fix hashes for cargo-vendored python packages
The recent commits that touched vendoring and hashes, totally missed
the non-native vendored packages, like python packages that contain
rust code, and are thus cargo-vendored.

The issue in this case, is that we need to download the archive as it
is hosted and known to PyPI, but store it locally with our vendoring
suffix. This is inherently conflicting.

Fortunately, the PyPI webserver will ignore the query part of the URL,
so we can request the archive known to PyPI, and append an arbitrary
query, that is automatically constructed with the actual filename we
will use to store it. Basically, an URL for a python package like:
    https://pypi.org.pkg/pkg-hash/pkg-vesion.tar.gz
can be turned into:
    https://pypi.org.pkg/pkg-hash/pkg-vesion.tar.gz?buildroot-path=filename/python-pkg-version-cargo2.tar.gz

This way, we can use out default _SOURCE value, and construct a _SITE
that contains the actual package URL, with an arbtrary query.

NOTE: this is a stop-gap measure, to quickly fix those packages, while
waiting for a generic solution that works in all cases, not just with
PyPI.

NOTE-2: of course, if PyPI changes its policy, and no longer ignored the
query part, this is going to break again. Hence the need for a generic
solution...

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-05-20 22:33:54 +02:00
.github
arch arch: allow riscv32 noMMU configuration 2024-05-12 12:19:18 +02:00
board configs/openblocks_a6_defconfig: add hashes for Linux / headers 2024-05-17 16:35:23 +02:00
boot {boot, package}: update hashes for generated archives 2024-05-09 22:45:11 +02:00
configs configs/openblocks_a6_defconfig: add hashes for Linux / headers 2024-05-17 16:35:23 +02:00
docs docs/website/index.html: refer to Gitlab and lore 2024-05-12 00:17:19 +02:00
fs
linux {linux, linux-headers}: bump 4.19.x / 5.{4, 10, 15}.x / 6.{1, 6, 8}.x series 2024-05-13 22:50:36 +02:00
package package/python-*: fix hashes for cargo-vendored python packages 2024-05-20 22:33:54 +02:00
support support/testing/tests/package/test_python_hid.py: drop unneeded explicit hidapi package 2024-05-12 09:04:48 +02:00
system
toolchain toolchain/toolchain-external/toolchain-external-custom: add gcc 14 version selection 2024-05-17 22:00:35 +02:00
utils
.checkpackageignore configs/openblocks_a6_defconfig: add hashes for Linux / headers 2024-05-17 16:35:23 +02:00
.clang-format
.defconfig
.editorconfig
.flake8
.gitignore
.gitlab-ci.yml
.shellcheckrc
CHANGES
Config.in Config.in: require host gcc of at least 8 2024-05-10 22:55:45 +02:00
Config.in.legacy package/gcc: remove version 11.x 2024-05-11 22:50:01 +02:00
COPYING
DEVELOPERS package/quota: Update DEVELOPERS address 2024-05-17 17:38:26 +02:00
Makefile
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on OFTC IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches