[V4,0/5] Extend cargo based recipe support

Message ID cover.1680103647.git.frederic.martinsons@gmail.com
State Not Applicable, archived
Headers show


https://gitlab.com/fmartinsons/openembedded-core cargo-extend-support-git-and-devtool


Frédéric Martinsons March 29, 2023, 3:30 p.m. UTC
From: Frederic Martinsons <frederic.martinsons@gmail.com>

This series brings the support of local git repository inside
a cargo based recipe.

It also enables devtool capacity to such a recipe along with
an example of recipe and a new selftest case.

The following changes since commit fd70a564d6946fa460638dd04ce2daecf4566cf3:

  oeqa/selftest/reproducible: Split different packages from missing packages output (2023-03-28 22:28:42 +0100)

are available in the Git repository at:

  https://gitlab.com/fmartinsons/openembedded-core cargo-extend-support-git-and-devtool

Alex Kiernan (1):
  cargo_common.bbclass: Support local github repos

Frederic Martinsons (4):
  cargo_common.bbclass: add support of user in url for patch
  devtool: add support for multiple git url inside a cargo based recipe
  patch: support of git patches when the source uri contained subpath
  meta-selftest: provide a recipe for zvariant

 .../zvariant/zvariant-crates.inc              |  140 ++
 .../0001-Tweak-zvariant-crate-config.patch    | 1292 +++++++++++++++++
 .../zvariant/zvariant_3.12.0.bb               |   26 +
 meta/classes-recipe/cargo_common.bbclass      |   33 +
 meta/classes/externalsrc.bbclass              |    4 +-
 meta/lib/oe/patch.py                          |   57 +-
 meta/lib/oeqa/selftest/cases/devtool.py       |   93 ++
 7 files changed, 1629 insertions(+), 16 deletions(-)
 create mode 100644 meta-selftest/recipes-extended/zvariant/zvariant-crates.inc
 create mode 100644 meta-selftest/recipes-extended/zvariant/zvariant/0001-Tweak-zvariant-crate-config.patch
 create mode 100644 meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb