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

Bruce Ashfield bruce.ashfield at gmail.com
Tue Sep 3 14:08:53 PDT 2019


merged

Bruce

On Mon, Aug 26, 2019 at 11:55 PM Zang Ruochen
<zangrc.fnst at cn.fujitsu.com> wrote:
>
> Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
> ---
>  .../recipes-devtools/python/python-croniter.inc     | 19 +++++++++++++++++++
>  .../python/python-croniter_0.3.30.bb                | 21 +--------------------
>  .../python/python3-croniter_0.3.30.bb               |  2 ++
>  3 files changed, 22 insertions(+), 20 deletions(-)
>  create mode 100644 meta-openstack/recipes-devtools/python/python-croniter.inc
>  create mode 100644 meta-openstack/recipes-devtools/python/python3-croniter_0.3.30.bb
>
> diff --git a/meta-openstack/recipes-devtools/python/python-croniter.inc b/meta-openstack/recipes-devtools/python/python-croniter.inc
> new file mode 100644
> index 0000000..885aa9e
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python-croniter.inc
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "croniter provides iteration for datetime object with cron like format"
> +HOMEPAGE = "https://pypi.python.org/pypi/croniter/0.3.4"
> +SECTION = "devel/python"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2"
> +
> +# Archived version so we have to overwrite what the pypi class will derive
> +PYPI_SRC_URI = "https://pypi.python.org/packages/source/c/croniter/croniter-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "e4a8987521b144c4c2149d4adde8f55c"
> +SRC_URI[sha256sum] = "538adeb3a7f7816c3cdec6db974c441620d764c25ff4ed0146ee7296b8a50590"
> +
> +DEPENDS += " \
> +        ${PYTHON_PN}-pip \
> +        "
> +
> +RDEPENDS_${PN} += " \
> +        ${PYTHON_PN}-dateutil \
> +        "
> diff --git a/meta-openstack/recipes-devtools/python/python-croniter_0.3.30.bb b/meta-openstack/recipes-devtools/python/python-croniter_0.3.30.bb
> index 2859441..c5cb414 100644
> --- a/meta-openstack/recipes-devtools/python/python-croniter_0.3.30.bb
> +++ b/meta-openstack/recipes-devtools/python/python-croniter_0.3.30.bb
> @@ -1,21 +1,2 @@
> -DESCRIPTION = "croniter provides iteration for datetime object with cron like format"
> -HOMEPAGE = "https://pypi.python.org/pypi/croniter/0.3.4"
> -SECTION = "devel/python"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2"
> -
> -# Archived version so we have to overwrite what the pypi class will derive
> -PYPI_SRC_URI = "https://pypi.python.org/packages/source/c/croniter/croniter-${PV}.tar.gz"
> -
> -SRC_URI[md5sum] = "e4a8987521b144c4c2149d4adde8f55c"
> -SRC_URI[sha256sum] = "538adeb3a7f7816c3cdec6db974c441620d764c25ff4ed0146ee7296b8a50590"
> -
>  inherit setuptools pypi
> -
> -DEPENDS += " \
> -        python-pip \
> -        "
> -
> -RDEPENDS_${PN} += " \
> -        python-dateutil \
> -        "
> +require python-croniter.inc
> diff --git a/meta-openstack/recipes-devtools/python/python3-croniter_0.3.30.bb b/meta-openstack/recipes-devtools/python/python3-croniter_0.3.30.bb
> new file mode 100644
> index 0000000..6ec5a00
> --- /dev/null
> +++ b/meta-openstack/recipes-devtools/python/python3-croniter_0.3.30.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3 pypi
> +require python-croniter.inc
> --
> 2.7.4
>
>
>
> --
> _______________________________________________
> 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


More information about the meta-virtualization mailing list