Initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From b8e84b202cd302a7c99288d3835dc9c63071f8f2 Mon Sep 17 00:00:00 2001
|
||||
From: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
|
||||
Date: Tue, 14 Sep 2021 16:46:51 +0200
|
||||
Subject: [PATCH] python3 shebang
|
||||
|
||||
Yocto does not symlink from python to python3, thus change the shebang from
|
||||
python to python3.
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
|
||||
---
|
||||
repo | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/repo b/repo
|
||||
index b13e34c..205e0e5 100755
|
||||
--- a/repo
|
||||
+++ b/repo
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
# -*- coding:utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2008 The Android Open Source Project
|
||||
--
|
||||
2.33.0
|
||||
@@ -0,0 +1,31 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
# Copyright (C) 2021 iris-GmbH infrared & intelligent sensors
|
||||
|
||||
SUMMARY = "Tool for managing many Git repositories"
|
||||
DESCRIPTION = "Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow."
|
||||
HOMEPAGE = "https://android.googlesource.com/tools/repo"
|
||||
SECTION = "console/utils"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI = "git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \
|
||||
file://0001-python3-shebang.patch \
|
||||
"
|
||||
SRCREV = "c657844efe40b97700c3654989bdbe3a33e409d7"
|
||||
|
||||
MIRRORS += "git://gerrit.googlesource.com/git-repo.git git://github.com/GerritCodeReview/git-repo.git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_configure:prepend() {
|
||||
sed -Ei "s/REPO_REV\s*=\s*('|\")stable('|\")/REPO_REV = '${SRCREV}'/g" ${S}/repo
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -D ${WORKDIR}/git/repo ${D}${bindir}/repo
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} = "python3 git"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user