Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 15:11:50 -0800 (PST)
From:      Sofian Brabez <sbrabez@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/152122: [patch] archivers/py-lzma: update to 0.4.2, take maintainership
Message-ID:  <4cdb26b6.41e9d80a.4ca6.416d@mx.google.com>
Resent-Message-ID: <201011102320.oAANK9M3002838@freefall.freebsd.org>

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

>Number:         152122
>Category:       ports
>Synopsis:       [patch] archivers/py-lzma: update to 0.4.2, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 10 23:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sofian Brabez
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd81 8.1-STABLE FreeBSD 8.1-STABLE #1: Tue Aug 31 22:46:46 CEST 2010
>Description:
- Update to 0.4.2
- Take maintainership

Added file(s):
- files/patch-src__compat__LzmaCompatDecode.h

Removed file(s):
- files/patch-7zip-LzmaCompatDecode.h

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

--- py26-lzma-0.4.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/Makefile /tmp/py-lzma/Makefile
--- /usr/ports/archivers/py-lzma/Makefile	2010-07-08 04:04:04.000000000 +0200
+++ /tmp/py-lzma/Makefile	2010-11-11 01:09:51.000000000 +0100
@@ -6,17 +6,29 @@
 #
 
 PORTNAME=	lzma
-PORTVERSION=	0.3.0
+PORTVERSION=	0.4.2
 CATEGORIES=	archivers python
-MASTER_SITES=	http://www.joachim-bauch.de/projects/python/pylzma/releases/
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	pylzma-${PORTVERSION}
+DISTNAME=	py${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sbrabez@gmail.com
 COMMENT=	Python binding for the LZMA compression library
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_PKGNAME=	pylzma
+USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_PKGNAME=	py${PORTNAME}
+PYEASYINSTALL_ARCHDEP=	yes
+PYEASYINSTALL_EGG=	${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}${PYEASYINSTALL_OSARCH}.egg
+
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
+
+PORTDOCS=	usage.txt
+
+.if !defined(NOPORTDOCS)
+post-install:
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
+.endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/distinfo /tmp/py-lzma/distinfo
--- /usr/ports/archivers/py-lzma/distinfo	2007-01-06 10:48:23.000000000 +0100
+++ /tmp/py-lzma/distinfo	2010-11-10 23:56:48.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (pylzma-0.3.0.tar.gz) = 7ab1a1706cf3e19f2d10579d795babf7
-SHA256 (pylzma-0.3.0.tar.gz) = 3c110341150bcff08cbe46f9236bb10a71ce00bebd626cb08327af148c03921c
-SIZE (pylzma-0.3.0.tar.gz) = 117440
+SHA256 (pylzma-0.4.2.tar.gz) = 7d61ccae245f82714451805476b5673a8704e753431d14309987cd69f37425c7
+SIZE (pylzma-0.4.2.tar.gz) = 93257
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h /tmp/py-lzma/files/patch-7zip-LzmaCompatDecode.h
--- /usr/ports/archivers/py-lzma/files/patch-7zip-LzmaCompatDecode.h	2007-01-06 10:48:24.000000000 +0100
+++ /tmp/py-lzma/files/patch-7zip-LzmaCompatDecode.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
---- 7zip/LzmaCompatDecode.h.orig	Thu Dec 28 06:27:50 2006
-+++ 7zip/LzmaCompatDecode.h	Thu Dec 28 06:27:56 2006
-@@ -39,10 +39,6 @@
- #  define LZMACALL
- #endif
- 
--#ifndef malloc
--#include <malloc.h>
--#endif
--
- #ifndef UInt32
- #ifdef _LZMA_UINT32_IS_ULONG
- #define UInt32 unsigned long
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	1970-01-01 01:00:00.000000000 +0100
+++ /tmp/py-lzma/files/patch-src__compat__LzmaCompatDecode.h	2010-11-11 00:22:06.000000000 +0100
@@ -0,0 +1,17 @@
+--- ./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
+@@ -39,14 +39,6 @@
+ #  define LZMACALL
+ #endif
+ 
+-#ifndef malloc
+-# ifdef __APPLE__
+-#include <malloc/malloc.h>
+-# else
+-#include <malloc.h>
+-# endif
+-#endif
+-
+ #ifndef UInt32
+ #ifdef _LZMA_UINT32_IS_ULONG
+ #define UInt32 unsigned long
diff -ruN --exclude=CVS /usr/ports/archivers/py-lzma/pkg-plist /tmp/py-lzma/pkg-plist
--- /usr/ports/archivers/py-lzma/pkg-plist	2004-05-28 16:33:03.000000000 +0200
+++ /tmp/py-lzma/pkg-plist	2010-11-11 01:05:14.000000000 +0100
@@ -1,4 +1,16 @@
-%%PYTHON_SITELIBDIR%%/py7zlib.py
-%%PYTHON_SITELIBDIR%%/py7zlib.pyc
-%%PYTHON_SITELIBDIR%%/py7zlib.pyo
-%%PYTHON_SITELIBDIR%%/pylzma.so
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%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%%/py7zlib.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py7zlib.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py7zlib.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pylzma.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pylzma.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pylzma.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pylzma.so
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
--- py26-lzma-0.4.2.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?4cdb26b6.41e9d80a.4ca6.416d>