public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* How to have multiple rust cargo vendors
@ 2025-10-02 19:40 Tom Geelen
  2025-10-02 20:17 ` [OE-core] " Gyorgy Sarvari
       [not found] ` <186AC5F2410FD5FD.16131@lists.openembedded.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Tom Geelen @ 2025-10-02 19:40 UTC (permalink / raw)
  To: openembedded-core

I'm trying to create a recipe for uv (https://docs.astral.sh/uv/) to
be added to meta-python.
Problem I currently cannot seem to resolve is that I need multiple
cargo vendor support.

I have created the draft recipe and added the inc file with the crates
using the update-crates command.
However it missed several crates as they are not from crates.io but
via git (see below).

How would I add this to the recipe below?

SUMMARY = "An extremely fast Python package and project manager,
written in Rust."
HOMEPAGE = "https://pypi.org/project/uv/"
LICENSE = "Apache-2.0 & BSD-2-Clause & MIT"
LIC_FILES_CHKSUM = "file://LICENSE-APACHE;md5=86d3f3a95c324c9479bd8986968f4327 \
                    file://LICENSE-MIT;md5=45674e482567aa99fe883d3270b11184"
RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"

SRC_URI[sha256sum] =
"e6e1289c411d43e0ca245f46e76457f3807de646d90b656591b6cf46348bed5c"

inherit pypi python_maturin cargo-update-recipe-crates

require ${BPN}-crates.inc

SRCREV = "d8efd77673c9a90792da9da31b6c0da7ea8a324b"

PYPI_PACKAGE = "uv"


[[package]]
name = "version-ranges"
version = "0.1.1"
source = "git+https://github.com/astral-sh/pubgrub?rev=d8efd77673c9a90792da9da31b6c0da7ea8a324b#d8efd77673c9a90792da9da31b6c0da7ea8a324b"
dependencies = [
 "smallvec",
]

Regards,

Tom


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-10-03 21:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-02 19:40 How to have multiple rust cargo vendors Tom Geelen
2025-10-02 20:17 ` [OE-core] " Gyorgy Sarvari
     [not found] ` <186AC5F2410FD5FD.16131@lists.openembedded.org>
2025-10-02 20:33   ` Gyorgy Sarvari
2025-10-02 20:39     ` Tom Geelen
2025-10-03 12:39       ` Gyorgy Sarvari
2025-10-03 19:38         ` Tom Geelen
2025-10-03 21:40           ` Gyorgy Sarvari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox