Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2011 01:26:36 -0800 (PST)
From:      Sofian Brabez <sbrabez@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/154330: [maintainer-update] archivers/py-lzma: update to 0.4.3
Message-ID:  <4d413a4c.9505df0a.50d3.ffffa16a@mx.google.com>
Resent-Message-ID: <201101270930.p0R9U9PU097751@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154330
>Category:       ports
>Synopsis:       [maintainer-update] archivers/py-lzma: update to 0.4.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 27 09:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d413a4c.9505df0a.50d3.ffffa16a>