diff mbox series

[oe,meta-python,3/3] python-m2crypto: Upgrade to 0.26.0

Message ID 20170815050221.16408-3-raj.khem@gmail.com
State New
Headers show
Series [oe,meta-oe,1/3] gsoap: Upgrade to 2.8.51 | expand

Commit Message

Khem Raj Aug. 15, 2017, 5:02 a.m. UTC
Use proper LICENCE file for LIC_FILES_CHKSUM

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 ...{python-m2crypto_0.25.1.bb => python-m2crypto_0.26.0.bb} | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
 rename meta-python/recipes-devtools/python/{python-m2crypto_0.25.1.bb => python-m2crypto_0.26.0.bb} (79%)

-- 
2.14.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Leonardo Sandoval Aug. 15, 2017, 3:02 p.m. UTC | #1
On Mon, 2017-08-14 at 22:02 -0700, Khem Raj wrote:
> Use proper LICENCE file for LIC_FILES_CHKSUM

> 

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  ...{python-m2crypto_0.25.1.bb => python-m2crypto_0.26.0.bb} | 13 +++++--------

>  1 file changed, 5 insertions(+), 8 deletions(-)

>  rename meta-python/recipes-devtools/python/{python-m2crypto_0.25.1.bb => python-m2crypto_0.26.0.bb} (79%)

> 

> diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb

> similarity index 79%

> rename from meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb

> rename to meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb

> index 72523bd7f..446f4d80a 100644

> --- a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb

> +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb

> @@ -2,12 +2,11 @@ SUMMARY = "A Python crypto and SSL toolkit"

>  HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto"


Just tried looking into the HOMEPAGE and seems that it has moved to 

https://gitlab.com/m2crypto/m2crypto


updating this patch with the above would be the fastest path to change
this var.



>  

>  LICENSE = "BSD"

> -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95295693f047bb8f76928251a6154a60"

> -

> -SRC_URI[md5sum] = "040234289fbef5bed4029f0f7d1dae35"

> -SRC_URI[sha256sum] = "ac303a1881307a51c85ee8b1d87844d9866ee823b4fdbc52f7e79187c2d9acef"

> +LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e"

>  

>  SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch "

> +SRC_URI[md5sum] = "9f02f0b88fbe225cc6ea8680945cafa0"

> +SRC_URI[sha256sum] = "05d94fd9b2dae2fb8e072819a795f0e05d3611b09ea185f68e1630530ec09ae8"

>  

>  PYPI_PACKAGE = "M2Crypto"

>  inherit pypi setuptools siteinfo

> @@ -18,10 +17,8 @@ RDEPENDS_${PN} += "python-typing"

>  DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST} -I${STAGING_INCDIR}"

>  DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}"

>  

> -inherit setuptools

> -

> -SWIG_FEATURES_x86-64 = "-D__x86_64__"

> -SWIG_FEATURES ?= ""

> +SWIG_FEATURES_append_x86-64 = " -D__x86_64__"

> +SWIG_FEATURES = "-ignoremissing"

>  export SWIG_FEATURES

>  

>  # Get around a problem with swig, but only if the

> -- 

> 2.14.1

> 



-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Martin Jansa Aug. 21, 2017, 7:37 a.m. UTC | #2
Fails to build here:
http://errors.yoctoproject.org/Errors/Details/152770/

On Tue, Aug 15, 2017 at 5:02 PM, Leonardo Sandoval <
leonardo.sandoval.gonzalez@linux.intel.com> wrote:

> On Mon, 2017-08-14 at 22:02 -0700, Khem Raj wrote:

> > Use proper LICENCE file for LIC_FILES_CHKSUM

> >

> > Signed-off-by: Khem Raj <raj.khem@gmail.com>

> > ---

> >  ...{python-m2crypto_0.25.1.bb => python-m2crypto_0.26.0.bb} | 13

> +++++--------

> >  1 file changed, 5 insertions(+), 8 deletions(-)

