From: Matt Madison <matt@madison.systems>
To: openembedded-core@lists.openembedded.org
Cc: Joshua Watt <jpewhacker@gmail.com>, Matt Madison <matt@madison.systems>
Subject: [OE-core][PATCH 4/4] classes: remove crate-fetch.bbclass
Date: Fri, 17 Dec 2021 07:36:30 -0800 [thread overview]
Message-ID: <20211217153630.1746217-5-matt@madison.systems> (raw)
In-Reply-To: <20211217153630.1746217-1-matt@madison.systems>
No longer required now that the crate fetcher
gets installed via OE_IMPORTS.
Signed-off-by: Matt Madison <matt@madison.systems>
---
meta/classes/crate-fetch.bbclass | 28 ----------------------------
1 file changed, 28 deletions(-)
delete mode 100644 meta/classes/crate-fetch.bbclass
diff --git a/meta/classes/crate-fetch.bbclass b/meta/classes/crate-fetch.bbclass
deleted file mode 100644
index a7fa22b2a0..0000000000
--- a/meta/classes/crate-fetch.bbclass
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# crate-fetch class
-#
-# Registers 'crate' method for Bitbake fetch2.
-#
-# Adds support for following format in recipe SRC_URI:
-# crate://<packagename>/<version>
-#
-
-def import_crate(d):
- import crate
- if not getattr(crate, 'imported', False):
- bb.fetch2.methods.append(crate.Crate())
- crate.imported = True
-
-python crate_import_handler() {
- import_crate(d)
-}
-
-addhandler crate_import_handler
-crate_import_handler[eventmask] = "bb.event.RecipePreFinalise"
-
-def crate_get_srcrev(d):
- import_crate(d)
- return bb.fetch2.get_srcrev(d)
-
-# Override SRCPV to make sure it imports the fetcher first
-SRCPV = "${@crate_get_srcrev(d)}"
--
2.32.0
next prev parent reply other threads:[~2021-12-17 15:37 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-17 15:36 [OE-core][PATCH 0/4] Move crate fetcher to OE_IMPORTS Matt Madison
2021-12-17 15:36 ` [OE-core][PATCH 1/4] lib/crate.py: install crate fetcher on import Matt Madison
2021-12-17 15:36 ` [OE-core][PATCH 2/4] base.bbclass: add crate to OE_IMPORTS Matt Madison
2021-12-17 16:37 ` Alexander Kanavin
2021-12-20 15:34 ` Matt Madison
2021-12-17 15:36 ` [OE-core][PATCH 3/4] cargo_common.bbclass: remove inherit of crate-fetch Matt Madison
2021-12-17 15:36 ` Matt Madison [this message]
2021-12-20 17:01 ` [OE-core][PATCH 0/4] Move crate fetcher to OE_IMPORTS Paul Barker
2021-12-20 22:34 ` Richard Purdie
2021-12-21 14:07 ` Paul Barker
2021-12-21 18:14 ` Matt Madison
[not found] ` <16C2D7CF44733347.22520@lists.openembedded.org>
2022-01-14 10:31 ` Matt Madison
2022-01-14 13:17 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211217153630.1746217-5-matt@madison.systems \
--to=matt@madison.systems \
--cc=jpewhacker@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox