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 1UMm9b-0002dP-PR for openembedded-devel@lists.openembedded.org; Mon, 01 Apr 2013 23:20:36 +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 r31L3OAg019471 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 1 Apr 2013 14:03:24 -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 14:03:23 -0700 Received: from yow-jmacdona-l1 (unknown [172.25.44.2]) by yow-jmacdona-d1.ottawa.wrs.com (Postfix) with ESMTP id 36C497FCE; Mon, 1 Apr 2013 17:02:28 -0400 (EDT) Received: by yow-jmacdona-l1 (Postfix, from userid 1000) id DF0BF20432; Mon, 1 Apr 2013 17:03:21 -0400 (EDT) Date: Mon, 1 Apr 2013 17:03:21 -0400 From: Joe MacDonald To: Koen Kooi Message-ID: <20130401210320.GA21215@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> <3B6011D6-AA55-4A46-849A-07484DEEA060@dominion.thruhere.net> MIME-Version: 1.0 In-Reply-To: <3B6011D6-AA55-4A46-849A-07484DEEA060@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: 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 21:20:36 -0000 X-Groupsio-MsgNum: 43843 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline --17pEHd4RhPHOinZp 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 22:33) Koen Kooi wrote: >=20 > Op 1 apr. 2013, om 20:21 heeft Joe MacDonald het volgende geschreven: >=20 > > [Re: [oe] [meta-networking][meta-oe][PATCH 1/2] python-m2crypto: add 0.= 21.1] 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. >=20 > If you think 'Pending' reflects the status better than 'Unknown', go for = it, but 'Pending' has been the catch-all for Upstream-status fields, so any= time you see 'Pending' you know you can't trust the Upstream-status field.= =20 Yeah, certainly no argument here, 'Pending' implies something to me that simply isn't so based both on experience and the strict definition on the website. But that does seem to fit the definition reasonably well. So since the meta-networking bit depends on the meta-oe bit being merged, do you want me to merge both at the same time? Or if you would prefer to do the merge, I'm happy with the meta-networking piece of this, so feel free. -J. >=20 > >=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 >=20 --=20 -Joe MacDonald. :wq --17pEHd4RhPHOinZp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlFZ9hgACgkQPN8S4W6ZZndfPwCfb/JfEaPjm9dhEIMfT0Y2Pn73 RB8An1CtLNLGPHQFjPDbtgMBfbKDlDqr =AGwV -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--