> >  rename meta-python/recipes-devtools/python/{python-m2crypto_0.25.1.bb

> => python-m2crypto_0.26.0.bb} (79%)

> >

> > diff --git a/meta-python/recipes-devtools/python/python-

> m2crypto_0.25.1.bb b/meta-python/recipes-devtools/python/python-

> m2crypto_0.26.0.bb

> > similarity index 79%

> > rename from meta-python/recipes-devtools/python/python-m2crypto_0.25.1.

> bb

> > rename to meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb

> > index 72523bd7f..446f4d80a 100644

> > --- a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb

> > +++ b/meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb

> > @@ -2,12 +2,11 @@ SUMMARY = "A Python crypto and SSL toolkit"

> >  HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto"

>

> Just tried looking into the HOMEPAGE and seems that it has moved to

>

> https://gitlab.com/m2crypto/m2crypto

>

>

> updating this patch with the above would be the fastest path to change

> this var.

>

>

>

> >

> >  LICENSE = "BSD"

> > -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95295693f047bb8f76928251a6154a

> 60"

> > -

> > -SRC_URI[md5sum] = "040234289fbef5bed4029f0f7d1dae35"

> > -SRC_URI[sha256sum] = "ac303a1881307a51c85ee8b1d87844

> d9866ee823b4fdbc52f7e79187c2d9acef"

> > +LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b99180

> 0e"

> >

> >  SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch

> "

> > +SRC_URI[md5sum] = "9f02f0b88fbe225cc6ea8680945cafa0"

> > +SRC_URI[sha256sum] = "05d94fd9b2dae2fb8e072819a795f0

> e05d3611b09ea185f68e1630530ec09ae8"

> >

> >  PYPI_PACKAGE = "M2Crypto"

> >  inherit pypi setuptools siteinfo

> > @@ -18,10 +17,8 @@ RDEPENDS_${PN} += "python-typing"

> >  DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}

> -I${STAGING_INCDIR}"

> >  DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}"

> >

> > -inherit setuptools

> > -

> > -SWIG_FEATURES_x86-64 = "-D__x86_64__"

> > -SWIG_FEATURES ?= ""

> > +SWIG_FEATURES_append_x86-64 = " -D__x86_64__"

> > +SWIG_FEATURES = "-ignoremissing"

> >  export SWIG_FEATURES

> >

> >  # Get around a problem with swig, but only if the

> > --

> > 2.14.1

> >

>

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

>

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb
similarity index 79%
rename from meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
rename to meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb
index 72523bd7f..446f4d80a 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
+++ b/meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb
@@ -2,12 +2,11 @@  SUMMARY = "A Python crypto and SSL toolkit"
 HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto"
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95295693f047bb8f76928251a6154a60"
-
-SRC_URI[md5sum] = "040234289fbef5bed4029f0f7d1dae35"
-SRC_URI[sha256sum] = "ac303a1881307a51c85ee8b1d87844d9866ee823b4fdbc52f7e79187c2d9acef"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e"
 
 SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch "
+SRC_URI[md5sum] = "9f02f0b88fbe225cc6ea8680945cafa0"
+SRC_URI[sha256sum] = "05d94fd9b2dae2fb8e072819a795f0e05d3611b09ea185f68e1630530ec09ae8"
 
 PYPI_PACKAGE = "M2Crypto"
 inherit pypi setuptools siteinfo
@@ -18,10 +17,8 @@  RDEPENDS_${PN} += "python-typing"
 DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST} -I${STAGING_INCDIR}"
 DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}"
 
-inherit setuptools
-
-SWIG_FEATURES_x86-64 = "-D__x86_64__"
-SWIG_FEATURES ?= ""
+SWIG_FEATURES_append_x86-64 = " -D__x86_64__"
+SWIG_FEATURES = "-ignoremissing"
 export SWIG_FEATURES
 
 # Get around a problem with swig, but only if the