floppym 15/05/27 18:23:20 Modified: 0.22.3-packaging.patch 0.21.1-packaging.patch Log: Update patches. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Revision Changes Path 1.2 dev-python/m2crypto/files/0.22.3-packaging.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/m2crypto/files/0.22.3-packaging.patch?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/m2crypto/files/0.22.3-packaging.patch?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/m2crypto/files/0.22.3-packaging.patch?r1=1.1&r2=1.2 Index: 0.22.3-packaging.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/m2crypto/files/0.22.3-packaging.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 0.22.3-packaging.patch 25 May 2015 16:41:54 -0000 1.1 +++ 0.22.3-packaging.patch 27 May 2015 18:23:20 -0000 1.2 @@ -1,19 +1,27 @@ -From d307a38515c5d050bbf8555d79aff3e4ce78af78 Mon Sep 17 00:00:00 2001 +From 0f2c82f097cf6d3722b7793fe1159160f3f52725 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <[email protected]> Date: Mon, 25 May 2015 12:08:47 -0400 Subject: [PATCH] Gentoo-specific packaging fixes Fix cross-compiles EPREFIX support -Revert custom build and install classes --- setup.py | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/setup.py b/setup.py -index fc89513..806464f 100644 +index fc89513..8360e7e 100644 --- a/setup.py +++ b/setup.py +@@ -32,7 +32,7 @@ class CustomBuild(build): + class CustomInstall(install): + def run(self): + self.run_command('build_ext') +- self.do_egg_install() ++ install.run(self) + + class _M2CryptoBuildExt(build_ext.build_ext): + '''Specialization of build_ext to enable swig_opts to inherit any @@ -81,29 +81,19 @@ class _M2CryptoBuildExt(build_ext.build_ext): build_ext.build_ext.finalize_options(self) @@ -56,13 +64,6 @@ if sys.platform == 'darwin': my_extra_compile_args = ["-Wno-deprecated-declarations"] else: -@@ -162,5 +150,5 @@ interface.''', - - ext_modules = [m2crypto], - test_suite='tests.alltests.suite', -- cmdclass = {'build': CustomBuild, 'install': CustomInstall, 'build_ext': _M2CryptoBuildExt} -+ cmdclass = {'build_ext': _M2CryptoBuildExt} - ) -- 2.4.1 1.2 dev-python/m2crypto/files/0.21.1-packaging.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/m2crypto/files/0.21.1-packaging.patch?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/m2crypto/files/0.21.1-packaging.patch?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/m2crypto/files/0.21.1-packaging.patch?r1=1.1&r2=1.2 Index: 0.21.1-packaging.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/m2crypto/files/0.21.1-packaging.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- 0.21.1-packaging.patch 25 May 2015 17:16:54 -0000 1.1 +++ 0.21.1-packaging.patch 27 May 2015 18:23:20 -0000 1.2 @@ -1,19 +1,27 @@ -From 017d82b1f17446f38339589e25e9aba98f87f9f4 Mon Sep 17 00:00:00 2001 +From beb9c8df2e9cb79fcb1fd2a6ad6e43fff267c726 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <[email protected]> Date: Mon, 25 May 2015 13:09:35 -0400 Subject: [PATCH] Gentoo-specific packaging fixes Fix cross-compiles EPREFIX support -Revert custom build and install classes --- setup.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py -index 0967216..bca474a 100644 +index 0967216..640e019 100644 --- a/setup.py +++ b/setup.py +@@ -33,7 +33,7 @@ class CustomBuild(build): + class CustomInstall(install): + def run(self): + self.run_command('build_ext') +- self.do_egg_install() ++ install.run(self) + + class _M2CryptoBuildExt(build_ext.build_ext): + '''Specialization of build_ext to enable swig_opts to inherit any @@ -66,8 +66,8 @@ class _M2CryptoBuildExt(build_ext.build_ext): opensslIncludeDir = os.path.join(self.openssl, 'include', 'openssl') opensslLibraryDir = os.path.join(self.openssl, 'lib') @@ -44,13 +52,6 @@ if sys.version_info < (2,4): -@@ -182,5 +179,5 @@ used to provide SSL for Twisted.''', - - ext_modules = [m2crypto], - test_suite='tests.alltests.suite', -- cmdclass = {'build': CustomBuild, 'install': CustomInstall, 'build_ext': _M2CryptoBuildExt} -+ cmdclass = {'build_ext': _M2CryptoBuildExt} - ) -- 2.4.1
