From 257c33593df93033ddddbea6933dc51a019c8133 Mon Sep 17 00:00:00 2001 From: zangrc Date: Wed, 4 Dec 2019 16:13:04 +0800 Subject: python-repoze.who: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-repoze.who.inc | 22 ++++++++++++++++++++ .../python/python-repoze.who_2.2.bb | 24 ++-------------------- .../python/python3-repoze.who_2.2.bb | 2 ++ 3 files changed, 26 insertions(+), 22 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-repoze.who.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-repoze.who_2.2.bb (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-repoze.who.inc b/meta-openstack/recipes-devtools/python/python-repoze.who.inc new file mode 100644 index 0000000..1981e03 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-repoze.who.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "An identification and authentication framework for WSGI" +HOMEPAGE = "http://repoze.org/" +SECTION = "devel/python" +LICENSE = "BSD-Modification" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c33cdbc6bc9ae6e5d64152fdb754292" + +SRC_URI[md5sum] = "c677ac4d4a32b6f6880a8f9cf20adffb" +SRC_URI[sha256sum] = "322629ec7c779dce4700e8f3ba531002b724d2429178c1cbb0dc169255dc9a8b" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pip \ + ${PYTHON_PN}-zopeinterface \ + " diff --git a/meta-openstack/recipes-devtools/python/python-repoze.who_2.2.bb b/meta-openstack/recipes-devtools/python/python-repoze.who_2.2.bb index 3ee8f25..236b8f9 100644 --- a/meta-openstack/recipes-devtools/python/python-repoze.who_2.2.bb +++ b/meta-openstack/recipes-devtools/python/python-repoze.who_2.2.bb @@ -1,22 +1,2 @@ -DESCRIPTION = "An identification and authentication framework for WSGI" -HOMEPAGE = "http://repoze.org/" -SECTION = "devel/python" -LICENSE = "BSD-Modification" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c33cdbc6bc9ae6e5d64152fdb754292" - -SRC_URI[md5sum] = "c677ac4d4a32b6f6880a8f9cf20adffb" -SRC_URI[sha256sum] = "322629ec7c779dce4700e8f3ba531002b724d2429178c1cbb0dc169255dc9a8b" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - python-pip \ - python-zopeinterface \ - " +require python-repoze.who.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-repoze.who_2.2.bb b/meta-openstack/recipes-devtools/python/python3-repoze.who_2.2.bb new file mode 100644 index 0000000..ee7c23d --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-repoze.who_2.2.bb @@ -0,0 +1,2 @@ +require python-repoze.who.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf