From fc3c8894a81e40ea09f0ad1530fbbad3180cac78 Mon Sep 17 00:00:00 2001 From: zangrc Date: Mon, 6 Jan 2020 13:23:33 +0800 Subject: python-xstatic-bootstrap-datepicker: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../python/python-xstatic-bootstrap-datepicker.inc | 19 +++++++++++++++++++ .../python-xstatic-bootstrap-datepicker_1.3.1.0.bb | 21 ++------------------- .../python3-xstatic-bootstrap-datepicker_1.3.1.0.bb | 2 ++ 3 files changed, 23 insertions(+), 19 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-bootstrap-datepicker.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-xstatic-bootstrap-datepicker_1.3.1.0.bb diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-bootstrap-datepicker.inc b/meta-openstack/recipes-devtools/python/python-xstatic-bootstrap-datepicker.inc new file mode 100644 index 0000000..4988539 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-xstatic-bootstrap-datepicker.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "Bootstrap-Datepicker JavaScript library packaged for setuptools (easy_install) / pip." +HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Bootstrap-Datepicker" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=97d9c60d3a8c5fccccb317f944688479" + +PYPI_PACKAGE = "XStatic-Bootstrap-Datepicker" + +SRC_URI[md5sum] = "c2f5c58a7b41162923eca5a36b29b8b2" +SRC_URI[sha256sum] = "9edc9b77501001fcee9fbf4bf0a722c263efd928ef928b40081a8269fdd9a944" + +inherit pypi + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-xstatic-bootstrap-datepicker_1.3.1.0.bb b/meta-openstack/recipes-devtools/python/python-xstatic-bootstrap-datepicker_1.3.1.0.bb index ff491a2..0bea3f0 100644 --- a/meta-openstack/recipes-devtools/python/python-xstatic-bootstrap-datepicker_1.3.1.0.bb +++ b/meta-openstack/recipes-devtools/python/python-xstatic-bootstrap-datepicker_1.3.1.0.bb @@ -1,19 +1,2 @@ -DESCRIPTION = "Bootstrap-Datepicker JavaScript library packaged for setuptools (easy_install) / pip." -HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Bootstrap-Datepicker" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=97d9c60d3a8c5fccccb317f944688479" - -PYPI_PACKAGE = "XStatic-Bootstrap-Datepicker" - -SRC_URI[md5sum] = "c2f5c58a7b41162923eca5a36b29b8b2" -SRC_URI[sha256sum] = "9edc9b77501001fcee9fbf4bf0a722c263efd928ef928b40081a8269fdd9a944" - -inherit setuptools pypi - -DEPENDS += " \ - python-pip \ - " - -RDEPENDS_${PN} += " \ - " +require python-xstatic-bootstrap-datepicker.inc +inherit setuptools diff --git a/meta-openstack/recipes-devtools/python/python3-xstatic-bootstrap-datepicker_1.3.1.0.bb b/meta-openstack/recipes-devtools/python/python3-xstatic-bootstrap-datepicker_1.3.1.0.bb new file mode 100644 index 0000000..9e9db89 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-xstatic-bootstrap-datepicker_1.3.1.0.bb @@ -0,0 +1,2 @@ +require python-xstatic-bootstrap-datepicker.inc +inherit setuptools3 -- cgit v1.2.3-54-g00ecf