Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AA996C6379F for ; Fri, 24 Feb 2023 01:19:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1935C85B10; Fri, 24 Feb 2023 02:19:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="RSBSe6ar"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3A2DA85AE9; Fri, 24 Feb 2023 02:19:05 +0100 (CET) Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 04F3985B16 for ; Fri, 24 Feb 2023 02:18:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x131.google.com with SMTP id e10so6530908ilu.4 for ; Thu, 23 Feb 2023 17:18:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XpgnDNfWj6CsOlk6QhDzGZmT59Ru6Cz4Vp1nlL0jq9g=; b=RSBSe6arwCM9Cltn0ptdOGoo1eXveddk8WQ9kWjvdqY8Jmo9U1osXI0l6G9swxVy0M Lb/s9FeJy80Y/PgtI98inJd4TFdT9bAU2RzaZORWOL0/C7siIJjc2qG/woYK8/UO3Oo6 puBubmcIu9ukkZ6gzqlTNBs1iRVmx+esdwIVM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XpgnDNfWj6CsOlk6QhDzGZmT59Ru6Cz4Vp1nlL0jq9g=; b=S0/Z2hfZ+tQyZ3FTPEsjgpQWWePcfhKrtOOYitnXZjm9lju38j+GjvY1xq6ERMU8AA SXXbaUwYGrxJK385ZjWiMZX0Gw15CKxY+Bt9ocVhPrJonoLiUN+U8OkhxFGQQ8zYVlOR TxBPh24f+HwY+2DxqG1R2lkrTwZtA8T+XVM7Ar0GdACcGRIdwBR9qUZdsTYD+4tM5Yt8 ytx9WflFsq0G/gZ44Q1sGdnD+YhLBR+9X8Cz4ci6JMad9qPCKAYiE9nMpvzHzD1dlsiZ dWjarTENb5TLfXibqkMdME5tfy/cjmeAslbZLueDh6xnDpSb/Pt/oDoQdP7eJTOqIEmq tMxg== X-Gm-Message-State: AO0yUKWqoW8IsTHLrKt01kIUv/V5YW5cVGWXC6Q0KHfy9AmP68VDRXp/ PPPZdDiO2Ls767pa99ZuMAiOSFYoYY32UWXX X-Google-Smtp-Source: AK7set+y8fdaH2uoGShQEX0TlJiZt/AFv1YRYr0qoZcU0W9G5PSevWbFF1wlg5mbcTxH79+59gJFIg== X-Received: by 2002:a05:6e02:214b:b0:315:74be:428b with SMTP id d11-20020a056e02214b00b0031574be428bmr13352014ilv.28.1677201531535; Thu, 23 Feb 2023 17:18:51 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id q3-20020a92d403000000b003127b668eafsm2677214ilm.19.2023.02.23.17.18.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 17:18:51 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Alper Nebi Yasak , Neha Malcom Francis , Stefan Herbrechtsmeier , Philippe Reynes , Peng Fan , Heinrich Schuchardt , Simon Glass , =?UTF-8?q?Marek=20Beh=C3=BAn?= , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Quentin Schulz Subject: [PATCH v2 08/24] patman: Add support for building a patman PyPi package Date: Thu, 23 Feb 2023 18:18:08 -0700 Message-Id: <20230224011824.2111976-9-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230224011824.2111976-1-sjg@chromium.org> References: <20230224011824.2111976-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Create the necessary files to build this new package. Signed-off-by: Simon Glass --- Changes in v2: - Rename the package to patch-manager Makefile | 1 + tools/patman/pyproject.toml | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 tools/patman/pyproject.toml diff --git a/Makefile b/Makefile index 9f008dea0ec..abd8d60a1bb 100644 --- a/Makefile +++ b/Makefile @@ -2282,6 +2282,7 @@ pip pip_test pip_release: _pip _pip: scripts/make_pip.sh u_boot_pylib ${PIP_ARGS} + scripts/make_pip.sh patman ${PIP_ARGS} help: @echo 'Cleaning targets:' diff --git a/tools/patman/pyproject.toml b/tools/patman/pyproject.toml new file mode 100644 index 00000000000..c5dc7c7e276 --- /dev/null +++ b/tools/patman/pyproject.toml @@ -0,0 +1,29 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "patch-manager" +version = "0.0.2" +authors = [ + { name="Simon Glass", email="sjg@chromium.org" }, +] +dependencies = ["u_boot_pylib"] +description = "Patman patch manager" +readme = "README.rst" +requires-python = ">=3.7" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", + "Operating System :: OS Independent", +] + +[project.urls] +"Homepage" = "https://u-boot.readthedocs.io/en/latest/develop/patman.html" +"Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues" + +[project.scripts] +patman = "patman.__main__:run_patman" + +[tool.setuptools.package-data] +patman = ["*.rst"] -- 2.39.2.637.g21b0678d19-goog