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 8D318C61DA4 for ; Sun, 19 Feb 2023 14:53:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 232E784D2D; Sun, 19 Feb 2023 15:53:19 +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="IgRX4X8H"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4DF46854C8; Sun, 19 Feb 2023 15:52:37 +0100 (CET) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 55B9585778 for ; Sun, 19 Feb 2023 15:51:52 +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-io1-xd2a.google.com with SMTP id d68so285997iof.9 for ; Sun, 19 Feb 2023 06:51: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=OhkzoJhKoSEBrOGTyESQwkvfyC3mZiv5S+26t9bFyvI=; b=IgRX4X8HTy7AdBOMQY0G1kGHooaESTEBbW/IHFnSP4d3Us3ys1RR2cdmVYbWF6jTer 4y8pypc/nbznqnIaaJq7af/V+/+144wZMLReD1kGbtwMfjR5thyXrufiCI2WE+AanAFU K5zUGeEKAgedLcMQoUQwW7vUv4cKFET05a3Ao= 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=OhkzoJhKoSEBrOGTyESQwkvfyC3mZiv5S+26t9bFyvI=; b=6v3X0M/vS6hlzZ7rSuMO8zSmd5FxMHiXA5qNHWirUuxZ+tMK7ZR6jt2aORF3fZa/dL 5E1aUbcz/aZICt4GACN7oLtB5W2UoIezHUxZucFqSrXUzTHskvHA/OmYmBbYDsZnw/oZ 3ATl4fCLlVeqdYNCT17I1YSXmfFWisSjL/HNOWoRfzzzdSdProxSQnbJTFnR89zOa4r5 HQ3RbOvsX4ZSM2uGlvk+JYDMDQoDV3zvoQ1hfNDiLo5jk7epzifLMXxOyHhCLv4REIgL QqWQSx2zcTvvrsxSkGWgycB0mzIq1ToxtxeOnjBvBrkyCm6ZlKTdiauLyBeOxTgeVYhv AJAA== X-Gm-Message-State: AO0yUKWoTBUR7eS8FBZqBFN/nKO/eeEXUi34oVQ5epPwbU7QaEI++oXJ yn5nnm+K/92E/fG0hr8JIe4Yc44msfHLtqOg X-Google-Smtp-Source: AK7set/GCGDoGcbAh1NCQAen2opEoBI4bCbp8bJnPaR6FBbRtFO0xj13DHbmI8HxslZ8CZy0nVy+Qw== X-Received: by 2002:a6b:a02:0:b0:714:9337:6b6b with SMTP id z2-20020a6b0a02000000b0071493376b6bmr5231911ioi.3.1676818311801; Sun, 19 Feb 2023 06:51: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 c84-20020a6bb357000000b0071c66d1a2fcsm3444772iof.0.2023.02.19.06.51.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Feb 2023 06:51:51 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Alper Nebi Yasak , Neha Malcom Francis , Stefan Herbrechtsmeier , Philippe Reynes , Peng Fan , Simon Glass , =?UTF-8?q?Marek=20Beh=C3=BAn?= , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Quentin Schulz Subject: [PATCH 08/15] patman: Add support for building a patmanu PyPi package Date: Sun, 19 Feb 2023 07:51:16 -0700 Message-Id: <20230219145124.1782335-9-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230219145124.1782335-1-sjg@chromium.org> References: <20230219145124.1782335-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 --- Makefile | 1 + tools/patmanu/pyproject.toml | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 tools/patmanu/pyproject.toml diff --git a/Makefile b/Makefile index 9f008dea0ec..afa6a7eb127 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 patmanu ${PIP_ARGS} help: @echo 'Cleaning targets:' diff --git a/tools/patmanu/pyproject.toml b/tools/patmanu/pyproject.toml new file mode 100644 index 00000000000..5e9b47b1b4c --- /dev/null +++ b/tools/patmanu/pyproject.toml @@ -0,0 +1,29 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "patmanu" +version = "0.0.1" +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 = "patmanu.__main__:run_patman" + +[tool.setuptools.package-data] +patmanu = ["*.rst"] -- 2.39.2.637.g21b0678d19-goog