mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
Subject: [ptxdist] [PATCH v3 2/2] python3-falcon: new package
Date: Thu, 19 May 2022 18:25:06 +0200	[thread overview]
Message-ID: <20220519162506.6045-2-bruno.thomsen@gmail.com> (raw)
In-Reply-To: <20220519162506.6045-1-bruno.thomsen@gmail.com>

The Falcon Web Framework.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
v3 changes:
Upstream release was changed without version bump to fix egg packaging,
and some documentation / CI changes. 
Hash change was spotted by mol.

v2 changes:
None.

 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 000000000000..eac42244edab
--- /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 000000000000..ee81c6c02f6a
--- /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		:= 0172450908573a4449a5937810d512b9
+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.3




  reply	other threads:[~2022-05-19 16:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19 16:25 [ptxdist] [PATCH v3 1/2] python3-gunicorn: " Bruno Thomsen
2022-05-19 16:25 ` Bruno Thomsen [this message]
2022-05-25  9:45   ` [ptxdist] [APPLIED] python3-falcon: " Michael Olbrich
2022-05-25  9:45 ` [ptxdist] [APPLIED] python3-gunicorn: " Michael Olbrich

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=20220519162506.6045-2-bruno.thomsen@gmail.com \
    --to=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    --subject='Re: [ptxdist] [PATCH v3 2/2] python3-falcon: new package' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox