From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UMjVf-0007ho-VB for openembedded-devel@lists.openembedded.org; Mon, 01 Apr 2013 20:31:12 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id r31IE0us004180 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 1 Apr 2013 11:14:00 -0700 (PDT) Received: from yow-jmacdona-d1.ottawa.wrs.com (128.224.146.66) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server (TLS) id 14.2.342.3; Mon, 1 Apr 2013 11:14:00 -0700 Received: from yow-jmacdona-l1 (unknown [172.25.44.2]) by yow-jmacdona-d1.ottawa.wrs.com (Postfix) with ESMTP id EC00D7FCE; Mon, 1 Apr 2013 14:13:04 -0400 (EDT) Received: by yow-jmacdona-l1 (Postfix, from userid 1000) id 6235420087; Mon, 1 Apr 2013 14:13:58 -0400 (EDT) Date: Mon, 1 Apr 2013 14:13:58 -0400 From: Joe MacDonald To: Message-ID: <20130401181357.GK10672@windriver.com> References: <1364567102-6409-1-git-send-email-koen@dominion.thruhere.net> MIME-Version: 1.0 In-Reply-To: <1364567102-6409-1-git-send-email-koen@dominion.thruhere.net> X-URL: http://github.com/joeythesaint/joe-s-common-environment/tree/master X-Configuration: git://github.com/joeythesaint/joe-s-common-environment.git X-Editor: Vim-703 http://www.vim.org User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Koen Kooi Subject: Re: [meta-networking][meta-oe][PATCH 1/2] python-m2crypto: add 0.21.1 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 18:31:12 -0000 X-Groupsio-MsgNum: 43838 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQ77YLfPrO/qF/pM" Content-Disposition: inline --LQ77YLfPrO/qF/pM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Koen, [[oe] [meta-networking][meta-oe][PATCH 1/2] python-m2crypto: add 0.21.1] On= 13.03.29 (Fri 15:25) Koen Kooi wrote: > Signed-off-by: Koen Kooi > --- > ...y-link-in-sysroot-not-in-host-directories.patch | 39 ++++++++++++++++= ++++++ > .../python/python-m2crypto_0.21.1.bb | 19 +++++++++++ > 2 files changed, 58 insertions(+) > create mode 100644 meta-oe/recipes-devtools/python/python-m2crypto/0001-= setup.py-link-in-sysroot-not-in-host-directories.patch > create mode 100644 meta-oe/recipes-devtools/python/python-m2crypto_0.21.= 1.bb >=20 > diff --git a/meta-oe/recipes-devtools/python/python-m2crypto/0001-setup.p= y-link-in-sysroot-not-in-host-directories.patch b/meta-oe/recipes-devtools/= python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directorie= s.patch > new file mode 100644 > index 0000000..bcbdf24 > --- /dev/null > +++ b/meta-oe/recipes-devtools/python/python-m2crypto/0001-setup.py-link-= in-sysroot-not-in-host-directories.patch > @@ -0,0 +1,39 @@ > +From f11b9c71080513f9b867ba8f40613ba2ebc6e960 Mon Sep 17 00:00:00 2001 > +From: Koen Kooi > +Date: Fri, 29 Mar 2013 15:17:17 +0100 > +Subject: [PATCH] setup.py: link in sysroot, not in host directories > + > +Signed-off-by: Koen Kooi > + > +Upstream-status: Unknown Does this mean you haven't determined if it should be sent upstream yet, or you did and it's gone off into an apparent black hole of a mailing list somewhere? -J. > +--- > + setup.py | 6 +++--- > + 1 file changed, 3 insertions(+), 3 deletions(-) > + > +diff --git a/setup.py b/setup.py > +index e7c49eb..8deaa34 100644 > +--- a/setup.py > ++++ b/setup.py > +@@ -40,7 +40,7 @@ class _M2CryptoBuildExt(build_ext.build_ext): > + self.openssl =3D 'c:\\pkg' > + else: > + self.libraries =3D ['ssl', 'crypto'] > +- self.openssl =3D '/usr' > ++ self.openssl =3D os.environ.get( "STAGING_DIR" ) > + =20 > + =20 > + def finalize_options(self): > +@@ -49,8 +49,8 @@ class _M2CryptoBuildExt(build_ext.build_ext): > +=20 > + build_ext.build_ext.finalize_options(self) > +=20 > +- opensslIncludeDir =3D os.path.join(self.openssl, 'include') > +- opensslLibraryDir =3D os.path.join(self.openssl, 'lib') > ++ opensslIncludeDir =3D os.environ.get( "STAGING_INCDIR" ) > ++ opensslLibraryDir =3D os.environ.get( "STAGING_LIBDIR" ) > + =20 > + self.swig_opts =3D ['-I%s' % i for i in self.include_dirs + \ > + [opensslIncludeDir]] > +--=20 > +1.8.1.4 > + > diff --git a/meta-oe/recipes-devtools/python/python-m2crypto_0.21.1.bb b/= meta-oe/recipes-devtools/python/python-m2crypto_0.21.1.bb > new file mode 100644 > index 0000000..9babc04 > --- /dev/null > +++ b/meta-oe/recipes-devtools/python/python-m2crypto_0.21.1.bb > @@ -0,0 +1,19 @@ > +DESCRIPTION =3D "A Python crypto and SSL toolkit" > +HOMEPAGE =3D "http://chandlerproject.org/bin/view/Projects/MeTooCrypto" > + > +DEPENDS =3D "openssl swig-native" > + > +LICENSE =3D "BSD" > +LIC_FILES_CHKSUM =3D "file://LICENCE;md5=3Db0e1f0b7d0ce8a62c18b1287b9918= 00e" > + > +SRC_URI =3D "http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-= ${PV}.tar.gz \ > + file://0001-setup.py-link-in-sysroot-not-in-host-directories.= patch" > + > +SRC_URI[md5sum] =3D "f93d8462ff7646397a9f77a2fe602d17" > +SRC_URI[sha256sum] =3D "25b94498505c2d800ee465db0cc1aff097b1615adc3ac042= a1c85ceca264fc0a" > + > +S =3D "${WORKDIR}/M2Crypto-${PV}" > + > +inherit setuptools > + > +BBCLASSEXTEND =3D "native" --=20 -Joe MacDonald. :wq --LQ77YLfPrO/qF/pM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlFZzmUACgkQPN8S4W6ZZncFrQCeMGB+fofKqWgvAhtiI8VVaPHU wFoAn0YLBQA2KSPIY9b0ulafWERbVh4Q =7s7m -----END PGP SIGNATURE----- --LQ77YLfPrO/qF/pM--