pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-radon py-radon: updated to 4.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8bd59780ec4
branches:  trunk
changeset: 343620:a8bd59780ec4
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 06 20:43:36 2019 +0000

description:
py-radon: updated to 4.0.0

4.0.0:
- Support file configuration overrides
- Add support for analyzing Jupyter notebooks

3.0.1:
- Automatically exclude binary files, instead of producing an error

3.0.0:
- Include files with no extension but a Python shebang
- Fix calculation of total complexity for classes
- Update Colorama dependency to avoid conflicts with pytest
- Fix raw metrics, which were completely broken

diffstat:

 devel/py-radon/Makefile |  10 ++++++----
 devel/py-radon/PLIST    |   8 +++++++-
 devel/py-radon/distinfo |  10 +++++-----
 3 files changed, 18 insertions(+), 10 deletions(-)

diffs (77 lines):

diff -r 64bc0507ab75 -r a8bd59780ec4 devel/py-radon/Makefile
--- a/devel/py-radon/Makefile   Wed Nov 06 19:05:08 2019 +0000
+++ b/devel/py-radon/Makefile   Wed Nov 06 20:43:36 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2018/12/16 14:15:11 adam Exp $
+# $NetBSD: Makefile,v 1.8 2019/11/06 20:43:36 adam Exp $
 
-DISTNAME=      radon-2.4.0
+DISTNAME=      radon-4.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/radon/}
@@ -11,8 +11,9 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-mando>=0.6:../../devel/py-mando
-DEPENDS+=      ${PYPKGPREFIX}-colorama>=0.3:../../comms/py-colorama
+DEPENDS+=      ${PYPKGPREFIX}-colorama>=0.4:../../comms/py-colorama
 DEPENDS+=      ${PYPKGPREFIX}-flake8-polyfill-[0-9]*:../../devel/py-flake8-polyfill
+DEPENDS+=      ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
@@ -20,7 +21,8 @@
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} radon radon-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} radon radon-${PYVERSSUFFIX} || ${TRUE}
 
 do-test:
        cd ${WRKSRC}/radon/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} run.py
diff -r 64bc0507ab75 -r a8bd59780ec4 devel/py-radon/PLIST
--- a/devel/py-radon/PLIST      Wed Nov 06 19:05:08 2019 +0000
+++ b/devel/py-radon/PLIST      Wed Nov 06 20:43:36 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2018/12/16 14:15:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2019/11/06 20:43:36 adam Exp $
 bin/radon-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -36,6 +36,9 @@
 ${PYSITELIB}/radon/tests/__init__.py
 ${PYSITELIB}/radon/tests/__init__.pyc
 ${PYSITELIB}/radon/tests/__init__.pyo
+${PYSITELIB}/radon/tests/conftest.py
+${PYSITELIB}/radon/tests/conftest.pyc
+${PYSITELIB}/radon/tests/conftest.pyo
 ${PYSITELIB}/radon/tests/data/__init__.py
 ${PYSITELIB}/radon/tests/data/__init__.pyc
 ${PYSITELIB}/radon/tests/data/__init__.pyo
@@ -66,6 +69,9 @@
 ${PYSITELIB}/radon/tests/test_halstead.py
 ${PYSITELIB}/radon/tests/test_halstead.pyc
 ${PYSITELIB}/radon/tests/test_halstead.pyo
+${PYSITELIB}/radon/tests/test_ipynb.py
+${PYSITELIB}/radon/tests/test_ipynb.pyc
+${PYSITELIB}/radon/tests/test_ipynb.pyo
 ${PYSITELIB}/radon/tests/test_other_metrics.py
 ${PYSITELIB}/radon/tests/test_other_metrics.pyc
 ${PYSITELIB}/radon/tests/test_other_metrics.pyo
diff -r 64bc0507ab75 -r a8bd59780ec4 devel/py-radon/distinfo
--- a/devel/py-radon/distinfo   Wed Nov 06 19:05:08 2019 +0000
+++ b/devel/py-radon/distinfo   Wed Nov 06 20:43:36 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2018/12/16 14:15:11 adam Exp $
+$NetBSD: distinfo,v 1.7 2019/11/06 20:43:36 adam Exp $
 
-SHA1 (radon-2.4.0.tar.gz) = 639b2b829f4ef6860acd7a9051154baced55accf
-RMD160 (radon-2.4.0.tar.gz) = daba6eff584760c3836a6dec7f98390e20be0b5a
-SHA512 (radon-2.4.0.tar.gz) = 51cbb219a4b6bf6096025e9f71a5c11da019e10b45a816cfac234b2155705903855d1ee4a65a6dafeca02a7a683571427c3f81d3d42107205214f9d251ab5488
-Size (radon-2.4.0.tar.gz) = 3406248 bytes
+SHA1 (radon-4.0.0.tar.gz) = 7de27dc61d0ef7406b79244d3525b508c584eeb5
+RMD160 (radon-4.0.0.tar.gz) = beadba45895a238cffddec3a1b81671848f92a4d
+SHA512 (radon-4.0.0.tar.gz) = 49264029a8c8830ea159dddefe4bd1d5a4f69e8e19460aa3354e37d79b520c66576783b936783d73ffd8d84a9c2df25bbfb479ffe3db2bc3d31341558f52d5b5
+Size (radon-4.0.0.tar.gz) = 1860852 bytes



Home | Main Index | Thread Index | Old Index