Date: Tue, 7 Feb 2012 15:59:46 GMT From: Olivier Duchateau <duchateau.olivier@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/164855: [PATCH] textproc/py-chardet Message-ID: <201202071559.q17FxknA048012@red.freebsd.org> Resent-Message-ID: <201202071600.q17G0alu052124@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 164855 >Category: ports >Synopsis: [PATCH] textproc/py-chardet >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 07 16:00:36 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olivier Duchateau >Release: FreeBSD 9.0-RELEASE i386 >Organization: >Environment: >Description: Ajust value of MASTER_SITES, and USE_PYDISTUTILS. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -u /usr/ports/textproc/py-chardet/Makefile py-chardet/Makefile --- /usr/ports/textproc/py-chardet/Makefile 2010-04-03 20:42:15.000000000 +0000 +++ py-chardet/Makefile 2012-02-07 16:22:43.000000000 +0000 @@ -4,30 +4,18 @@ # # $FreeBSD: ports/textproc/py-chardet/Makefile,v 1.6 2010/04/03 20:42:15 lwhsu Exp $ -PORTNAME= chardet +PORTNAME= chardet2 PORTVERSION= 2.0.1 CATEGORIES= textproc python -MASTER_SITES= http://chardet.feedparser.org/download/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= python2-${PORTNAME}-${PORTVERSION} -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Character encoding auto-detection in Python USE_PYTHON= yes -USE_PYDISTUTILS=yes +USE_PYDISTUTILS= easy_install -.if !defined(NOPORTDOCS) -PORTDOCS= docs COPYING -.endif - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for i in ${PORTDOCS} - ${CP} -R ${WRKSRC}/${i} ${DOCSDIR} -.endfor -.endif +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% .include <bsd.port.mk> diff -u /usr/ports/textproc/py-chardet/distinfo py-chardet/distinfo --- /usr/ports/textproc/py-chardet/distinfo 2011-07-03 14:39:49.000000000 +0000 +++ py-chardet/distinfo 2012-02-07 16:22:43.000000000 +0000 @@ -1,2 +1,2 @@ -SHA256 (python2-chardet-2.0.1.tgz) = 56fa0c37189b0a5f082d064dec59d69a044aaa3eeb7acb9b3081e2ba306deaa4 -SIZE (python2-chardet-2.0.1.tgz) = 177793 +SHA256 (chardet2-2.0.1.tar.gz) = 66a52dffeb670bc29b4e115a0b4b0ecb8cecbe93120fe9979775938f0544f37a +SIZE (chardet2-2.0.1.tar.gz) = 151734 diff -u /usr/ports/textproc/py-chardet/pkg-descr py-chardet/pkg-descr --- /usr/ports/textproc/py-chardet/pkg-descr 2006-01-25 22:46:32.000000000 +0000 +++ py-chardet/pkg-descr 2012-02-07 16:22:43.000000000 +0000 @@ -1,4 +1,4 @@ Character encoding auto-detection in Python. Author: Mark Pilgrim -WWW: http://chardet.feedparser.org/ +WWW: https://github.com/byroot/chardet Only in /usr/ports/textproc/py-chardet/: pkg-plist >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202071559.q17FxknA048012>