Skip to contentSkip to conversation

python-posix-ipc: new package

PATCH New Matt Weber 2 participants 2 messages Jan 8, 2014 – Jan 12, 2014

lore
Share & tools
lore

Matt Weber

author
#0 lore raw

PATCH v2 1/1 python-posix-ipc: new package

This patch is based on the original new pkg patch submitted last Jan and is part of the "Patchwork oldest patches cleanup #5". It combines the original "[1/2]/[2/2] new package: python-posix_ipc" patch files.

---
Changes v1 -> v2:
- Added depends on BR2_TOOLCHAIN_HAS_THREADS (Suggested by Thomas P) (used for critical section calls, mutex/etc...)
- Fixed license to be BSD-3c, important to note the pkg website lists BSD-2c. (Suggested by Thomas P)

---
 package/Config.in                            |    1 +
 package/python-posix-ipc/Config.in           |   14 ++++++++++++++
 package/python-posix-ipc/python-poxix-ipc.mk |   14 ++++++++++++++
 3 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 package/python-posix-ipc/Config.in
 create mode 100644 package/python-posix-ipc/python-poxix-ipc.mk
package/Config.in +1 -0
index e502cde..501bd3d 100644
@@ -406,6 +406,7 @@ source "package/python-meld3/Config.in"
 source "package/python-msgpack/Config.in"
 source "package/python-netifaces/Config.in"
 source "package/python-nfc/Config.in"
+source "package/python-posix-ipc/Config.in"
 source "package/python-protobuf/Config.in"
 source "package/python-pyasn/Config.in"
 source "package/python-pycrypto/Config.in"
package/python-posix-ipc/Config.in new file +14 -0
new file mode 100644
index 0000000..eba36ed
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PYTHON_POSIX_IPC
+	bool "python-posix-ipc"
+	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	help
+	  The Python extension module posix_ipc gives access to POSIX
+	  inter-process semaphores, shared memory and message queues
+	  on systems that support the POSIX Realtime Extensions
+	  a.k.a. POSIX 1003.1b-1993.
+
+	  http://semanchuk.com/philip/posix_ipc/
+
+comment "python-posix-ipc needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/python-posix-ipc/python-poxix-ipc.mk new file +14 -0
new file mode 100644
index 0000000..3e81bbf
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-posix-ipc
+#
+################################################################################
+
+PYTHON_POSIX_IPC_VERSION = 0.9.6
+PYTHON_POSIX_IPC_SOURCE = posix_ipc-$(PYTHON_POSIX_IPC_VERSION).tar.gz
+PYTHON_POSIX_IPC_SITE = http://semanchuk.com/philip/posix_ipc/
+PYTHON_POSIX_IPC_LICENSE = BSD-3c
+PYTHON_POSIX_IPC_LICENSE_FILES = LICENSE
+PYTHON_POSIX_IPC_SETUP_TYPE = distutils
+
+$(eval $(python-package))
Signature · 1 line
1.7.1
#1 lore raw

PATCH v2 1/1 python-posix-ipc: new package

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Matt" == Matt Weber <[email protected]> writes:

This patch is based on the original new pkg patch submitted last Jan and is part of the "Patchwork oldest patches cleanup #5". It combines the original "[1/2]/[2/2] new package: python-posix_ipc" patch files.

Quoted 7 lines

---
Changes v1 -> v2:
- Added depends on BR2_TOOLCHAIN_HAS_THREADS (Suggested by Thomas P) (used for critical section calls, mutex/etc...)
- Fixed license to be BSD-3c, important to note the pkg website lists BSD-2c. (Suggested by Thomas P)

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard