From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 13 May 2022 09:16:03 +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 1npPWt-00Bi32-HA for lore@lore.pengutronix.de; Fri, 13 May 2022 09:16:03 +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 1npPWs-0004lC-QX; Fri, 13 May 2022 09:16:02 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1npPWH-0004kl-81; Fri, 13 May 2022 09:15:25 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1npPWH-0022Mm-PK; Fri, 13 May 2022 09:15:24 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1npPWF-00EuP3-Ig; Fri, 13 May 2022 09:15:23 +0200 Date: Fri, 13 May 2022 09:15:23 +0200 From: Michael Olbrich To: Bruno Thomsen Message-ID: Mail-Followup-To: Bruno Thomsen , ptxdist@pengutronix.de References: <20220509120548.4509-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220509120548.4509-1-bruno.thomsen@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH 1/2] python3-gunicorn: 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: ptxdist@pengutronix.de 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 On Mon, May 09, 2022 at 02:05:47PM +0200, Bruno Thomsen wrote: > Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. > > Requirement for python3-falcon package. > > Signed-off-by: Bruno Thomsen > --- > 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 000000000..d010ea900 > --- /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 000000000..a37aa8f04 > --- /dev/null > +++ b/rules/python3-gunicorn.make > @@ -0,0 +1,57 @@ > +# -*-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_GUNICORN) += python3-gunicorn > + > +# > +# Paths and names > +# > +PYTHON3_GUNICORN_VERSION := 20.1.0 > +PYTHON3_GUNICORN_MD5 := ac6254576d53c2ede3456561af3f0549 ptxdist: error: Wrong md5sum for 'python3-gunicorn' (.../src/gunicorn-20.1.0.tar.gz) What's going on here? Michael > +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 ") > + @$(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: 0b3d1b74a16d1c8d47e1bb5ac2f34f3def01aeac > -- > 2.35.1 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |