[oe] [meta-python][PATCH] python-cryptography: 2.1.4 -> 2.2

akuster808 akuster808 at gmail.com
Wed Mar 21 14:47:20 UTC 2018



On 03/20/2018 08:36 PM, Huang Qiyu wrote:
> 1.Upgrade python-cryptography from 2.1.4 to 2.2.
> 2.Update the checksum of LIC_FILES_CHKSUM, but license remained the same.
>
> Signed-off-by: Huang Qiyu <huangqy.fnst at cn.fujitsu.com>

I am seeing:
ERROR: python3-cryptography-2.1.4-r0 do_fetch: Checksum failure fetching
https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-2.1.4.tar.gz
ERROR: python3-cryptography-2.1.4-r0 do_fetch: Fetcher failure for URL:
'https://files.pythonhosted.org/packages/source/c/cryptography/cryptography-2.1.4.tar.gz'.
Checksum mismatch!
File: '/home/akuster/OE/downloads/cryptography-2.1.4.tar.gz' has md5
checksum 9f39d4d8f2b05f295fa0ff52475ec4f2 when
c49c1ee145a900313a216fa2c788208c was expected
File: '/home/akuster/OE/downloads/cryptography-2.1.4.tar.gz' has sha256
checksum
e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291 when
f5a0279e362c37e2150a32fe35ec20226e9237b6c9927fce8d53ef8e49e64f48 was
expected
If this change is expected (e.g. you have upgraded to a new version
without updating the checksums) then you can use these lines within the
recipe:
SRC_URI[md5sum] = "9f39d4d8f2b05f295fa0ff52475ec4f2"
SRC_URI[sha256sum] =
"e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291"
Otherwise you should retry the download and/or check with upstream to
determine if the file has become corrupted or otherwise unexpectedly
modified.


please double check.
- armin
> ---
>  meta-python/recipes-devtools/python/python-cryptography.inc         | 6 +++---
>  .../{python-cryptography_2.1.4.bb => python-cryptography_2.2.bb}    | 0
>  2 files changed, 3 insertions(+), 3 deletions(-)
>  rename meta-python/recipes-devtools/python/{python-cryptography_2.1.4.bb => python-cryptography_2.2.bb} (100%)
>
> diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc b/meta-python/recipes-devtools/python/python-cryptography.inc
> index 4be7907..fcd5358 100644
> --- a/meta-python/recipes-devtools/python/python-cryptography.inc
> +++ b/meta-python/recipes-devtools/python/python-cryptography.inc
> @@ -1,7 +1,7 @@
>  SUMMARY = "Provides cryptographic recipes and primitives to python developers"
>  HOMEPAGE = "https://cryptography.io/"
>  LICENSE = "Apache-2.0 | BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=d5ede125ed08d4fd14ec44d334bdb388"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
>  
>  DEPENDS += " \
>      ${PYTHON_PN}-cffi \
> @@ -10,8 +10,8 @@ DEPENDS += " \
>      ${PYTHON_PN}-six \
>  "
>  
> -SRC_URI[md5sum] = "9f39d4d8f2b05f295fa0ff52475ec4f2"
> -SRC_URI[sha256sum] = "e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291"
> +SRC_URI[md5sum] = "c49c1ee145a900313a216fa2c788208c"
> +SRC_URI[sha256sum] = "f5a0279e362c37e2150a32fe35ec20226e9237b6c9927fce8d53ef8e49e64f48"
>  
>  RDEPENDS_${PN} += " \
>      ${PYTHON_PN}-cffi \
> diff --git a/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb b/meta-python/recipes-devtools/python/python-cryptography_2.2.bb
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb
> rename to meta-python/recipes-devtools/python/python-cryptography_2.2.bb




More information about the Openembedded-devel mailing list