svn commit: r536982 - in head/textproc/codespell: . files
Fernando Apesteguía
fernape at FreeBSD.org
Fri May 29 16:20:45 UTC 2020
Author: fernape
Date: Fri May 29 16:20:43 2020
New Revision: 536982
URL: https://svnweb.freebsd.org/changeset/ports/536982
Log:
textproc/codespell: Update to 1.17.1
PR: 246824
Submitted by: fk at fabiankeil.de
Modified:
head/textproc/codespell/Makefile
head/textproc/codespell/distinfo
head/textproc/codespell/files/pkg-message.in
head/textproc/codespell/pkg-descr
Modified: head/textproc/codespell/Makefile
==============================================================================
--- head/textproc/codespell/Makefile Fri May 29 16:17:38 2020 (r536981)
+++ head/textproc/codespell/Makefile Fri May 29 16:20:43 2020 (r536982)
@@ -1,7 +1,8 @@
# $FreeBSD$
PORTNAME= codespell
-PORTVERSION= 1.14
+PORTVERSION= 1.17.1
+DISTVERSIONPREFIX= v
CATEGORIES= textproc
MAINTAINER= ports at FreeBSD.org
@@ -11,40 +12,14 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= python:3.4+
+USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
-GH_ACCOUNT= lucasdemarchi
-GH_TAGNAME= 4cb7fe3
+GH_ACCOUNT= codespell-project
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-PLIST_FILES= bin/codespell
-PORTDOCS= NEWS TODO
-PORTEXAMPLES= *
-
NO_ARCH= yes
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
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-. endfor
-
-do-install-EXAMPLES-on:
-.for i in data example
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${i}
- ${INSTALL_DATA} ${WRKSRC}/${i}/* ${STAGEDIR}${EXAMPLESDIR}/${i}
-.endfor
+SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
.include <bsd.port.mk>
Modified: head/textproc/codespell/distinfo
==============================================================================
--- head/textproc/codespell/distinfo Fri May 29 16:17:38 2020 (r536981)
+++ head/textproc/codespell/distinfo Fri May 29 16:20:43 2020 (r536982)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551108269
-SHA256 (lucasdemarchi-codespell-1.14-4cb7fe3_GH0.tar.gz) = 4c09be1a8f1a0dcf69370be894aef960d548d8abe10467f6d3f172394f9b8d18
-SIZE (lucasdemarchi-codespell-1.14-4cb7fe3_GH0.tar.gz) = 46285
+TIMESTAMP = 1590578752
+SHA256 (codespell-project-codespell-v1.17.1_GH0.tar.gz) = d9d90fdb223c3462cc3982f44c018bad873092ed7ac5b9efe23e1350fbe2d4c7
+SIZE (codespell-project-codespell-v1.17.1_GH0.tar.gz) = 164357
Modified: head/textproc/codespell/files/pkg-message.in
==============================================================================
--- head/textproc/codespell/files/pkg-message.in Fri May 29 16:17:38 2020 (r536981)
+++ head/textproc/codespell/files/pkg-message.in Fri May 29 16:20:43 2020 (r536982)
@@ -2,8 +2,8 @@
{ type: install
message: <<EOM
You have successfully installed codespell!
-The dictionary file has been installed to:
-%%EXAMPLESDIR%%/data/dictionary.txt
+The dictionary files have been installed to:
+%%PYTHON_SITELIBDIR%%/codespell_lib/data/
EOM
}
]
Modified: head/textproc/codespell/pkg-descr
==============================================================================
--- head/textproc/codespell/pkg-descr Fri May 29 16:17:38 2020 (r536981)
+++ head/textproc/codespell/pkg-descr Fri May 29 16:20:43 2020 (r536982)
@@ -1,7 +1,7 @@
Source code spell checker.
-Fix common misspellings in text files. It's designed primarily for
-checking misspelled words in source code, but it can be used with other
+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/
+WWW: https://github.com/codespell-project/codespell
More information about the svn-ports-head
mailing list