From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
Subject: [ptxdist] [PATCH 2/2] python3-falcon: new package
Date: Mon, 9 May 2022 14:05:48 +0200 [thread overview]
Message-ID: <20220509120548.4509-2-bruno.thomsen@gmail.com> (raw)
In-Reply-To: <20220509120548.4509-1-bruno.thomsen@gmail.com>
The Falcon Web Framework.
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
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 <bruno.thomsen@gmail.com>
+#
+# 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 <bruno.thomsen@gmail.com>")
+ @$(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
next prev parent reply other threads:[~2022-05-09 12:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-09 12:05 [ptxdist] [PATCH 1/2] python3-gunicorn: " Bruno Thomsen
2022-05-09 12:05 ` Bruno Thomsen [this message]
2022-05-13 7:15 ` Michael Olbrich
2022-05-14 10:50 ` Bruno Thomsen
2022-05-18 13:47 ` Michael Olbrich
2022-05-19 16:24 ` Bruno Thomsen
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=20220509120548.4509-2-bruno.thomsen@gmail.com \
--to=bruno.thomsen@gmail.com \
--cc=ptxdist@pengutronix.de \
/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