* [ptxdist] [PATCH v3 1/2] python3-gunicorn: new package
@ 2022-05-19 16:25 Bruno Thomsen
2022-05-19 16:25 ` [ptxdist] [PATCH v3 2/2] python3-falcon: " Bruno Thomsen
2022-05-25 9:45 ` [ptxdist] [APPLIED] python3-gunicorn: " Michael Olbrich
0 siblings, 2 replies; 4+ messages in thread
From: Bruno Thomsen @ 2022-05-19 16:25 UTC (permalink / raw)
To: ptxdist; +Cc: Bruno Thomsen
Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.
Requirement for python3-falcon package.
Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
v3 changes:
None.
v2 changes:
Upstream release was changed without version bump to fix egg packaging.
Hash change was spotted by mol.
rules/python3-gunicorn.in | 11 +++++++
rules/python3-gunicorn.make | 57 +++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
create mode 100644 rules/python3-gunicorn.in
create mode 100644 rules/python3-gunicorn.make
diff --git a/rules/python3-gunicorn.in b/rules/python3-gunicorn.in
new file mode 100644
index 000000000000..d010ea9002bd
--- /dev/null
+++ b/rules/python3-gunicorn.in
@@ -0,0 +1,11 @@
+## SECTION=python3
+
+config PYTHON3_GUNICORN
+ bool
+ select PYTHON3
+ prompt "gunicorn"
+ help
+ Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.
+ It's a pre-fork worker model. The Gunicorn server is broadly
+ compatible with various web frameworks, simply implemented,
+ light on server resources, and fairly speedy.
diff --git a/rules/python3-gunicorn.make b/rules/python3-gunicorn.make
new file mode 100644
index 000000000000..e6959d557a0f
--- /dev/null
+++ b/rules/python3-gunicorn.make
@@ -0,0 +1,57 @@
+# -*-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_GUNICORN) += python3-gunicorn
+
+#
+# Paths and names
+#
+PYTHON3_GUNICORN_VERSION := 20.1.0
+PYTHON3_GUNICORN_MD5 := db8a7c5c2064000af70286534803bf1d
+PYTHON3_GUNICORN := gunicorn-$(PYTHON3_GUNICORN_VERSION)
+PYTHON3_GUNICORN_SUFFIX := tar.gz
+PYTHON3_GUNICORN_URL := $(call ptx/mirror-pypi, gunicorn, $(PYTHON3_GUNICORN).$(PYTHON3_GUNICORN_SUFFIX))
+PYTHON3_GUNICORN_SOURCE := $(SRCDIR)/$(PYTHON3_GUNICORN).$(PYTHON3_GUNICORN_SUFFIX)
+PYTHON3_GUNICORN_DIR := $(BUILDDIR)/$(PYTHON3_GUNICORN)
+PYTHON3_GUNICORN_LICENSE := MIT
+PYTHON3_GUNICORN_LICENSE_FILES := \
+ file://LICENSE;md5=f75f3fb94cdeab1d607e2adaa6077752
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_GUNICORN_CONF_TOOL := python3
+PYTHON3_GUNICORN_MAKE_OPT := install_scripts
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-gunicorn.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-gunicorn)
+ @$(call install_fixup, python3-gunicorn,PRIORITY,optional)
+ @$(call install_fixup, python3-gunicorn,SECTION,base)
+ @$(call install_fixup, python3-gunicorn,AUTHOR,"Bruno Thomsen <bruno.thomsen@gmail.com>")
+ @$(call install_fixup, python3-gunicorn,DESCRIPTION,missing)
+
+ @$(call install_glob, python3-gunicorn, 0, 0, -, \
+ $(PYTHON3_SITEPACKAGES),, *.py)
+
+ @$(call install_copy, python3-gunicorn, 0, 0, 0775, -, /usr/bin/gunicorn)
+
+ @$(call install_finish, python3-gunicorn)
+
+ @$(call touch)
+
+# vim: syntax=make
base-commit: e66dc8546cc32f828c290fea029cffce5b1157d9
--
2.35.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ptxdist] [PATCH v3 2/2] python3-falcon: new package
2022-05-19 16:25 [ptxdist] [PATCH v3 1/2] python3-gunicorn: new package Bruno Thomsen
@ 2022-05-19 16:25 ` Bruno Thomsen
2022-05-25 9:45 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-05-25 9:45 ` [ptxdist] [APPLIED] python3-gunicorn: " Michael Olbrich
1 sibling, 1 reply; 4+ messages in thread
From: Bruno Thomsen @ 2022-05-19 16:25 UTC (permalink / raw)
To: ptxdist; +Cc: Bruno Thomsen
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] python3-gunicorn: new package
2022-05-19 16:25 [ptxdist] [PATCH v3 1/2] python3-gunicorn: new package Bruno Thomsen
2022-05-19 16:25 ` [ptxdist] [PATCH v3 2/2] python3-falcon: " Bruno Thomsen
@ 2022-05-25 9:45 ` Michael Olbrich
1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2022-05-25 9:45 UTC (permalink / raw)
To: ptxdist; +Cc: Bruno Thomsen
Thanks, applied as 07f0a40eed27885e78c450db77659d31731d3122.
Michael
[sent from post-receive hook]
On Wed, 25 May 2022 11:45:39 +0200, Bruno Thomsen <bruno.thomsen@gmail.com> wrote:
> Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.
>
> Requirement for python3-falcon package.
>
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> Message-Id: <20220519162506.6045-1-bruno.thomsen@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-gunicorn.in b/rules/python3-gunicorn.in
> new file mode 100644
> index 000000000000..d010ea9002bd
> --- /dev/null
> +++ b/rules/python3-gunicorn.in
> @@ -0,0 +1,11 @@
> +## SECTION=python3
> +
> +config PYTHON3_GUNICORN
> + bool
> + select PYTHON3
> + prompt "gunicorn"
> + help
> + Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.
> + It's a pre-fork worker model. The Gunicorn server is broadly
> + compatible with various web frameworks, simply implemented,
> + light on server resources, and fairly speedy.
> diff --git a/rules/python3-gunicorn.make b/rules/python3-gunicorn.make
> new file mode 100644
> index 000000000000..e6959d557a0f
> --- /dev/null
> +++ b/rules/python3-gunicorn.make
> @@ -0,0 +1,57 @@
> +# -*-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_GUNICORN) += python3-gunicorn
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_GUNICORN_VERSION := 20.1.0
> +PYTHON3_GUNICORN_MD5 := db8a7c5c2064000af70286534803bf1d
> +PYTHON3_GUNICORN := gunicorn-$(PYTHON3_GUNICORN_VERSION)
> +PYTHON3_GUNICORN_SUFFIX := tar.gz
> +PYTHON3_GUNICORN_URL := $(call ptx/mirror-pypi, gunicorn, $(PYTHON3_GUNICORN).$(PYTHON3_GUNICORN_SUFFIX))
> +PYTHON3_GUNICORN_SOURCE := $(SRCDIR)/$(PYTHON3_GUNICORN).$(PYTHON3_GUNICORN_SUFFIX)
> +PYTHON3_GUNICORN_DIR := $(BUILDDIR)/$(PYTHON3_GUNICORN)
> +PYTHON3_GUNICORN_LICENSE := MIT
> +PYTHON3_GUNICORN_LICENSE_FILES := \
> + file://LICENSE;md5=f75f3fb94cdeab1d607e2adaa6077752
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_GUNICORN_CONF_TOOL := python3
> +PYTHON3_GUNICORN_MAKE_OPT := install_scripts
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-gunicorn.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, python3-gunicorn)
> + @$(call install_fixup, python3-gunicorn,PRIORITY,optional)
> + @$(call install_fixup, python3-gunicorn,SECTION,base)
> + @$(call install_fixup, python3-gunicorn,AUTHOR,"Bruno Thomsen <bruno.thomsen@gmail.com>")
> + @$(call install_fixup, python3-gunicorn,DESCRIPTION,missing)
> +
> + @$(call install_glob, python3-gunicorn, 0, 0, -, \
> + $(PYTHON3_SITEPACKAGES),, *.py)
> +
> + @$(call install_copy, python3-gunicorn, 0, 0, 0775, -, /usr/bin/gunicorn)
> +
> + @$(call install_finish, python3-gunicorn)
> +
> + @$(call touch)
> +
> +# vim: syntax=make
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] [APPLIED] python3-falcon: new package
2022-05-19 16:25 ` [ptxdist] [PATCH v3 2/2] python3-falcon: " Bruno Thomsen
@ 2022-05-25 9:45 ` Michael Olbrich
0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2022-05-25 9:45 UTC (permalink / raw)
To: ptxdist; +Cc: Bruno Thomsen
Thanks, applied as c1e1dbf375897ede438815e8b24f7a98f5bc5955.
Michael
[sent from post-receive hook]
On Wed, 25 May 2022 11:45:40 +0200, Bruno Thomsen <bruno.thomsen@gmail.com> wrote:
> The Falcon Web Framework.
>
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> Message-Id: <20220519162506.6045-2-bruno.thomsen@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-25 9:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-19 16:25 [ptxdist] [PATCH v3 1/2] python3-gunicorn: new package Bruno Thomsen
2022-05-19 16:25 ` [ptxdist] [PATCH v3 2/2] python3-falcon: " Bruno Thomsen
2022-05-25 9:45 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-05-25 9:45 ` [ptxdist] [APPLIED] python3-gunicorn: " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox