pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-restructuredtext_lint



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jun  2 19:52:43 UTC 2020

Modified Files:
        pkgsrc/devel/py-restructuredtext_lint: ALTERNATIVES Makefile PLIST
            distinfo

Log Message:
py-restructuredtext_lint: updated to 1.3.0

1.3.0 - Added Python 3.7 support
1.2.2 - Dropped PyYAML dev dependency to fix GitHub vulnerability warning
1.2.1 - Dropped Python 3.3 from Travis CI to fix testing errors
1.2.0 - Added directory support
1.1.3 - Updated documentation and typos


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-restructuredtext_lint/ALTERNATIVES \
    pkgsrc/devel/py-restructuredtext_lint/Makefile \
    pkgsrc/devel/py-restructuredtext_lint/PLIST \
    pkgsrc/devel/py-restructuredtext_lint/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-restructuredtext_lint/ALTERNATIVES
diff -u pkgsrc/devel/py-restructuredtext_lint/ALTERNATIVES:1.1 pkgsrc/devel/py-restructuredtext_lint/ALTERNATIVES:1.2
--- pkgsrc/devel/py-restructuredtext_lint/ALTERNATIVES:1.1      Thu Feb 15 16:44:30 2018
+++ pkgsrc/devel/py-restructuredtext_lint/ALTERNATIVES  Tue Jun  2 19:52:43 2020
@@ -1,2 +1,2 @@
-bin/restructuredtext-lint @PREFIX@/bin/restructuredtext-lint@PYVERSSUFFIX@
-bin/rst-lint @PREFIX@/bin/rst-lint@PYVERSSUFFIX@
+bin/restructuredtext-lint @PREFIX@/bin/restructuredtext-lint-@PYVERSSUFFIX@
+bin/rst-lint @PREFIX@/bin/rst-lint-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-restructuredtext_lint/Makefile
diff -u pkgsrc/devel/py-restructuredtext_lint/Makefile:1.1 pkgsrc/devel/py-restructuredtext_lint/Makefile:1.2
--- pkgsrc/devel/py-restructuredtext_lint/Makefile:1.1  Thu Feb 15 16:44:30 2018
+++ pkgsrc/devel/py-restructuredtext_lint/Makefile      Tue Jun  2 19:52:43 2020
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2018/02/15 16:44:30 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2020/06/02 19:52:43 adam Exp $
 
-DISTNAME=      restructuredtext-lint-1.1.2
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-/_/}
+DISTNAME=      restructuredtext_lint-1.3.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=twolfson/}
-GITHUB_PROJECT=        restructuredtext-lint
+MASTER_SITES=  ${MASTER_SITE_PYPI:=r/restructuredtext_lint/}
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/twolfson/restructuredtext-lint
@@ -15,12 +14,14 @@ DEPENDS+=   ${PYPKGPREFIX}-docutils>=0.11:
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+pre-configure:
+       ${FIND} ${WRKSRC} -type f -name '*.pyc' -exec ${RM} {} +
 
 post-install:
-.for file in restructuredtext-lint rst-lint
-       ${MV} ${DESTDIR}${PREFIX}/bin/${file} \
-               ${DESTDIR}${PREFIX}/bin/${file}${PYVERSSUFFIX}
+.for bin in restructuredtext-lint rst-lint
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
 .endfor
 
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-restructuredtext_lint/PLIST
diff -u pkgsrc/devel/py-restructuredtext_lint/PLIST:1.1 pkgsrc/devel/py-restructuredtext_lint/PLIST:1.2
--- pkgsrc/devel/py-restructuredtext_lint/PLIST:1.1     Thu Feb 15 16:44:30 2018
+++ pkgsrc/devel/py-restructuredtext_lint/PLIST Tue Jun  2 19:52:43 2020
@@ -1,39 +1,35 @@
-@comment $NetBSD: PLIST,v 1.1 2018/02/15 16:44:30 minskim Exp $
-bin/restructuredtext-lint${PYVERSSUFFIX}
-bin/rst-lint${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2020/06/02 19:52:43 adam Exp $
+bin/restructuredtext-lint-${PYVERSSUFFIX}
+bin/rst-lint-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/restructuredtext_lint/VERSION
 ${PYSITELIB}/restructuredtext_lint/__init__.py
 ${PYSITELIB}/restructuredtext_lint/__init__.pyc
-${PYSITELIB}/restructuredtext_lint/__init__.pyc
 ${PYSITELIB}/restructuredtext_lint/__init__.pyo
 ${PYSITELIB}/restructuredtext_lint/cli.py
 ${PYSITELIB}/restructuredtext_lint/cli.pyc
-${PYSITELIB}/restructuredtext_lint/cli.pyc
 ${PYSITELIB}/restructuredtext_lint/cli.pyo
 ${PYSITELIB}/restructuredtext_lint/lint.py
 ${PYSITELIB}/restructuredtext_lint/lint.pyc
-${PYSITELIB}/restructuredtext_lint/lint.pyc
 ${PYSITELIB}/restructuredtext_lint/lint.pyo
 ${PYSITELIB}/restructuredtext_lint/test/__init__.py
 ${PYSITELIB}/restructuredtext_lint/test/__init__.pyc
-${PYSITELIB}/restructuredtext_lint/test/__init__.pyc
 ${PYSITELIB}/restructuredtext_lint/test/__init__.pyo
+${PYSITELIB}/restructuredtext_lint/test/test.py
+${PYSITELIB}/restructuredtext_lint/test/test.pyc
+${PYSITELIB}/restructuredtext_lint/test/test.pyo
+${PYSITELIB}/restructuredtext_lint/test/test_files/dir/subdir/invalid.rst
+${PYSITELIB}/restructuredtext_lint/test/test_files/dir/valid.rst
+${PYSITELIB}/restructuredtext_lint/test/test_files/invalid.rst
 ${PYSITELIB}/restructuredtext_lint/test/test_files/invalid_line_mismatch.rst
 ${PYSITELIB}/restructuredtext_lint/test/test_files/invalid_link.rst
 ${PYSITELIB}/restructuredtext_lint/test/test_files/invalid_target.rst
-${PYSITELIB}/restructuredtext_lint/test/test_files/invalid.rst
-${PYSITELIB}/restructuredtext_lint/test/test_files/invalid.yaml
 ${PYSITELIB}/restructuredtext_lint/test/test_files/second_short_heading.rst
 ${PYSITELIB}/restructuredtext_lint/test/test_files/utf8.rst
 ${PYSITELIB}/restructuredtext_lint/test/test_files/valid.rst
-${PYSITELIB}/restructuredtext_lint/test/test.py
-${PYSITELIB}/restructuredtext_lint/test/test.pyc
-${PYSITELIB}/restructuredtext_lint/test/test.pyc
-${PYSITELIB}/restructuredtext_lint/test/test.pyo
-${PYSITELIB}/restructuredtext_lint/VERSION
Index: pkgsrc/devel/py-restructuredtext_lint/distinfo
diff -u pkgsrc/devel/py-restructuredtext_lint/distinfo:1.1 pkgsrc/devel/py-restructuredtext_lint/distinfo:1.2
--- pkgsrc/devel/py-restructuredtext_lint/distinfo:1.1  Thu Feb 15 16:44:30 2018
+++ pkgsrc/devel/py-restructuredtext_lint/distinfo      Tue Jun  2 19:52:43 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/02/15 16:44:30 minskim Exp $
+$NetBSD: distinfo,v 1.2 2020/06/02 19:52:43 adam Exp $
 
-SHA1 (restructuredtext-lint-1.1.2.tar.gz) = 54ed7c119e5f79b224a2da9f6e3e190ea87606c9
-RMD160 (restructuredtext-lint-1.1.2.tar.gz) = cccc3ac6ffa593f9a01753788ad24072d3d73284
-SHA512 (restructuredtext-lint-1.1.2.tar.gz) = 25aa22a452de3274dc09b9bfe013f2e3b6e1077076b582d4f155662487ac1494dd5a62e0a5e6a160a554a83dbed1ca099fc8595afb461e65e95878bd857f7ebb
-Size (restructuredtext-lint-1.1.2.tar.gz) = 11864 bytes
+SHA1 (restructuredtext_lint-1.3.0.tar.gz) = af760eb2da2aac1ddc60fcb4db10ed1f1c98c95c
+RMD160 (restructuredtext_lint-1.3.0.tar.gz) = df6b880a2348ab4635b96ca41c83244f669ec1cf
+SHA512 (restructuredtext_lint-1.3.0.tar.gz) = 983f38e51943cb7fd6a36181f99cd9c24c40deaf932ea8f69ae6568255a1ca8800aecd753067304ea596cd84bee4fdd5d96e935e06bf602613c57ad24113520d
+Size (restructuredtext_lint-1.3.0.tar.gz) = 19008 bytes



Home | Main Index | Thread Index | Old Index