From owner-svn-ports-all@freebsd.org  Fri Dec  2 02:49:25 2016
Return-Path: <owner-svn-ports-all@freebsd.org>
Delivered-To: svn-ports-all@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18390C62D23;
 Fri,  2 Dec 2016 02:49:25 +0000 (UTC) (envelope-from pfg@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id CEB061D1B;
 Fri,  2 Dec 2016 02:49:24 +0000 (UTC) (envelope-from pfg@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uB22nOOU064192;
 Fri, 2 Dec 2016 02:49:24 GMT (envelope-from pfg@FreeBSD.org)
Received: (from pfg@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id uB22nNwM064189;
 Fri, 2 Dec 2016 02:49:23 GMT (envelope-from pfg@FreeBSD.org)
Message-Id: <201612020249.uB22nNwM064189@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: pfg set sender to pfg@FreeBSD.org
 using -f
From: "Pedro F. Giffuni" <pfg@FreeBSD.org>
Date: Fri, 2 Dec 2016 02:49:23 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r427540 - head/textproc/codespell
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Dec 2016 02:49:25 -0000

Author: pfg (src committer)
Date: Fri Dec  2 02:49:23 2016
New Revision: 427540
URL: https://svnweb.freebsd.org/changeset/ports/427540

Log:
  textproc/codespell: Update to version 1.8.
  
  - Move to github.
  - Update to version 1.8 with fixes and updated dictionary
  - Use the included dictionary by default.
  
  Approved by:	gjb

Modified:
  head/textproc/codespell/Makefile
  head/textproc/codespell/distinfo
  head/textproc/codespell/pkg-descr

Modified: head/textproc/codespell/Makefile
==============================================================================
--- head/textproc/codespell/Makefile	Fri Dec  2 01:08:07 2016	(r427539)
+++ head/textproc/codespell/Makefile	Fri Dec  2 02:49:23 2016	(r427540)
@@ -1,11 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	codespell
-PORTVERSION=	1.6
-PORTREVISION=	2
+PORTVERSION=	1.8
 CATEGORIES=	textproc
-MASTER_SITES=	http://packages.profusion.mobi/${PORTNAME}/ \
-		https://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
 
 MAINTAINER=	gjb@FreeBSD.org
 COMMENT=	Source code spelling checker
@@ -14,10 +11,14 @@ LICENSE=	GPLv2
 
 USES=		python:3 tar:xz
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	lucasdemarchi
+GH_TAGNAME=	4cb7fe3
+
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 PLIST_FILES=	bin/codespell
-PORTDOCS=	COPYING README TODO
+PORTDOCS=	COPYING NEWS TODO
 PORTEXAMPLES=	*
 
 SUB_FILES+=	pkg-message
@@ -25,6 +26,8 @@ SUB_FILES+=	pkg-message
 do-build:
 	${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${PYTHON_CMD}|' \
 		${WRKSRC}/codespell.py
+	${REINPLACE_CMD} "s|^default_dictionary = .*|default_dictionary = '${EXAMPLESDIR}/data/dictionary.txt'|" \
+		${WRKSRC}/codespell.py
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/codespell.py ${STAGEDIR}${PREFIX}/bin/codespell

Modified: head/textproc/codespell/distinfo
==============================================================================
--- head/textproc/codespell/distinfo	Fri Dec  2 01:08:07 2016	(r427539)
+++ head/textproc/codespell/distinfo	Fri Dec  2 02:49:23 2016	(r427540)
@@ -1,2 +1,3 @@
-SHA256 (codespell-1.6.tar.xz) = 3e98afd24067934917420eee04f663b192324ca636c8e32d8427d2c9f4dc36d2
-SIZE (codespell-1.6.tar.xz) = 38656
+TIMESTAMP = 1480647008
+SHA256 (lucasdemarchi-codespell-1.8-4cb7fe3_GH0.tar.gz) = 4c09be1a8f1a0dcf69370be894aef960d548d8abe10467f6d3f172394f9b8d18
+SIZE (lucasdemarchi-codespell-1.8-4cb7fe3_GH0.tar.gz) = 46285

Modified: head/textproc/codespell/pkg-descr
==============================================================================
--- head/textproc/codespell/pkg-descr	Fri Dec  2 01:08:07 2016	(r427539)
+++ head/textproc/codespell/pkg-descr	Fri Dec  2 02:49:23 2016	(r427540)
@@ -1,3 +1,7 @@
 Source code spell checker.
 
-WWW: http://git.profusion.mobi/cgit.cgi/lucas/codespell/
+Fix common misspellings in text files. It's designed primarily for 
+checking misspelled words in source code, but it can be used with other 
+files as well.
+
+WWW: https://github.com/lucasdemarchi/codespell/