From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 26 Jan 2024 15:48:36 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rTNVT-004Uxf-1C for lore@lore.pengutronix.de; Fri, 26 Jan 2024 15:48:36 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rTNVU-0002Zd-2V; Fri, 26 Jan 2024 15:48:36 +0100 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.24]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rTNV3-0002ZF-2r for ptxdist@pengutronix.de; Fri, 26 Jan 2024 15:48:09 +0100 ARC-Seal: i=1; a=rsa-sha256; t=1706280488; cv=none; d=strato.com; s=strato-dkim-0002; b=Y6o0Z+G1UU0V4fbuLZpYiUFBAtd80ham64shM/aHMvV6hQR2/o0VOAXrWdKgYikSpW JcAug3hKSwfbwJMk0hjFc4L5Kr6pdYjGMLKW31kXFj6eJd78IXGY4e8p7yYU5zoYwKAf pw2QLxrcjC9z2Pd3xNY187UeO1trC+bBrEfqgmI+eL0iAgTPVo2HXSly4oPe0bmBCRWE t9AK4gQLbgUrNloovpYu/rqI2RBHO7A9c5eaWGV6fpWIb7SvFvpisCcOx10KnwP+p+vZ l4kEWMCS00GYpE1NwdQM5A+SFcvkFU6M6jOEZSBLhUAFVA/cBxsCl7J8fUNp9zDW1KRX W9hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1706280488; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=R9yh1Qr2AO51kozQgaHYcePEC2LBZ/cwh240ugyQF1E=; b=Imc2k+BH6vZVACso2bzLLJim1xSAGiy//oLsVherdzqvnSg6N7Wn3Op+zg3zTipwe+ Im9AmkbkQwPxKD+GyDjMmShvhY7pOqGCRZxJ8NvtWA79N01EXsWLhvDFzIubLcd1IxjD DgG2kieForflL1zdLPV2fysXn76nf+7JagbsR9xpzS5+O+44FbVHIbnhhB9sUvKbaLOJ sgTTfY19TBN8ODWwyZa+N3EMkUuuu7RcXHcky5qRfDI+b7Y4drMwnPFhHnJkFv8ynK1P sR4K3vEEb6WB6ehax585X0jLowjLj6zQkZoq3mEb663mPnUWsS02BJ+3UTASxe6ZRJ8p vAMw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1706280488; s=strato-dkim-0002; d=4wiebe.de; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=R9yh1Qr2AO51kozQgaHYcePEC2LBZ/cwh240ugyQF1E=; b=pL92PHX0KnnyrGvcRBYHz5rfUzGGC73uyDjUntZBTlIQrkoovJPJSqpPMkPvMtZl1H BCFgaHecKg3hyOFq+5wYETgm42vl+LauIM09Fnxx7+f3N4J4srGFzAYjV1PKm/SQRyhI zEz6FdgK3c4L0APDy7X+JnC0cdgDtGATKdquxFp7DvHuw4b+rgu1E1eAmTTDcLR37VNe ar526f4lpbUlgzVXTrmwNiBaKLkpCvGYvG31MSxahUt0PpTzWLq+1kbQwJkdUwhQGOW4 8jwNJxl3q9HIVPbB8pbcPW3JHY5fdPa9hJQbrsUxo25KTSm/NVimhABjR4l86HyuHH3M tUJA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1706280488; s=strato-dkim-0003; d=4wiebe.de; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=R9yh1Qr2AO51kozQgaHYcePEC2LBZ/cwh240ugyQF1E=; b=13emKvymmdcWLItUTQfySEoUviI7zSOIuUUO9eFKLVoYwsa3fVcvZrfkXZZCZmDNKv yBz6ggmY4wbsqnfEXaBg== X-RZG-AUTH: ":Km0JfEyhft8wzIIhFLJpRLyPODuSc5X4exbBROmid4/wfXDMnRC7+FnMrvP1Z5u6oG/8ROk=" Received: from home by smtp.strato.de (RZmta 49.11.2 DYNA|AUTH) with ESMTPSA id w4940200QEm8AWS (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Fri, 26 Jan 2024 15:48:08 +0100 (CET) Received: from gemini.. (localhost [127.0.0.1]) by home (Postfix) with ESMTP id 0FF1E1A069E for ; Fri, 26 Jan 2024 15:48:08 +0100 (CET) From: Artur Wiebe To: ptxdist@pengutronix.de Date: Fri, 26 Jan 2024 15:48:05 +0100 Message-ID: <20240126144807.2774267-3-artur@4wiebe.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240126144807.2774267-1-artur@4wiebe.de> References: <20240126144807.2774267-1-artur@4wiebe.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="us-ascii" X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH 3/5] python3-pyopenssl: 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 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Artur Wiebe --- rules/python3-pyopenssl.in | 9 ++++++ rules/python3-pyopenssl.make | 53 ++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 rules/python3-pyopenssl.in create mode 100644 rules/python3-pyopenssl.make diff --git a/rules/python3-pyopenssl.in b/rules/python3-pyopenssl.in new file mode 100644 index 000000000..6157b9649 --- /dev/null +++ b/rules/python3-pyopenssl.in @@ -0,0 +1,9 @@ +## SECTION=python3 + +config PYTHON3_PYOPENSSL + tristate + select PYTHON3 + select PYTHON3_SSL + prompt "pyOpenSSL" + help + High-level wrapper around a subset of the OpenSSL library. diff --git a/rules/python3-pyopenssl.make b/rules/python3-pyopenssl.make new file mode 100644 index 000000000..ce7f570b9 --- /dev/null +++ b/rules/python3-pyopenssl.make @@ -0,0 +1,53 @@ +# -*-makefile-*- +# +# Copyright (C) 2024 by Artur Wiebe +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_PYOPENSSL) += python3-pyopenssl + +# +# Paths and names +# +PYTHON3_PYOPENSSL_VERSION := 24.0.0 +PYTHON3_PYOPENSSL_MD5 := e4e9f1519cbb54dfb6426bde212ca922 +PYTHON3_PYOPENSSL := pyOpenSSL-$(PYTHON3_PYOPENSSL_VERSION) +PYTHON3_PYOPENSSL_SUFFIX := tar.gz +PYTHON3_PYOPENSSL_URL := $(call ptx/mirror-pypi, pyopenssl, $(PYTHON3_PYOPENSSL).$(PYTHON3_PYOPENSSL_SUFFIX)) +PYTHON3_PYOPENSSL_SOURCE := $(SRCDIR)/$(PYTHON3_PYOPENSSL).$(PYTHON3_PYOPENSSL_SUFFIX) +PYTHON3_PYOPENSSL_DIR := $(BUILDDIR)/$(PYTHON3_PYOPENSSL) +PYTHON3_PYOPENSSL_LICENSE := Apache-2.0 +PYTHON3_PYOPENSSL_LICENSE_FILES := file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_PYOPENSSL_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-pyopenssl.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-pyopenssl) + @$(call install_fixup, python3-pyopenssl,PRIORITY,optional) + @$(call install_fixup, python3-pyopenssl,SECTION,base) + @$(call install_fixup, python3-pyopenssl,AUTHOR,"Artur Wiebe ") + @$(call install_fixup, python3-pyopenssl,DESCRIPTION,missing) + + @$(call install_glob, python3-pyopenssl, 0, 0, -, \ + $(PYTHON3_SITEPACKAGES),, *.py) + + @$(call install_finish, python3-pyopenssl) + + @$(call touch) + +# vim: syntax=make -- 2.43.0