mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] python3-posix_ipc: new package
@ 2023-04-26  9:13 Artur Wiebe
  2023-05-02  7:06 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Artur Wiebe @ 2023-04-26  9:13 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 rules/python3-posix_ipc.in   | 10 +++++++
 rules/python3-posix_ipc.make | 53 ++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 rules/python3-posix_ipc.in
 create mode 100644 rules/python3-posix_ipc.make

diff --git a/rules/python3-posix_ipc.in b/rules/python3-posix_ipc.in
new file mode 100644
index 000000000..ace39885d
--- /dev/null
+++ b/rules/python3-posix_ipc.in
@@ -0,0 +1,10 @@
+## SECTION=python3
+
+config PYTHON3_POSIX_IPC
+	tristate
+	select PYTHON3
+	prompt "posix_ipc"
+	help
+	  posix_ipc is a Python module (written in C) that permits
+	  creation and manipulation of POSIX inter-process
+	  semaphores, shared memory and message queues
diff --git a/rules/python3-posix_ipc.make b/rules/python3-posix_ipc.make
new file mode 100644
index 000000000..9a45d48c4
--- /dev/null
+++ b/rules/python3-posix_ipc.make
@@ -0,0 +1,53 @@
+# -*-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_POSIX_IPC) += python3-posix_ipc
+
+#
+# Paths and names
+#
+PYTHON3_POSIX_IPC_VERSION	:= 1.1.1
+PYTHON3_POSIX_IPC_MD5		:= 523a31c4dbd56e0d4fd677f33e126e5d
+PYTHON3_POSIX_IPC		:= posix_ipc-$(PYTHON3_POSIX_IPC_VERSION)
+PYTHON3_POSIX_IPC_SUFFIX	:= tar.gz
+PYTHON3_POSIX_IPC_URL		:= $(call ptx/mirror-pypi, posix_ipc, $(PYTHON3_POSIX_IPC).$(PYTHON3_POSIX_IPC_SUFFIX))
+PYTHON3_POSIX_IPC_SOURCE	:= $(SRCDIR)/$(PYTHON3_POSIX_IPC).$(PYTHON3_POSIX_IPC_SUFFIX)
+PYTHON3_POSIX_IPC_DIR		:= $(BUILDDIR)/$(PYTHON3_POSIX_IPC)
+PYTHON3_POSIX_IPC_LICENSE	:= BSD
+PYTHON3_POSIX_IPC_LICENSE_FILES	:= file://LICENSE;md5=513d94a7390d4d72f3475e2d45c739b5
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_POSIX_IPC_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-posix_ipc.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-posix_ipc)
+	@$(call install_fixup, python3-posix_ipc,PRIORITY,optional)
+	@$(call install_fixup, python3-posix_ipc,SECTION,base)
+	@$(call install_fixup, python3-posix_ipc,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+	@$(call install_fixup, python3-posix_ipc,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-posix_ipc, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES), *.so,)
+
+	@$(call install_finish, python3-posix_ipc)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.40.0




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-02  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-26  9:13 [ptxdist] [PATCH] python3-posix_ipc: new package Artur Wiebe
2023-05-02  7:06 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox