From 64f8b9da82c1ad4721554c3cc0011c9291a8604a Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 27 May 2020 13:26:30 +0200 Subject: [PATCH] textproc/codespell: Upgrade to 1.17.1 - Update WWW and Github account - Remove trailing spaces in pkg-descr --- textproc/codespell/Makefile | 35 ++++--------------------- textproc/codespell/distinfo | 6 ++--- textproc/codespell/files/pkg-message.in | 4 +-- textproc/codespell/pkg-descr | 6 ++--- 4 files changed, 13 insertions(+), 38 deletions(-) diff --git a/textproc/codespell/Makefile b/textproc/codespell/Makefile index db86f8aeeacf..ff571ca318fa 100644 --- a/textproc/codespell/Makefile +++ b/textproc/codespell/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ PORTNAME= codespell -PORTVERSION= 1.14 +PORTVERSION= 1.17.1 +DISTVERSIONPREFIX= v CATEGORIES= textproc MAINTAINER= ports@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 - -OPTIONS_DEFINE= DOCS EXAMPLES - -PLIST_FILES= bin/codespell -PORTDOCS= NEWS TODO -PORTEXAMPLES= * +GH_ACCOUNT= codespell-project 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 diff --git a/textproc/codespell/distinfo b/textproc/codespell/distinfo index 34725e0c82d4..54f5451856a6 100644 --- a/textproc/codespell/distinfo +++ b/textproc/codespell/distinfo @@ -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 diff --git a/textproc/codespell/files/pkg-message.in b/textproc/codespell/files/pkg-message.in index 696e2bd056dc..6f9dcc1d4803 100644 --- a/textproc/codespell/files/pkg-message.in +++ b/textproc/codespell/files/pkg-message.in @@ -2,8 +2,8 @@ { type: install message: <