python-posix-ipc: new package
authorMatt Weber <mlweber1@rockwellcollins.com>
Wed, 8 Jan 2014 04:25:34 +0000 (22:25 -0600)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 12 Jan 2014 20:39:38 +0000 (21:39 +0100)
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.

Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-posix-ipc/Config.in [new file with mode: 0644]
package/python-posix-ipc/python-poxix-ipc.mk [new file with mode: 0644]

index de1132bd9166e02ed1e5eb6a58f2d6cd9c2a5052..aac6f02f23d9b393093e5f6aa68940683a11f5a1 100644 (file)
@@ -409,6 +409,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"
diff --git a/package/python-posix-ipc/Config.in b/package/python-posix-ipc/Config.in
new file mode 100644 (file)
index 0000000..eba36ed
--- /dev/null
@@ -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
diff --git a/package/python-posix-ipc/python-poxix-ipc.mk b/package/python-posix-ipc/python-poxix-ipc.mk
new file mode 100644 (file)
index 0000000..3e81bbf
--- /dev/null
@@ -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))