Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 15:19:02 GMT
From:      Glen Barber <gjb@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165629: [patch][maintainer] textproc/codespell: Update to version 1.4
Message-ID:  <201203021519.q22FJ2ff069653@red.freebsd.org>
Resent-Message-ID: <201203021520.q22FK39k017762@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165629
>Category:       ports
>Synopsis:       [patch][maintainer] textproc/codespell: Update to version 1.4
>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 Mar 02 15:20:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Glen Barber
>Release:        10-CURRENT r232116M
>Organization:
>Environment:
n/a
>Description:
Update textproc/codespell to version 1.4.

Changes include:

 - Allow hyphen in words
 - Various dictionary file updates

Tinderbox logs can be found here:

http://builder.glenbarber.us/tb/logs/10-64-FreeBSD/codespell-1.4.log
http://builder.glenbarber.us/tb/logs/9-64-FreeBSD/codespell-1.4.log
http://builder.glenbarber.us/tb/logs/8-64-FreeBSD/codespell-1.4.log
http://builder.glenbarber.us/tb/logs/7-64-FreeBSD/codespell-1.4.log

http://builder.glenbarber.us/tb/logs/10-32-FreeBSD/codespell-1.4.log
http://builder.glenbarber.us/tb/logs/9-32-FreeBSD/codespell-1.4.log
http://builder.glenbarber.us/tb/logs/8-32-FreeBSD/codespell-1.4.log
http://builder.glenbarber.us/tb/logs/7-32-FreeBSD/codespell-1.4.log

>How-To-Repeat:

>Fix:
Patch is attached.


Patch attached with submission follows:

diff -ruN textproc/codespell/Makefile textproc/codespell-1.4/Makefile
--- textproc/codespell/Makefile	2011-12-10 20:58:37.000000000 -0500
+++ textproc/codespell-1.4/Makefile	2012-03-02 09:35:48.582404209 -0500
@@ -6,10 +6,11 @@
 #
 
 PORTNAME=	codespell
-PORTVERSION=	1.3
+PORTVERSION=	1.4
 CATEGORIES=	textproc
 MASTER_SITES=	http://packages.profusion.mobi/${PORTNAME}/ \
 		http://www.glenbarber.us/ports/${CATEGORIES}/${PORTNAME}/
+EXTRACT_SUFX=	.tar.xz
 
 MAINTAINER=	gjb@FreeBSD.org
 COMMENT=	Source code spelling checker
@@ -17,6 +18,7 @@
 LICENSE=	GPLv2
 
 USE_PYTHON=	3.1+
+USE_XZ=		yes
 
 PLIST_FILES=	bin/codespell
 PORTDOCS=	COPYING README TODO
@@ -26,6 +28,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
+EXTRACT_DEPENDS+=	${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz
+.endif
+
 do-build:
 	${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${LOCALBASE}/bin/${PYTHON_VERSION}|' \
 		${WRKSRC}/codespell.py
diff -ruN textproc/codespell/distinfo textproc/codespell-1.4/distinfo
--- textproc/codespell/distinfo	2011-12-10 20:58:37.000000000 -0500
+++ textproc/codespell-1.4/distinfo	2012-03-01 20:32:25.228269990 -0500
@@ -1,2 +1,2 @@
-SHA256 (codespell-1.3.tar.gz) = 8224f8b76197bab9d4115a20003e3512f82522895bb10b6f3a718c1f35f0ecdd
-SIZE (codespell-1.3.tar.gz) = 43363
+SHA256 (codespell-1.4.tar.xz) = b86f72ce7e20851473fe37e6e425e95a29cc1d7cd10b8d837d8013b2d280d158
+SIZE (codespell-1.4.tar.xz) = 38532


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203021519.q22FJ2ff069653>