From sbrabez@gmail.com  Thu Jan 27 09:26:40 2011
Return-Path: <sbrabez@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 01EF41065771
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Jan 2011 09:26:40 +0000 (UTC)
	(envelope-from sbrabez@gmail.com)
Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54])
	by mx1.freebsd.org (Postfix) with ESMTP id 88B458FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Jan 2011 09:26:39 +0000 (UTC)
Received: by fxm16 with SMTP id 16so2023762fxm.13
        for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Jan 2011 01:26:38 -0800 (PST)
Received: by 10.223.83.144 with SMTP id f16mr680825fal.4.1296120398275;
        Thu, 27 Jan 2011 01:26:38 -0800 (PST)
Received: from localhost (paris.office.wallix.com [82.238.42.70])
        by mx.google.com with ESMTPS id 21sm5869151fav.17.2011.01.27.01.26.36
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 27 Jan 2011 01:26:36 -0800 (PST)
Message-Id: <4d413a4c.9505df0a.50d3.ffffa16a@mx.google.com>
Date: Thu, 27 Jan 2011 01:26:36 -0800 (PST)
From: Sofian Brabez <sbrabez@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer-update] archivers/py-lzma: update to 0.4.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         154330
>Category:       ports
>Synopsis:       [maintainer-update] archivers/py-lzma: update to 0.4.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 27 09:30:08 UTC 2011
>Closed-Date:    Sat Jan 29 12:29:26 UTC 2011
>Last-Modified:  Sat Jan 29 12:29:26 UTC 2011
>Originator:     Sofian Brabez
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.ifr.lan 8.1-STABLE FreeBSD 8.1-STABLE #3: Wed Nov 17 10:34:25 CET 2010
>Description:
- Update to 0.4.3
- Add LICENSE

Added file(s):
- files/patch-setup.py
- files/patch-src__7zip__C__CpuArch.c

http://regis.goodking.ca/tb/logs/7-sbz/py26-lzma-0.4.3.log
http://regis.goodking.ca/tb/logs/8-sbz/py26-lzma-0.4.3.log
http://regis.goodking.ca/tb/logs/9-sbz/py26-lzma-0.4.3.log

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- py26-lzma-0.4.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/Makefile /tmp/py-lzma/Makefile
--- /usr/ports/archivers/py-lzma/Makefile	2010-11-15 10:09:19.000000000 +0100
+++ /tmp/py-lzma/Makefile	2011-01-27 10:24:19.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lzma
-PORTVERSION=	0.4.2
+PORTVERSION=	0.4.3
 CATEGORIES=	archivers python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,6 +15,11 @@
 MAINTAINER=	sbrabez@gmail.com
 COMMENT=	Python binding for the LZMA compression library
 
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+ONLY_FOR_ARCHS=	i386
+
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	py${PORTNAME}
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/distinfo /tmp/py-lzma/distinfo
--- /usr/ports/archivers/py-lzma/distinfo	2010-11-15 10:09:19.000000000 +0100
+++ /tmp/py-lzma/distinfo	2011-01-27 10:07:15.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (pylzma-0.4.2.tar.gz) = 7d61ccae245f82714451805476b5673a8704e753431d14309987cd69f37425c7
-SIZE (pylzma-0.4.2.tar.gz) = 93257
+SHA256 (pylzma-0.4.3.tar.gz) = ddfc7fc7bfe1d4b84c88c981ce0c508a96766fdcdf53c415b63b3ca8f60a4239
+SIZE (pylzma-0.4.3.tar.gz) = 104857
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-setup.py /tmp/py-lzma/files/patch-setup.py
--- /usr/ports/archivers/py-lzma/files/patch-setup.py	1970-01-01 01:00:00.000000000 +0100
+++ /tmp/py-lzma/files/patch-setup.py	2011-01-27 10:07:15.000000000 +0100
@@ -0,0 +1,19 @@
+--- ./setup.py.orig	2010-10-23 22:50:04.000000000 +0200
++++ ./setup.py	2011-01-27 02:30:39.000000000 +0100
+@@ -27,13 +27,10 @@
+ from distutils import log
+ from distutils.command.build_ext import build_ext as _build_ext
+ 
+-try:
+-    from setuptools import setup, Extension
+-except ImportError:
+-    from ez_setup import use_setuptools
+-    use_setuptools()
++from ez_setup import use_setuptools
++use_setuptools()
+ 
+-    from setuptools import setup, Extension
++from setuptools import setup, Extension
+ 
+ class UnsupportedPlatformWarning(Warning):
+     pass
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-src__7zip__C__CpuArch.c /tmp/py-lzma/files/patch-src__7zip__C__CpuArch.c
--- /usr/ports/archivers/py-lzma/files/patch-src__7zip__C__CpuArch.c	1970-01-01 01:00:00.000000000 +0100
+++ /tmp/py-lzma/files/patch-src__7zip__C__CpuArch.c	2011-01-27 10:07:15.000000000 +0100
@@ -0,0 +1,26 @@
+--- ./src/7zip/C/CpuArch.c.orig	2010-07-21 22:13:50.000000000 +0200
++++ ./src/7zip/C/CpuArch.c	2011-01-27 02:31:44.000000000 +0100
+@@ -72,14 +72,15 @@
+ 
+   #else
+ 
+- 	__asm__ __volatile__ (
+- 		"cpuid"
+- 		: "=a" (*a) ,
+- 		  "=b" (*b) ,
+- 		  "=c" (*c) ,
+- 		  "=d" (*d)
+-		: "0" (function)) ;
+-
++ /* fix GCC build error with -fPIC by storing ebx value before calling cpuid */
++  __asm__ __volatile__(
++		"pushl %%ebx \n\t"
++                "cpuid \n\t"
++                "movl %%ebx, %1 \n\t"
++                "popl %%ebx \n\t"
++                : "=a"(*a), "=r"(*b), "=c"(*c), "=d"(*d)
++                : "a"(function)
++                : "cc");
+   #endif
+   
+   #else
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h /tmp/py-lzma/files/patch-src__compat__LzmaCompatDecode.h
--- /usr/ports/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h	2010-11-11 16:36:14.000000000 +0100
+++ /tmp/py-lzma/files/patch-src__compat__LzmaCompatDecode.h	2011-01-27 10:07:15.000000000 +0100
@@ -1,5 +1,5 @@
 --- ./src/compat/LzmaCompatDecode.h.orig	2010-04-24 00:26:40.000000000 +0200
