svn commit: r427540 - head/textproc/codespell
Pedro F. Giffuni
pfg at FreeBSD.org
Fri Dec 2 02:49:25 UTC 2016
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 at 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/
More information about the svn-ports-all
mailing list