From: Artur Wiebe <artur@4wiebe.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/5] python3-pyopenssl: new package
Date: Fri, 26 Jan 2024 15:48:05 +0100 [thread overview]
Message-ID: <20240126144807.2774267-3-artur@4wiebe.de> (raw)
In-Reply-To: <20240126144807.2774267-1-artur@4wiebe.de>
Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
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 <artur@4wiebe.de>
+#
+# 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 <artur@4wiebe.de>")
+ @$(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
next prev parent reply other threads:[~2024-01-26 14:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-26 14:48 [ptxdist] [PATCH 1/5] python3-cffi: version bump 1.15.0 -> 1.16.0 Artur Wiebe
2024-01-26 14:48 ` [ptxdist] [PATCH 2/5] python3-pycparser: version bump 2.18 -> 2.21 Artur Wiebe
2024-01-29 8:28 ` Michael Olbrich
2024-01-26 14:48 ` Artur Wiebe [this message]
2024-02-08 16:03 ` [ptxdist] [APPLIED] python3-pyopenssl: new package Michael Olbrich
2024-01-26 14:48 ` [ptxdist] [PATCH 4/5] python3-cryptography: version bump 40.0.1 -> 41.0.7 Artur Wiebe
2024-01-29 9:14 ` Michael Olbrich
2024-01-26 14:48 ` [ptxdist] [PATCH 5/5] python3-asyncua: version bump 1.0.2 -> 1.0.6 Artur Wiebe
2024-02-08 16:03 ` [ptxdist] [APPLIED] " Michael Olbrich
2024-02-08 16:03 ` [ptxdist] [APPLIED] python3-cffi: version bump 1.15.0 -> 1.16.0 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=20240126144807.2774267-3-artur@4wiebe.de \
--to=artur@4wiebe.de \
--cc=ptxdist@pengutronix.de \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox