From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 09 May 2022 14:06:43 +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 1no29z-00773x-KH for lore@lore.pengutronix.de; Mon, 09 May 2022 14:06:43 +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 1no29y-0005ZP-N8; Mon, 09 May 2022 14:06:42 +0200 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1no29R-0005Wo-2k for ptxdist@pengutronix.de; Mon, 09 May 2022 14:06:09 +0200 Received: by mail-ed1-x52a.google.com with SMTP id z19so16015056edx.9 for ; Mon, 09 May 2022 05:06:09 -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:mime-version :content-transfer-encoding; bh=TCl1S4FISAG3wt8zGcfxf2eZdimN77h9vrDAtyRdk/8=; b=ehGmXtgvUf8QU4uWJTJqnaimKb22lLod4iRMuldvE3SnzyQI9uVU7Og9JsYlzdnmLg sKg2qXKJsbdDOhW34iN9hdXrWs1aGHXficeFz0Qr4T2BnFj2xPUUutWXWk7ZIXmWF7xO T1eoJJMXwfy9mfyRpM8bENrIpuhKe5tOohTZ+vxM0i1nkeuUVy+CWPEIGOAGHzl0hVtw XM3XuOL1A27DyymiW4QYDlwtZlgoXy2lrayHPzam+ltZYPG/g9JozTu2m+Vbn6e6VR4i xXaQiX69jxDSrdEMeAWXDcJnEgVCOafGAUBWTSSotCIA0xsGm6DsN0B0VRnC/n/eGNO9 x0kg== 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:mime-version :content-transfer-encoding; bh=TCl1S4FISAG3wt8zGcfxf2eZdimN77h9vrDAtyRdk/8=; b=ywxmXIGxRtHBxXwO6IUdwhz7ly+T3RQ4XIH9pKlsE3JYFvwvk0CEijPi1KtAJtwkgB pN5mt5reXmoB464VBUmnWenI3GG4aFEFC9SvEvZFdio1/RSJEpcuoe8amHgmW31y3hJC 7jFikZlx+ySkB5x6/I7BE4h1cOSGe7VS8RIWe3iRZ+xehPYU6AksCL1KE7Rp4rakZntr qbwe6O/3LcybvMkIO8lgcZjwfCaPs6lBTLBAVkPPiNP2JCyu3RyZkV/YSfj2pvCu6bE4 ONoXLfI3LzSIY8F2h4yzUvGCMt+EylBYVLNTYZlOXgokqEn4KYM06OUgDUyZKep/vkTR PeQQ== X-Gm-Message-State: AOAM5335Rpu0pw0Ee9jLtJyIZfcUT0jo2efEVJIr26XyK8J7Ik2HJX4/ ZW9ZuI9Ag7Nkh2WSEcv0MVRtkUkLgS8= X-Google-Smtp-Source: ABdhPJzAg5hegf6PALMyFyguUIoSA/AtoDRTkJ/yQyTaMVAgw6h/qmzRPd6bBLWpkTenOgg6gPsZuw== X-Received: by 2002:a05:6402:e99:b0:41d:11f2:85e0 with SMTP id h25-20020a0564020e9900b0041d11f285e0mr16791124eda.339.1652097968031; Mon, 09 May 2022 05:06:08 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 05:06:07 -0700 (PDT) From: Bruno Thomsen To: ptxdist@pengutronix.de Date: Mon, 9 May 2022 14:05:47 +0200 Message-Id: <20220509120548.4509-1-bruno.thomsen@gmail.com> X-Mailer: git-send-email 2.35.1 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 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: 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 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 +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