From e7f260091c56f98fe8bb0921a4e4567c0bfbdda3 Mon Sep 17 00:00:00 2001 From: zangrc Date: Thu, 5 Dec 2019 09:20:06 +0800 Subject: python-rtslib-fb: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-rtslib-fb.inc | 20 ++++++++++++++++++++ .../python/python-rtslib-fb_2.1.51.bb | 22 ++-------------------- .../python/python3-rtslib-fb_2.1.51.bb | 2 ++ 3 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-rtslib-fb.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-rtslib-fb_2.1.51.bb (limited to 'meta-openstack/recipes-devtools') diff --git a/meta-openstack/recipes-devtools/python/python-rtslib-fb.inc b/meta-openstack/recipes-devtools/python/python-rtslib-fb.inc new file mode 100644 index 0000000..e14f33d --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-rtslib-fb.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "API for Linux kernel SCSI target (aka LIO)" +HOMEPAGE = "http://github.com/agrover/rtslib-fb" +SECTION = "devel/python" +LICENSE = "Apache-2" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=867c358d5dbac2602d0c0f850f731e62" + +SRC_URI[md5sum] = "4ec7575eb90b7c5a91bbea2962f0e036" +SRC_URI[sha256sum] = "1902c581d6e04b7813f3cd1b11e2abc796205f646c39571cbbb809229fd5553e" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-rtslib-fb_2.1.51.bb b/meta-openstack/recipes-devtools/python/python-rtslib-fb_2.1.51.bb index 46d6cc4..5e4d074 100644 --- a/meta-openstack/recipes-devtools/python/python-rtslib-fb_2.1.51.bb +++ b/meta-openstack/recipes-devtools/python/python-rtslib-fb_2.1.51.bb @@ -1,20 +1,2 @@ -DESCRIPTION = "API for Linux kernel SCSI target (aka LIO)" -HOMEPAGE = "http://github.com/agrover/rtslib-fb" -SECTION = "devel/python" -LICENSE = "Apache-2" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=867c358d5dbac2602d0c0f850f731e62" - -SRC_URI[md5sum] = "4ec7575eb90b7c5a91bbea2962f0e036" -SRC_URI[sha256sum] = "1902c581d6e04b7813f3cd1b11e2abc796205f646c39571cbbb809229fd5553e" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - " +require python-rtslib-fb.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-rtslib-fb_2.1.51.bb b/meta-openstack/recipes-devtools/python/python3-rtslib-fb_2.1.51.bb new file mode 100644 index 0000000..571b68c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-rtslib-fb_2.1.51.bb @@ -0,0 +1,2 @@ +require python-rtslib-fb.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf