From nobody@FreeBSD.org  Tue Feb  7 15:59:46 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C339B1065675
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Feb 2012 15:59:46 +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 97FFC8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Feb 2012 15:59:46 +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 q17Fxkhg048013
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 7 Feb 2012 15:59:46 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q17FxknA048012;
	Tue, 7 Feb 2012 15:59:46 GMT
	(envelope-from nobody)
Message-Id: <201202071559.q17FxknA048012@red.freebsd.org>
Date: Tue, 7 Feb 2012 15:59:46 GMT
From: Olivier Duchateau <duchateau.olivier@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] textproc/py-chardet
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         164855
>Category:       ports
>Synopsis:       [PATCH] textproc/py-chardet: adjust value of MASTER_SITES, and USE_PYDISTUTILS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 07 16:00:36 UTC 2012
>Closed-Date:    Mon Dec 23 21:52:24 UTC 2013
>Last-Modified:  Mon Dec 23 22:00:00 UTC 2013
>Originator:     Olivier Duchateau
>Release:        FreeBSD 9.0-RELEASE i386
>Organization:
>Environment:
>Description:
Adjust 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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Feb 7 16:00:53 UTC 2012 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164855 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Sun Feb 19 23:09:52 UTC 2012 
State-Changed-Why:  
fails to build 
http://tb.smeets.im/tb/index.php?action=describe_port&id=2114 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164855 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Mar 4 12:50:04 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164855 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/164855: commit references a PR
Date: Sun,  4 Mar 2012 12:50:14 +0000 (UTC)

 miwi        2012-03-04 12:49:56 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/py-chardet  pkg-descr 
   Log:
   - Update WWW
   
   PR:             164855
   Submitted by:   Olivier Duchateau <duchateau.olivier@gmail.com>
   
   Revision  Changes    Path
   1.2       +1 -2      ports/textproc/py-chardet/pkg-descr
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: closed->open 
State-Changed-By: olgeni 
State-Changed-When: Fri Mar 30 20:55:06 UTC 2012 
State-Changed-Why:  
This patch is needed by ports/166252; the dfilter message seems to refer to a different patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164855 
Responsible-Changed-From-To: miwi->olgeni 
Responsible-Changed-By: olgeni 
Responsible-Changed-When: Fri Mar 30 20:59:14 UTC 2012 
Responsible-Changed-Why:  
Taking this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164855 
Responsible-Changed-From-To: olgeni->rm 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jan 20 01:28:56 UTC 2013 
Responsible-Changed-Why:  
Over to new maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164855 
State-Changed-From-To: open->closed 
State-Changed-By: rm 
State-Changed-When: Mon Dec 23 21:52:23 UTC 2013 
State-Changed-Why:  
Committed, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164855 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/164855: commit references a PR
Date: Mon, 23 Dec 2013 21:52:10 +0000 (UTC)

 Author: rm
 Date: Mon Dec 23 21:52:02 2013
 New Revision: 337301
 URL: http://svnweb.freebsd.org/changeset/ports/337301
 
 Log:
   - update to 2.2.1
   - support staging
   - update WWW
   
   PR:		164855
   Submitted by:	olivierd (based on)
 
 Deleted:
   head/textproc/py-chardet/pkg-plist
 Modified:
   head/textproc/py-chardet/Makefile
   head/textproc/py-chardet/distinfo
   head/textproc/py-chardet/pkg-descr
 
 Modified: head/textproc/py-chardet/Makefile
 ==============================================================================
 --- head/textproc/py-chardet/Makefile	Mon Dec 23 21:38:27 2013	(r337300)
 +++ head/textproc/py-chardet/Makefile	Mon Dec 23 21:52:02 2013	(r337301)
 @@ -2,36 +2,25 @@
  # $FreeBSD$
  
  PORTNAME=	chardet
 -PORTVERSION=	2.0.1
 -PORTREVISION=	1
 +PORTVERSION=	2.2.1
  CATEGORIES=	textproc python
 -#MASTER_SITES=	http://chardet.feedparser.org/download/
 -MASTER_SITES=	http://darkstar.ist.utl.pt/slackware/addon/slacky/%SUBDIR%/ \
 -		http://repository.slacky.eu/%SUBDIR%/ \
 -		http://slack.isper.sk/pub/%SUBDIR%/ \
 -		http://www.slackware.org.uk/slacky/%SUBDIR%/
 -MASTER_SITE_SUBDIR=	slackware64-13.37/libraries/python2-${PORTNAME}/${PORTVERSION}/src
 +MASTER_SITES=	CHEESESHOP
  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 -DISTNAME=	python2-${PORTNAME}-${PORTVERSION}
 -EXTRACT_SUFX=	.tgz
  
  MAINTAINER=	rm@FreeBSD.org
  COMMENT=	Character encoding auto-detection in Python
  
  LICENSE=	LGPL21
  
 -USE_PYTHON=	yes
 -USE_PYDISTUTILS=yes
 -
 -DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 +USE_PYTHON=		yes
 +USE_PYDISTUTILS=	yes
 +PYDISTUTILS_AUTOPLIST=	yes
  
 +DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
  PORTDOCS=	*
  
 -NO_STAGE=	yes
  post-install:
 -.if !defined(NOPORTDOCS)
 -	@${MKDIR} ${DOCSDIR}
 -	@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR})
 -.endif
 +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 +	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
  
  .include <bsd.port.mk>
 
 Modified: head/textproc/py-chardet/distinfo
 ==============================================================================
 --- head/textproc/py-chardet/distinfo	Mon Dec 23 21:38:27 2013	(r337300)
 +++ head/textproc/py-chardet/distinfo	Mon Dec 23 21:52:02 2013	(r337301)
 @@ -1,2 +1,2 @@
 -SHA256 (python2-chardet-2.0.1.tgz) = 56fa0c37189b0a5f082d064dec59d69a044aaa3eeb7acb9b3081e2ba306deaa4
 -SIZE (python2-chardet-2.0.1.tgz) = 177793
 +SHA256 (chardet-2.2.1.tar.gz) = f1964f73f5ee9b7e0309098b9512d587fbba6dd5d1f3797b1c95529e5241bf09
 +SIZE (chardet-2.2.1.tar.gz) = 180319
 
 Modified: head/textproc/py-chardet/pkg-descr
 ==============================================================================
 --- head/textproc/py-chardet/pkg-descr	Mon Dec 23 21:38:27 2013	(r337300)
 +++ head/textproc/py-chardet/pkg-descr	Mon Dec 23 21:52:02 2013	(r337301)
 @@ -1,3 +1,3 @@
  Character encoding auto-detection in Python.
  
 -WWW: https://github.com/byroot/chardet
 +WWW: https://github.com/chardet/chardet/
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
