From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 09 May 2022 14:06:56 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1no2AC-00774V-3Y for lore@lore.pengutronix.de; Mon, 09 May 2022 14:06:56 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1no2AB-0005zd-Bk; Mon, 09 May 2022 14:06:55 +0200 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1no29U-0005aP-H6 for ptxdist@pengutronix.de; Mon, 09 May 2022 14:06:13 +0200 Received: by mail-ed1-x52d.google.com with SMTP id p18so15998408edr.7 for ; Mon, 09 May 2022 05:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YrpRQesmf1kVXUBpQ1w24J89TBqjhhZaLTLiwv3+Pac=; b=d/4hEKYe3zdkOHbQ9I84fjR1M0scIF2ZKoNZCQMziRf6Iru/R52d+h4C4QNuMN0JKF ewhm+3rtvHP4RgMQJezPsqZqjaHeB9UPJJaC1E4SdA1EdXV13uexs0VKl1njEiVru9bk +NcCv0mOWwGR8nVRHvfnNaqvIzxeV2fiMjF5t8fL0rGEdpjINOFsdOykaKNSpzuWqMLv cRQJC/naU9ehpbL/aTdln4y78hBSnlxA7fVl5P4spuKqOy0871G+VWa0QBQ6fuesdJGY BtEKK5F1+odmxI12Efz0aIjAyvVN32RCZVdOOxFdc42cv7P9b/8uVPzx8EL7VwjzCjkj ggWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YrpRQesmf1kVXUBpQ1w24J89TBqjhhZaLTLiwv3+Pac=; b=ADSPGCybdrauOKY17kGCeHvOq54JR9oCNc9LJTZIdoEqjLM/ajE9ZYgB1EApt2rM35 IjgsCe/JwL8BKO0SqQvv5nyUXrJgM3OmoFwuhF+YqMjY2ai1GTINPJ9qYzRuchegt0VZ 4CV1qS5GdQQ5wHsZjYC/01MvcdkUMUgw3zlcXytPrO2P0ZeU7lD5EdhHVeuBqS3VjFiw ML4OBvQf6igCJXEpZLelIMdamu2qBOCm4SybxSMc/2HqWEV9bQZwPlrpMXZ3onPp+ONb oWtEcxreKPYA1Xha2vkM0o7eq7sSGkSNzrJaKzNfHHsrFXoBbRxrvkU6BV8m82Z9w5PE D3Ug== X-Gm-Message-State: AOAM5319lw8wmkvHWFn5GS+JM84k/D+ionEulXJRQn6Dmiq8hY8+olaS bDAJE3e0Pidj0jX9zXzZsoiwAI2PJ8w= X-Google-Smtp-Source: ABdhPJz5+MNK5J8MqAvbyUR7+1tCPxHMp0erhukJfpChc1wL/rrxaYJIPC3fQl0Xj9b7TW4cYtXuCA== X-Received: by 2002:a50:fa94:0:b0:425:e8ac:3fb4 with SMTP id w20-20020a50fa94000000b00425e8ac3fb4mr16993209edr.43.1652097971558; Mon, 09 May 2022 05:06:11 -0700 (PDT) Received: from localhost.localdomain (3e6b100e.rev.stofanet.dk. [62.107.16.14]) by smtp.gmail.com with ESMTPSA id v16-20020a17090690d000b006f3ef214da8sm5042244ejw.14.2022.05.09.05.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 05:06:11 -0700 (PDT) From: Bruno Thomsen To: ptxdist@pengutronix.de Date: Mon, 9 May 2022 14:05:48 +0200 Message-Id: <20220509120548.4509-2-bruno.thomsen@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220509120548.4509-1-bruno.thomsen@gmail.com> References: <20220509120548.4509-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH 2/2] python3-falcon: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bruno Thomsen Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false The Falcon Web Framework. Signed-off-by: Bruno Thomsen --- rules/python3-falcon.in | 12 +++++++++ rules/python3-falcon.make | 54 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 rules/python3-falcon.in create mode 100644 rules/python3-falcon.make diff --git a/rules/python3-falcon.in b/rules/python3-falcon.in new file mode 100644 index 000000000..eac42244e --- /dev/null +++ b/rules/python3-falcon.in @@ -0,0 +1,12 @@ +## SECTION=python3 + +config PYTHON3_FALCON + bool + select PYTHON3 + select PYTHON3_GUNICORN + prompt "falcon" + help + The Falcon Web Framework. + Falcon is a minimalist ASGI/WSGI framework for building + mission-critical REST APIs and microservices, with a focus + on reliability, correctness, and performance at scale. diff --git a/rules/python3-falcon.make b/rules/python3-falcon.make new file mode 100644 index 000000000..edab04a43 --- /dev/null +++ b/rules/python3-falcon.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2022 by Bruno Thomsen +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_FALCON) += python3-falcon + +# +# Paths and names +# +PYTHON3_FALCON_VERSION := 3.1.0 +PYTHON3_FALCON_MD5 := c9a1081d1af6df4c5d11843238dbb27b +PYTHON3_FALCON := falcon-$(PYTHON3_FALCON_VERSION) +PYTHON3_FALCON_SUFFIX := tar.gz +PYTHON3_FALCON_URL := $(call ptx/mirror-pypi, falcon, $(PYTHON3_FALCON).$(PYTHON3_FALCON_SUFFIX)) +PYTHON3_FALCON_SOURCE := $(SRCDIR)/$(PYTHON3_FALCON).$(PYTHON3_FALCON_SUFFIX) +PYTHON3_FALCON_DIR := $(BUILDDIR)/$(PYTHON3_FALCON) +PYTHON3_FALCON_LICENSE := Apache-2.0 +PYTHON3_FALCON_LICENSE_FILES := \ + file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_FALCON_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-falcon.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-falcon) + @$(call install_fixup, python3-falcon,PRIORITY,optional) + @$(call install_fixup, python3-falcon,SECTION,base) + @$(call install_fixup, python3-falcon,AUTHOR,"Bruno Thomsen ") + @$(call install_fixup, python3-falcon,DESCRIPTION,missing) + + @$(call install_glob, python3-falcon, 0, 0, -, \ + $(PYTHON3_SITEPACKAGES),, *.py) + + @$(call install_finish, python3-falcon) + + @$(call touch) + +# vim: syntax=make -- 2.35.1