Date: Sun, 1 Apr 2012 10:27:25 GMT From: Olivier Duchateau <duchateau.olivier@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/166557: [PATCH] textproc/py-chardet Message-ID: <201204011027.q31ARPBn050320@red.freebsd.org> Resent-Message-ID: <201204011030.q31AUDj8037692@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166557 >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: Sun Apr 01 10:30:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olivier Duchateau >Release: FreeBSD 8.2-RELEASE-p3 i386 >Organization: >Environment: >Description: - Fix MASTER_SITES, USE_PYDISTUTILS macros - Delete pkg-plist, because module is "zipped", so add PLIST_FILES >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 22:42:15.000000000 +0200 +++ py-chardet/Makefile 2012-04-01 11:50:34.000000000 +0200 @@ -7,27 +7,18 @@ PORTNAME= chardet 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 +DISTNAME= ${PORTNAME}2-${PORTVERSION} 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 +PYDISTUTILS_PKGNAME= ${PORTNAME}2 -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 16:39:49.000000000 +0200 +++ py-chardet/distinfo 2012-04-01 11:50:34.000000000 +0200 @@ -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 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?201204011027.q31ARPBn050320>