From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 1 10:30:13 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7316D1065673 for ; Sun, 1 Apr 2012 10:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4C14F8FC0A for ; Sun, 1 Apr 2012 10:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q31AUDw3037695 for ; Sun, 1 Apr 2012 10:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q31AUDj8037692; Sun, 1 Apr 2012 10:30:13 GMT (envelope-from gnats) Resent-Date: Sun, 1 Apr 2012 10:30:13 GMT Resent-Message-Id: <201204011030.q31AUDj8037692@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olivier Duchateau Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A42AE106566C for ; Sun, 1 Apr 2012 10:27:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC008FC18 for ; Sun, 1 Apr 2012 10:27:25 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q31ARPak050321 for ; Sun, 1 Apr 2012 10:27:25 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q31ARPBn050320; Sun, 1 Apr 2012 10:27:25 GMT (envelope-from nobody) Message-Id: <201204011027.q31ARPBn050320@red.freebsd.org> Date: Sun, 1 Apr 2012 10:27:25 GMT From: Olivier Duchateau To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/166557: [PATCH] textproc/py-chardet X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2012 10:30:13 -0000 >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 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: