pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc py-eradicate: added version 0.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/990a255f8af1
branches:  trunk
changeset: 315269:990a255f8af1
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 20 14:09:58 2018 +0000

description:
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.)

diffstat:

 textproc/Makefile              |   3 ++-
 textproc/py-eradicate/DESCR    |   6 ++++++
 textproc/py-eradicate/Makefile |  20 ++++++++++++++++++++
 textproc/py-eradicate/PLIST    |   6 ++++++
 textproc/py-eradicate/distinfo |   6 ++++++
 5 files changed, 40 insertions(+), 1 deletions(-)

diffs (71 lines):

diff -r d81656dba874 -r 990a255f8af1 textproc/Makefile
--- a/textproc/Makefile Tue Nov 20 13:31:24 2018 +0000
+++ b/textproc/Makefile Tue Nov 20 14:09:58 2018 +0000
@@ -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-elementtree
 SUBDIR+=       py-empy
 SUBDIR+=       py-enchant
+SUBDIR+=       py-eradicate
 SUBDIR+=       py-expat
 SUBDIR+=       py-feedparser
 SUBDIR+=       py-ftfy
diff -r d81656dba874 -r 990a255f8af1 textproc/py-eradicate/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-eradicate/DESCR       Tue Nov 20 14:09:58 2018 +0000
@@ -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.)
diff -r d81656dba874 -r 990a255f8af1 textproc/py-eradicate/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-eradicate/Makefile    Tue Nov 20 14:09:58 2018 +0000
@@ -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@localhost
+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"
diff -r d81656dba874 -r 990a255f8af1 textproc/py-eradicate/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-eradicate/PLIST       Tue Nov 20 14:09:58 2018 +0000
@@ -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
diff -r d81656dba874 -r 990a255f8af1 textproc/py-eradicate/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-eradicate/distinfo    Tue Nov 20 14:09:58 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index