Providing a python3 version of python-rfc3986. Signed-off-by: Zheng Ruoqin <[email protected]> --- .../python/python-rfc3986.inc | 20 +++++++++++++++++ .../python/python-rfc3986_1.3.2.bb | 22 ++----------------- .../python/python3-rfc3986_1.3.2.bb | 2 ++ 3 files changed, 24 insertions(+), 20 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-rfc3986.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-rfc3986_1.3.2.bb
diff --git a/meta-openstack/recipes-devtools/python/python-rfc3986.inc b/meta-openstack/recipes-devtools/python/python-rfc3986.inc new file mode 100644 index 0000000..d930fd9 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-rfc3986.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "Validating URI References per RFC 3986" +HOMEPAGE = "https://rfc3986.rtfd.org" +SECTION = "devel/python" +LICENSE = "Apache-2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=03731a0e7dbcb30cecdcec77cc93ec29" + +SRC_URI[md5sum] = "5b6d009806a94d418c82d48219a256de" +SRC_URI[sha256sum] = "0344d0bd428126ce554e7ca2b61787b6a28d2bbd19fc70ed2dd85efe31176405" + +inherit pypi + +# DEPENDS_default: python-pip + +DEPENDS += " \ + ${PYTHON_PN}-pip \ + " + +# RDEPENDS_default: +RDEPENDS_${PN} += " \ + " diff --git a/meta-openstack/recipes-devtools/python/python-rfc3986_1.3.2.bb b/meta-openstack/recipes-devtools/python/python-rfc3986_1.3.2.bb index e32f903..003f6e1 100644 --- a/meta-openstack/recipes-devtools/python/python-rfc3986_1.3.2.bb +++ b/meta-openstack/recipes-devtools/python/python-rfc3986_1.3.2.bb @@ -1,20 +1,2 @@ -DESCRIPTION = "Validating URI References per RFC 3986" -HOMEPAGE = "https://rfc3986.rtfd.org" -SECTION = "devel/python" -LICENSE = "Apache-2" -LIC_FILES_CHKSUM = "file://LICENSE;md5=03731a0e7dbcb30cecdcec77cc93ec29" - -SRC_URI[md5sum] = "5b6d009806a94d418c82d48219a256de" -SRC_URI[sha256sum] = "0344d0bd428126ce554e7ca2b61787b6a28d2bbd19fc70ed2dd85efe31176405" - -inherit setuptools pypi - -# DEPENDS_default: python-pip - -DEPENDS += " \ - python-pip \ - " - -# RDEPENDS_default: -RDEPENDS_${PN} += " \ - " +inherit setuptools +require python-rfc3986.inc diff --git a/meta-openstack/recipes-devtools/python/python3-rfc3986_1.3.2.bb b/meta-openstack/recipes-devtools/python/python3-rfc3986_1.3.2.bb new file mode 100644 index 0000000..5e91d48 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-rfc3986_1.3.2.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-rfc3986.inc -- 2.17.1 -- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
