From c79c8547a8af27622e498fe463a4986cbf3a29a5 Mon Sep 17 00:00:00 2001 From: zangrc Date: Thu, 5 Dec 2019 10:13:06 +0800 Subject: python-sysv-ipc: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-sysv-ipc.inc | 22 ++++++++++++++++++++ .../python/python-sysv-ipc_0.6.8.bb | 24 ++-------------------- .../python/python3-sysv-ipc_0.6.8.bb | 2 ++ 3 files changed, 26 insertions(+), 22 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-sysv-ipc.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-sysv-ipc_0.6.8.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-sysv-ipc.inc b/meta-openstack/recipes-devtools/python/python-sysv-ipc.inc new file mode 100644 index 0000000..47ecf2c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-sysv-ipc.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "System V IPC primitives (semaphores, shared memory and message queues) for Python" +HOMEPAGE = "http://semanchuk.com/philip/sysv_ipc/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9d6e34e7b47096d7c19c1e3be707374e" + +PYPI_PACKAGE = "sysv_ipc" + +SRC_URI[md5sum] = "c6cf5b4aa7cd3e07fd4b5661530eca8c" +SRC_URI[sha256sum] = "0af73375a85c5d9d487c2f14f208812600bd81e4046437ebaf55746b3aade00e" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-sysv-ipc_0.6.8.bb b/meta-openstack/recipes-devtools/python/python-sysv-ipc_0.6.8.bb index c46cfcb..08a2ee0 100644 --- a/meta-openstack/recipes-devtools/python/python-sysv-ipc_0.6.8.bb +++ b/meta-openstack/recipes-devtools/python/python-sysv-ipc_0.6.8.bb @@ -1,22 +1,2 @@ -DESCRIPTION = "System V IPC primitives (semaphores, shared memory and message queues) for Python" -HOMEPAGE = "http://semanchuk.com/philip/sysv_ipc/" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9d6e34e7b47096d7c19c1e3be707374e" - -PYPI_PACKAGE = "sysv_ipc" - -SRC_URI[md5sum] = "c6cf5b4aa7cd3e07fd4b5661530eca8c" -SRC_URI[sha256sum] = "0af73375a85c5d9d487c2f14f208812600bd81e4046437ebaf55746b3aade00e" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - " +require python-sysv-ipc.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-sysv-ipc_0.6.8.bb b/meta-openstack/recipes-devtools/python/python3-sysv-ipc_0.6.8.bb new file mode 100644 index 0000000..0e3dcd1 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-sysv-ipc_0.6.8.bb @@ -0,0 +1,2 @@ +require python-sysv-ipc.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf