From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UMjiE-00082Y-4G for openembedded-devel@lists.openembedded.org; Mon, 01 Apr 2013 20:44:10 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r31IQxnT028573 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 1 Apr 2013 11:26:59 -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:26:59 -0700 Received: from yow-jmacdona-l1 (unknown [172.25.44.2]) by yow-jmacdona-d1.ottawa.wrs.com (Postfix) with ESMTP id 804FE7FCE; Mon, 1 Apr 2013 14:26:03 -0400 (EDT) Received: by yow-jmacdona-l1 (Postfix, from userid 1000) id 3595D20432; Mon, 1 Apr 2013 14:26:56 -0400 (EDT) Date: Mon, 1 Apr 2013 14:26:56 -0400 From: Joe MacDonald To: Koen Kooi Message-ID: <20130401182655.GM10672@windriver.com> References: <1364567102-6409-1-git-send-email-koen@dominion.thruhere.net> <20130401181357.GK10672@windriver.com> <23CA3232-CC08-4140-A95E-4B6E1F10186F@dominion.thruhere.net> <20130401182131.GL10672@windriver.com> MIME-Version: 1.0 In-Reply-To: <20130401182131.GL10672@windriver.com> 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: openembedded-devel@lists.openembedded.org 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:44:11 -0000 X-Groupsio-MsgNum: 43841 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m+utxuhC6KVTvgNz" Content-Disposition: inline --m+utxuhC6KVTvgNz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Re: [oe] [meta-networking][meta-oe][PATCH 1/2] python-m2crypto: add 0.21.1= ] On 13.04.01 (Mon 14:21) Joe MacDonald wrote: > [Re: [oe] [meta-networking][meta-oe][PATCH 1/2] python-m2crypto: add 0.21= =2E1] On 13.04.01 (Mon 20:15) Koen Kooi wrote: >=20 > >=20 > > Op 1 apr. 2013, om 20:13 heeft Joe MacDonald het volgende geschreven: > >=20 > > > Hey Koen, > > >=20 > > > [[oe] [meta-networking][meta-oe][PATCH 1/2] python-m2crypto: add 0.21= =2E1] On 13.03.29 (Fri 15:25) Koen Kooi wrote: > > >=20 > > >> 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/0= 001-setup.py-link-in-sysroot-not-in-host-directories.patch > > >> create mode 100644 meta-oe/recipes-devtools/python/python-m2crypto_0= =2E21.1.bb > > >>=20 > > >> diff --git a/meta-oe/recipes-devtools/python/python-m2crypto/0001-se= tup.py-link-in-sysroot-not-in-host-directories.patch b/meta-oe/recipes-devt= ools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-direc= tories.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 2= 001 > > >> +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 > > >=20 > > > Does this mean you haven't determined if it should be sent upstream y= et, > > > or you did and it's gone off into an apparent black hole of a mailing > > > list somewhere? > >=20 > > The former >=20 > Okay. Isn't that normally 'Pending' then? I can make that tweak in my > merge, but I wanted to confirm I had the right information there first. Except now that I'm looking at my merge tree again I noticed this is in meta-oe not meta-networking, so I'll not merge that at all unless asked. :-) -J. >=20 > -J. >=20 > >=20 > > >=20 > > > -J. > > >=20 > > >> +--- > > >> + 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/MeTooCry= pto" > > >> + > > >> +DEPENDS =3D "openssl swig-native" > > >> + > > >> +LICENSE =3D "BSD" > > >> +LIC_FILES_CHKSUM =3D "file://LICENCE;md5=3Db0e1f0b7d0ce8a62c18b1287= b991800e" > > >> + > > >> +SRC_URI =3D "http://pypi.python.org/packages/source/M/M2Crypto/M2Cr= ypto-${PV}.tar.gz \ > > >> + file://0001-setup.py-link-in-sysroot-not-in-host-directo= ries.patch" > > >> + > > >> +SRC_URI[md5sum] =3D "f93d8462ff7646397a9f77a2fe602d17" > > >> +SRC_URI[sha256sum] =3D "25b94498505c2d800ee465db0cc1aff097b1615adc3= ac042a1c85ceca264fc0a" > > >> + > > >> +S =3D "${WORKDIR}/M2Crypto-${PV}" > > >> + > > >> +inherit setuptools > > >> + > > >> +BBCLASSEXTEND =3D "native" > > > --=20 > > > -Joe MacDonald. > > > :wq > >=20 >=20 --=20 -Joe MacDonald. :wq --m+utxuhC6KVTvgNz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlFZ0W8ACgkQPN8S4W6ZZnciBACeIvp1xYXuUqdhHyUk3J/F7EGF SrEAnjHuW7Z6cqroTZ5Z+jZ9I6O/OQxW =TGUW -----END PGP SIGNATURE----- --m+utxuhC6KVTvgNz--