Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-restructuredtext_lint py-restructuredtext_lin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0aed890d86d
branches:  trunk
changeset: 433481:d0aed890d86d
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jun 02 19:52:43 2020 +0000

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

diffstat:

 devel/py-restructuredtext_lint/ALTERNATIVES |   4 ++--
 devel/py-restructuredtext_lint/Makefile     |  19 ++++++++++---------
 devel/py-restructuredtext_lint/PLIST        |  28 ++++++++++++----------------
 devel/py-restructuredtext_lint/distinfo     |  10 +++++-----
 4 files changed, 29 insertions(+), 32 deletions(-)

diffs (115 lines):

diff -r a544847aaa39 -r d0aed890d86d devel/py-restructuredtext_lint/ALTERNATIVES
--- a/devel/py-restructuredtext_lint/ALTERNATIVES       Tue Jun 02 19:46:00 2020 +0000
+++ b/devel/py-restructuredtext_lint/ALTERNATIVES       Tue Jun 02 19:52:43 2020 +0000
@@ -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@
diff -r a544847aaa39 -r d0aed890d86d devel/py-restructuredtext_lint/Makefile
--- a/devel/py-restructuredtext_lint/Makefile   Tue Jun 02 19:46:00 2020 +0000
+++ b/devel/py-restructuredtext_lint/Makefile   Tue Jun 02 19:52:43 2020 +0000
@@ -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 @@
 
 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"
diff -r a544847aaa39 -r d0aed890d86d devel/py-restructuredtext_lint/PLIST
--- a/devel/py-restructuredtext_lint/PLIST      Tue Jun 02 19:46:00 2020 +0000
+++ b/devel/py-restructuredtext_lint/PLIST      Tue Jun 02 19:52:43 2020 +0000
@@ -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
diff -r a544847aaa39 -r d0aed890d86d devel/py-restructuredtext_lint/distinfo
--- a/devel/py-restructuredtext_lint/distinfo   Tue Jun 02 19:46:00 2020 +0000
+++ b/devel/py-restructuredtext_lint/distinfo   Tue Jun 02 19:52:43 2020 +0000
@@ -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