Signed-off-by: Zang Ruochen <[email protected]> --- .../recipes-devtools/python/python-posix-ipc.inc | 25 ++++++++++++++++++++ .../python/python-posix-ipc_1.0.4.bb | 27 ++-------------------- .../python/python3-posix-ipc_1.0.4.bb | 2 ++ 3 files changed, 29 insertions(+), 25 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-posix-ipc.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb
diff --git a/meta-openstack/recipes-devtools/python/python-posix-ipc.inc b/meta-openstack/recipes-devtools/python/python-posix-ipc.inc new file mode 100644 index 0000000..32557f0 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-posix-ipc.inc @@ -0,0 +1,25 @@ +DESCRIPTION = "POSIX IPC primitives (semaphores, shared memory and message queues) for Python" +HOMEPAGE = "http://semanchuk.com/philip/posix_ipc/" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dc089fb2f37e90799a54c19a20c9880f" + +PYPI_PACKAGE = "posix_ipc" + +# Archived version so we need to overwrite what the pypi class will derive +PYPI_SRC_URI = "https://pypi.python.org/packages/source/p/${PYPI_PACKAGE}/${PYPI_PACKAGE}-${PV}.tar.gz" + +SRC_URI[md5sum] = "c4fd0065244ccb2f59cb8ceedf287cf6" +SRC_URI[sha256sum] = "ff6c9077633fc62a491d6997c43b094d885bb45a7ca1f36c9a0d647c54b74b14" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-posix-ipc_1.0.4.bb b/meta-openstack/recipes-devtools/python/python-posix-ipc_1.0.4.bb index f1494d1..595af50 100644 --- a/meta-openstack/recipes-devtools/python/python-posix-ipc_1.0.4.bb +++ b/meta-openstack/recipes-devtools/python/python-posix-ipc_1.0.4.bb @@ -1,25 +1,2 @@ -DESCRIPTION = "POSIX IPC primitives (semaphores, shared memory and message queues) for Python" -HOMEPAGE = "http://semanchuk.com/philip/posix_ipc/" -SECTION = "devel/python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=dc089fb2f37e90799a54c19a20c9880f" - -PYPI_PACKAGE = "posix_ipc" - -# Archived version so we need to overwrite what the pypi class will derive -PYPI_SRC_URI = "https://pypi.python.org/packages/source/p/${PYPI_PACKAGE}/${PYPI_PACKAGE}-${PV}.tar.gz" - -SRC_URI[md5sum] = "c4fd0065244ccb2f59cb8ceedf287cf6" -SRC_URI[sha256sum] = "ff6c9077633fc62a491d6997c43b094d885bb45a7ca1f36c9a0d647c54b74b14" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - " +inherit setuptools +require python-posix-ipc.inc diff --git a/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb b/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb new file mode 100644 index 0000000..9e79b1c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-posix-ipc.inc -- 2.7.4 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
