From: Artur Wiebe <artur@4wiebe.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 10/11] python3-asyncua: new package
Date: Sun, 16 Apr 2023 11:36:42 +0200 [thread overview]
Message-ID: <20230416093643.3983478-10-artur@4wiebe.de> (raw)
In-Reply-To: <20230416093643.3983478-1-artur@4wiebe.de>
Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
rules/python3-asyncua.in | 14 ++++++++++
rules/python3-asyncua.make | 54 ++++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
create mode 100644 rules/python3-asyncua.in
create mode 100644 rules/python3-asyncua.make
diff --git a/rules/python3-asyncua.in b/rules/python3-asyncua.in
new file mode 100644
index 000000000..be6210a8b
--- /dev/null
+++ b/rules/python3-asyncua.in
@@ -0,0 +1,14 @@
+## SECTION=python3
+
+config PYTHON3_ASYNCUA
+ tristate
+ select PYTHON3
+ select PYTHON3_AIOFILES if RUNTIME
+ select PYTHON3_AIOSQLITE if RUNTIME
+ select PYTHON3_DATEUTIL if RUNTIME
+ select PYTHON3_PYTZ if RUNTIME
+ select PYTHON3_CRYPTOGRAPHY if RUNTIME
+ select PYTHON3_SORTEDCONTAINERS if RUNTIME
+ prompt "asyncua"
+ help
+ OPC UA / IEC 62541 Client and Server for Python
diff --git a/rules/python3-asyncua.make b/rules/python3-asyncua.make
new file mode 100644
index 000000000..46be8e635
--- /dev/null
+++ b/rules/python3-asyncua.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2023 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_ASYNCUA) += python3-asyncua
+
+#
+# Paths and names
+#
+PYTHON3_ASYNCUA_VERSION := 1.0.2
+PYTHON3_ASYNCUA_MD5 := 2253852226cae8c893508e84676c465b
+PYTHON3_ASYNCUA := asyncua-$(PYTHON3_ASYNCUA_VERSION)
+PYTHON3_ASYNCUA_SUFFIX := tar.gz
+PYTHON3_ASYNCUA_URL := $(call ptx/mirror-pypi, asyncua, $(PYTHON3_ASYNCUA).$(PYTHON3_ASYNCUA_SUFFIX))
+PYTHON3_ASYNCUA_SOURCE := $(SRCDIR)/$(PYTHON3_ASYNCUA).$(PYTHON3_ASYNCUA_SUFFIX)
+PYTHON3_ASYNCUA_DIR := $(BUILDDIR)/$(PYTHON3_ASYNCUA)
+PYTHON3_ASYNCUA_LICENSE := LGPL-3.0-or-later
+PYTHON3_ASYNCUA_LICENSE_FILES := file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_ASYNCUA_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-asyncua.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-asyncua)
+ @$(call install_fixup, python3-asyncua,PRIORITY,optional)
+ @$(call install_fixup, python3-asyncua,SECTION,base)
+ @$(call install_fixup, python3-asyncua,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+ @$(call install_fixup, python3-asyncua,DESCRIPTION,missing)
+
+ # asyncua needs its $(PYTHON3_SITEPACKAGES)/*.egg-info directory!
+ @$(call install_glob, python3-asyncua, 0, 0, -, \
+ $(PYTHON3_SITEPACKAGES),, *.py)
+
+ @$(call install_finish, python3-asyncua)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.40.0
next prev parent reply other threads:[~2023-04-16 9:38 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-16 9:36 [ptxdist] [PATCH 01/11] python3-dateutil: version bump 2.7.3 -> 2.8.2 Artur Wiebe
2023-04-16 9:36 ` [ptxdist] [PATCH 02/11] python3-pytz: version bump 2020.1 -> 2023.3 Artur Wiebe
2023-05-02 7:05 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` [ptxdist] [PATCH 03/11] python3-aiofiles: version bump 0.8.0 -> 23.1.0 Artur Wiebe
2023-05-02 7:05 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` [ptxdist] [PATCH 04/11] python3-sortedcontainers: new package Artur Wiebe
2023-05-02 7:05 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` [ptxdist] [PATCH 05/11] python3-aiosqlite: " Artur Wiebe
2023-05-02 7:05 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` [ptxdist] [PATCH 06/11] host-python3-pycparser: new package (from python3-pycparser) Artur Wiebe
2023-05-02 7:05 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` [ptxdist] [PATCH 07/11] python3-cffi: add dependency to pycparser Artur Wiebe
2023-05-02 7:05 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` [ptxdist] [PATCH 08/11] python3-semantic-version: new package Artur Wiebe
2023-05-02 7:06 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` [ptxdist] [PATCH 09/11] host-python3-setuptools-rust: " Artur Wiebe
2023-05-02 7:06 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` Artur Wiebe [this message]
2023-04-16 9:52 ` [ptxdist] ?==?utf-8?q? python3-asyncua: " Artur Wiebe
2023-04-21 13:49 ` Michael Olbrich
2023-05-02 7:06 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16 9:36 ` [ptxdist] [PATCH 11/11] python3-cryptography: " Artur Wiebe
2023-05-02 7:06 ` [ptxdist] [APPLIED] " Michael Olbrich
2023-05-02 7:05 ` [ptxdist] [APPLIED] python3-dateutil: version bump 2.7.3 -> 2.8.2 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=20230416093643.3983478-10-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