ports/161163: [patch] textproc/codespell: Update to latest version

Glen Barber gjb at FreeBSD.org
Fri Sep 30 15:30:12 UTC 2011


>Number:         161163
>Category:       ports
>Synopsis:       [patch] textproc/codespell: Update to latest version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 30 15:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Glen Barber
>Release:        10-CURRENT
>Organization:
>Environment:
>Description:
Update textproc/codespell to version 1.2:

1. There's an option to use chardet for encoding detection. If your
code base has mixed encodings, other then utf-8 / ascii / iso8859-1,
this is a nice addition since it will be able to properly detect the
encoding. I kept the other one as default because utf-8 is the most
used encoding (at least in source code) and chardet is much slower
than my hackish encoding detection (from my benchmarks, ~10 times).

2. Skip files that match a pattern. One issue with codespell when
running in recursive mode is that it would try to fix whatever file is
not inside .svn/.git dirs. It can ignore binary files, but there are
some text files that we are better not patching: *.eps, cscope.out,
*.svg etc. Now there's an option to skip them accepting globs:
codespell.py --skip "*.eps,cscope.out,*.svg".

3. Makefile to ease the integration in distributions. I created a
package for Archlinux using it
(http://aur.archlinux.org/packages.php?ID=49980)
>How-To-Repeat:

>Fix:
Patch is attached.

Tinderbox logs can be found here:

https://builder.glenbarber.us/tb/logs/9-64-FreeBSD/codespell-1.2.log
https://builder.glenbarber.us/tb/logs/8-64-FreeBSD/codespell-1.2.log
https://builder.glenbarber.us/tb/logs/7-64-FreeBSD/codespell-1.2.log
https://builder.glenbarber.us/tb/logs/9-32-FreeBSD/codespell-1.2.log
https://builder.glenbarber.us/tb/logs/8-32-FreeBSD/codespell-1.2.log
https://builder.glenbarber.us/tb/logs/7-32-FreeBSD/codespell-1.2.log



Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/codespell/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	24 Aug 2011 13:15:13 -0000	1.3
+++ Makefile	30 Sep 2011 15:18:13 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	codespell
-PORTVERSION=	1.1.1
+PORTVERSION=	1.2
 CATEGORIES=	textproc
 MASTER_SITES=	http://packages.profusion.mobi/${PORTNAME}/ \
 		http://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/textproc/codespell/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	24 Aug 2011 13:15:13 -0000	1.3
+++ distinfo	30 Sep 2011 15:18:13 -0000
@@ -1,2 +1,2 @@
-SHA256 (codespell-1.1.1.tar.gz) = 332a0cfce64dc6688c786a5dc6265ffa48193d776cd4bfa244abde6a5a09ac5b
-SIZE (codespell-1.1.1.tar.gz) = 42277
+SHA256 (codespell-1.2.tar.gz) = 2583f3d2fbc8f4eb5d86fae2b475fe7a0456eba6fbbe560444529f08c3377d63
+SIZE (codespell-1.2.tar.gz) = 43266


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list