-+++ ./src/compat/LzmaCompatDecode.h	2010-11-11 00:20:51.000000000 +0100
++++ ./src/compat/LzmaCompatDecode.h	2011-01-27 02:30:39.000000000 +0100
 @@ -39,14 +39,6 @@
  #  define LZMACALL
  #endif
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/pkg-plist /tmp/py-lzma/pkg-plist
--- /usr/ports/archivers/py-lzma/pkg-plist	2010-11-15 10:09:19.000000000 +0100
+++ /tmp/py-lzma/pkg-plist	2011-01-27 10:07:15.000000000 +0100
@@ -5,6 +5,7 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py7zlib.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py7zlib.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py7zlib.pyo
--- py26-lzma-0.4.3.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Fri Jan 28 04:58:32 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154330 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/154330: commit references a PR
Date: Sat, 29 Jan 2011 03:51:11 +0000 (UTC)

 miwi        2011-01-29 03:51:06 UTC
 
   FreeBSD ports repository
 
   Modified files:
     archivers/py-lzma    Makefile distinfo pkg-plist 
     archivers/py-lzma/files patch-src__compat__LzmaCompatDecode.h 
   Added files:
     archivers/py-lzma/files patch-setup.py 
                             patch-src__7zip__C__CpuArch.c 
   Log:
   - Update to 0.4.3
   
   PR:             154330
   Submitted by:   Sofian Brabez <sbrabez@gmail.com>
   Feature safe:   yes
   
   Revision  Changes    Path
   1.10      +7 -1      ports/archivers/py-lzma/Makefile
   1.5       +2 -2      ports/archivers/py-lzma/distinfo
   1.1       +19 -0     ports/archivers/py-lzma/files/patch-setup.py (new)
   1.1       +26 -0     ports/archivers/py-lzma/files/patch-src__7zip__C__CpuArch.c (new)
   1.2       +1 -1      ports/archivers/py-lzma/files/patch-src__compat__LzmaCompatDecode.h
   1.3       +2 -1      ports/archivers/py-lzma/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jan 29 12:29:25 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=154330 
>Unformatted:
