Received: by mail.netbsd.org (Postfix, from userid 605) id 2219084E63; Tue, 20 Nov 2018 14:10:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1778284E74 for ; Tue, 20 Nov 2018 14:10:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id iB2btKcj0f5s for ; Tue, 20 Nov 2018 14:09:59 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 33A5884E63 for ; Tue, 20 Nov 2018 14:09:59 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2C8C2FB1F; Tue, 20 Nov 2018 14:09:59 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_154272299938180" MIME-Version: 1.0 Date: Tue, 20 Nov 2018 14:09:59 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/textproc To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20181120140959.2C8C2FB1F@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_154272299938180 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Tue Nov 20 14:09:59 UTC 2018 Modified Files: pkgsrc/textproc: Makefile Added Files: pkgsrc/textproc/py-eradicate: DESCR Makefile PLIST distinfo Log Message: py-eradicate: added version 0.2.1 With modern revision control available, there is no reason to save commented-out code to your repository. eradicate helps cleans up existing junk comments. It does this by detecting block comments that contain valid Python syntax that are likely to be commented out code. (It avoids false positives like the sentence this is not good, which is valid Python syntax, but is probably not code.) To generate a diff of this commit: cvs rdiff -u -r1.1012 -r1.1013 pkgsrc/textproc/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-eradicate/DESCR \ pkgsrc/textproc/py-eradicate/Makefile pkgsrc/textproc/py-eradicate/PLIST \ pkgsrc/textproc/py-eradicate/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_154272299938180 Content-Disposition: inline Content-Length: 3110 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/Makefile diff -u pkgsrc/textproc/Makefile:1.1012 pkgsrc/textproc/Makefile:1.1013 --- pkgsrc/textproc/Makefile:1.1012 Sun Nov 18 08:28:37 2018 +++ pkgsrc/textproc/Makefile Tue Nov 20 14:09:58 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1012 2018/11/18 08:28:37 ryoon Exp $ +# $NetBSD: Makefile,v 1.1013 2018/11/20 14:09:58 adam Exp $ # COMMENT= Text processing utilities (does not include desktop publishing) @@ -762,6 +762,7 @@ SUBDIR+= py-ejson SUBDIR+= py-elementtree SUBDIR+= py-empy SUBDIR+= py-enchant +SUBDIR+= py-eradicate SUBDIR+= py-expat SUBDIR+= py-feedparser SUBDIR+= py-ftfy Added files: Index: pkgsrc/textproc/py-eradicate/DESCR diff -u /dev/null pkgsrc/textproc/py-eradicate/DESCR:1.1 --- /dev/null Tue Nov 20 14:09:59 2018 +++ pkgsrc/textproc/py-eradicate/DESCR Tue Nov 20 14:09:58 2018 @@ -0,0 +1,6 @@ +With modern revision control available, there is no reason to save +commented-out code to your repository. eradicate helps cleans up existing junk +comments. It does this by detecting block comments that contain valid Python +syntax that are likely to be commented out code. (It avoids false positives +like the sentence this is not good, which is valid Python syntax, but is +probably not code.) Index: pkgsrc/textproc/py-eradicate/Makefile diff -u /dev/null pkgsrc/textproc/py-eradicate/Makefile:1.1 --- /dev/null Tue Nov 20 14:09:59 2018 +++ pkgsrc/textproc/py-eradicate/Makefile Tue Nov 20 14:09:58 2018 @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2018/11/20 14:09:58 adam Exp $ + +DISTNAME= eradicate-0.2.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc python +MASTER_SITES= ${MASTER_SITE_PYPI:=e/eradicate/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/myint/eradicate +COMMENT= Removes commented-out code +LICENSE= mit + +USE_LANGUAGES= # none + +post-install: + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} eradicate eradicate-${PYVERSSUFFIX} || ${TRUE} + +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/py-eradicate/PLIST diff -u /dev/null pkgsrc/textproc/py-eradicate/PLIST:1.1 --- /dev/null Tue Nov 20 14:09:59 2018 +++ pkgsrc/textproc/py-eradicate/PLIST Tue Nov 20 14:09:58 2018 @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2018/11/20 14:09:58 adam Exp $ +bin/eradicate-${PYVERSSUFFIX} +${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/eradicate.py +${PYSITELIB}/eradicate.pyc +${PYSITELIB}/eradicate.pyo Index: pkgsrc/textproc/py-eradicate/distinfo diff -u /dev/null pkgsrc/textproc/py-eradicate/distinfo:1.1 --- /dev/null Tue Nov 20 14:09:59 2018 +++ pkgsrc/textproc/py-eradicate/distinfo Tue Nov 20 14:09:58 2018 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/11/20 14:09:58 adam Exp $ + +SHA1 (eradicate-0.2.1.tar.gz) = 92c106b801f88459f2edadc884cce1bc479c9374 +RMD160 (eradicate-0.2.1.tar.gz) = 0fd21cb6152ad6f8aee490640e40b38200131b98 +SHA512 (eradicate-0.2.1.tar.gz) = 726db51e1d5ecc89a256e2c28835c20e60f4f42cef55193ec8cd3323c06f00e7c1bc270517baebcd69a145bc189f392c96d60b4582f48aef10ece05582942167 +Size (eradicate-0.2.1.tar.gz) = 4357 bytes --_----------=_154272299938180--