[meta-virtualization] [PATCH] python-webtest: Add python3 version

Bruce Ashfield bruce.ashfield at gmail.com
Mon Aug 12 07:59:34 PDT 2019


merged

Bruce

On Mon, Aug 12, 2019 at 4:11 AM Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
wrote:

> Providing a python3 version of python-webtest.
>
> Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-webtest.inc     | 12 ++++++++++++
>  .../python/python-webtest_2.0.33.bb                | 14 +-------------
>  .../python/python3-webtest_2.0.33.bb               |  2 ++
>  3 files changed, 15 insertions(+), 13 deletions(-)
>  create mode 100644
> meta-openstack/recipes-devtools/python/python-webtest.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/
> python3-webtest_2.0.33.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-webtest.inc
> b/meta-openstack/recipes-devtools/python/python-webtest.inc
> new file mode 100644
> index 0000000..d4e9e07
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-webtest.inc
> @@ -0,0 +1,12 @@
> +DESCRIPTION = "Helper to test WSGI applications"
> +HOMEPAGE = "https://pypi.python.org/pypi/WebTest/"
> +SECTION = "devel/python"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM =
> "file://README.rst;md5=e3e00192f000e33de99fd5a3cb32a8fc"
> +
> +PYPI_PACKAGE = "WebTest"
> +
> +RDEPENDS_${PN} += "${PYTHON_PN}-beautifulsoup4"
> +
> +SRC_URI[md5sum] = "dd0385c725b85ac1e8079f38d2acd7b1"
> +SRC_URI[sha256sum] =
> "41348efe4323a647a239c31cde84e5e440d726ca4f449859264e538d39037fd0"
> diff --git a/meta-openstack/recipes-devtools/python/
> python-webtest_2.0.33.bb b/meta-openstack/recipes-devtools/python/
> python-webtest_2.0.33.bb
> index 527f5c7..3a1fe90 100644
> --- a/meta-openstack/recipes-devtools/python/python-webtest_2.0.33.bb
> +++ b/meta-openstack/recipes-devtools/python/python-webtest_2.0.33.bb
> @@ -1,14 +1,2 @@
> -DESCRIPTION = "Helper to test WSGI applications"
> -HOMEPAGE = "https://pypi.python.org/pypi/WebTest/"
> -SECTION = "devel/python"
> -LICENSE = "Apache-2.0"
> -LIC_FILES_CHKSUM =
> "file://README.rst;md5=e3e00192f000e33de99fd5a3cb32a8fc"
> -
> -PYPI_PACKAGE = "WebTest"
> -
> -RDEPENDS_${PN} += "python-beautifulsoup4"
> -
> -SRC_URI[md5sum] = "dd0385c725b85ac1e8079f38d2acd7b1"
> -SRC_URI[sha256sum] =
> "41348efe4323a647a239c31cde84e5e440d726ca4f449859264e538d39037fd0"
> -
>  inherit setuptools pypi
> +require python-webtest.inc
> diff --git a/meta-openstack/recipes-devtools/python/
> python3-webtest_2.0.33.bb b/meta-openstack/recipes-devtools/python/
> python3-webtest_2.0.33.bb
> new file mode 100644
> index 0000000..aaf0b42
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-webtest_2.0.33.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3 pypi
> +require python-webtest.inc
> --
> 2.17.1
>
>
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20190812/a8adc341/attachment.html>


More information about the meta-virtualization mailing list