FreeBSD Bugzilla – Attachment 214998 Details for
Bug 246824
textproc/codespell: Upgrade to 1.17.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
textproc/codespell: Upgrade to 1.17.1
0001-textproc-codespell-Upgrade-to-1.17.1.patch (text/plain), 3.68 KB, created by
Fabian Keil
on 2020-05-29 05:58:16 UTC
(
hide
)
Description:
textproc/codespell: Upgrade to 1.17.1
Filename:
MIME Type:
Creator:
Fabian Keil
Created:
2020-05-29 05:58:16 UTC
Size:
3.68 KB
patch
obsolete
>From 64f8b9da82c1ad4721554c3cc0011c9291a8604a Mon Sep 17 00:00:00 2001 >From: Fabian Keil <fk@fabiankeil.de> >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 <bsd.port.mk> >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: <<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 > } > ] >diff --git a/textproc/codespell/pkg-descr b/textproc/codespell/pkg-descr >index e5d240e6a2c9..158f5d37a9e3 100644 >--- a/textproc/codespell/pkg-descr >+++ b/textproc/codespell/pkg-descr >@@ -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 >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246824
: 214998