pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-radon



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr  4 14:19:58 UTC 2017

Added Files:
        pkgsrc/devel/py-radon: DESCR Makefile PLIST distinfo
        pkgsrc/devel/py-radon/patches: patch-requirements.txt patch-setup.py

Log Message:
Import py-radon-1.5.0 as devel/py-radon.

Based on wip/py-radon by
Kamel Ibn Aziz Derouiche <kamel.derouiche%gmail.com@localhost>.

Code Metrics in Python


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-radon/DESCR \
    pkgsrc/devel/py-radon/Makefile pkgsrc/devel/py-radon/PLIST \
    pkgsrc/devel/py-radon/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-radon/patches/patch-requirements.txt \
    pkgsrc/devel/py-radon/patches/patch-setup.py

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

Added files:

Index: pkgsrc/devel/py-radon/DESCR
diff -u /dev/null pkgsrc/devel/py-radon/DESCR:1.1
--- /dev/null   Tue Apr  4 14:19:58 2017
+++ pkgsrc/devel/py-radon/DESCR Tue Apr  4 14:19:58 2017
@@ -0,0 +1 @@
+Code Metrics in Python
Index: pkgsrc/devel/py-radon/Makefile
diff -u /dev/null pkgsrc/devel/py-radon/Makefile:1.1
--- /dev/null   Tue Apr  4 14:19:58 2017
+++ pkgsrc/devel/py-radon/Makefile      Tue Apr  4 14:19:58 2017
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2017/04/04 14:19:58 wiz Exp $
+
+DISTNAME=      radon-1.5.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=r/radon/}
+
+MAINTAINER=    kamelderouiche%yahoo.com@localhost
+HOMEPAGE=      https://radon.readthedocs.org/
+COMMENT=       Code Metrics in Python
+LICENSE=       mit
+
+# according to README, only mando is really necessary
+DEPENDS+=      ${PYPKGPREFIX}-mando>=0.4:../../devel/py-mando
+# but these are in "requirements.txt"
+DEPENDS+=      ${PYPKGPREFIX}-colorama>=0.3.2:../../comms/py-colorama
+DEPENDS+=      ${PYPKGPREFIX}-flake8-polyfill>=1.0.1:../../devel/py-flake8-polyfill
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
+
+USE_LANGUAGES= # none
+
+do-test:
+       ${RUN} cd ${WRKSRC}/radon/tests; ${SETENV} ${TEST_ENV} ${PYTHONBIN} run.py
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-radon/PLIST
diff -u /dev/null pkgsrc/devel/py-radon/PLIST:1.1
--- /dev/null   Tue Apr  4 14:19:58 2017
+++ pkgsrc/devel/py-radon/PLIST Tue Apr  4 14:19:58 2017
@@ -0,0 +1,65 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/04 14:19:58 wiz Exp $
+bin/radon
+${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}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/radon/__init__.py
+${PYSITELIB}/radon/__init__.pyc
+${PYSITELIB}/radon/__init__.pyo
+${PYSITELIB}/radon/cli/__init__.py
+${PYSITELIB}/radon/cli/__init__.pyc
+${PYSITELIB}/radon/cli/__init__.pyo
+${PYSITELIB}/radon/cli/colors.py
+${PYSITELIB}/radon/cli/colors.pyc
+${PYSITELIB}/radon/cli/colors.pyo
+${PYSITELIB}/radon/cli/harvest.py
+${PYSITELIB}/radon/cli/harvest.pyc
+${PYSITELIB}/radon/cli/harvest.pyo
+${PYSITELIB}/radon/cli/tools.py
+${PYSITELIB}/radon/cli/tools.pyc
+${PYSITELIB}/radon/cli/tools.pyo
+${PYSITELIB}/radon/complexity.py
+${PYSITELIB}/radon/complexity.pyc
+${PYSITELIB}/radon/complexity.pyo
+${PYSITELIB}/radon/metrics.py
+${PYSITELIB}/radon/metrics.pyc
+${PYSITELIB}/radon/metrics.pyo
+${PYSITELIB}/radon/raw.py
+${PYSITELIB}/radon/raw.pyc
+${PYSITELIB}/radon/raw.pyo
+${PYSITELIB}/radon/tests/__init__.py
+${PYSITELIB}/radon/tests/__init__.pyc
+${PYSITELIB}/radon/tests/__init__.pyo
+${PYSITELIB}/radon/tests/run.py
+${PYSITELIB}/radon/tests/run.pyc
+${PYSITELIB}/radon/tests/run.pyo
+${PYSITELIB}/radon/tests/test_cli.py
+${PYSITELIB}/radon/tests/test_cli.pyc
+${PYSITELIB}/radon/tests/test_cli.pyo
+${PYSITELIB}/radon/tests/test_cli_harvest.py
+${PYSITELIB}/radon/tests/test_cli_harvest.pyc
+${PYSITELIB}/radon/tests/test_cli_harvest.pyo
+${PYSITELIB}/radon/tests/test_cli_tools.py
+${PYSITELIB}/radon/tests/test_cli_tools.pyc
+${PYSITELIB}/radon/tests/test_cli_tools.pyo
+${PYSITELIB}/radon/tests/test_complexity_utils.py
+${PYSITELIB}/radon/tests/test_complexity_utils.pyc
+${PYSITELIB}/radon/tests/test_complexity_utils.pyo
+${PYSITELIB}/radon/tests/test_complexity_visitor.py
+${PYSITELIB}/radon/tests/test_complexity_visitor.pyc
+${PYSITELIB}/radon/tests/test_complexity_visitor.pyo
+${PYSITELIB}/radon/tests/test_halstead.py
+${PYSITELIB}/radon/tests/test_halstead.pyc
+${PYSITELIB}/radon/tests/test_halstead.pyo
+${PYSITELIB}/radon/tests/test_other_metrics.py
+${PYSITELIB}/radon/tests/test_other_metrics.pyc
+${PYSITELIB}/radon/tests/test_other_metrics.pyo
+${PYSITELIB}/radon/tests/test_raw.py
+${PYSITELIB}/radon/tests/test_raw.pyc
+${PYSITELIB}/radon/tests/test_raw.pyo
+${PYSITELIB}/radon/visitors.py
+${PYSITELIB}/radon/visitors.pyc
+${PYSITELIB}/radon/visitors.pyo
Index: pkgsrc/devel/py-radon/distinfo
diff -u /dev/null pkgsrc/devel/py-radon/distinfo:1.1
--- /dev/null   Tue Apr  4 14:19:58 2017
+++ pkgsrc/devel/py-radon/distinfo      Tue Apr  4 14:19:58 2017
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2017/04/04 14:19:58 wiz Exp $
+
+SHA1 (radon-1.5.0.tar.gz) = f505e57e3e8b128d8a29d836f5ffdcf58d6c315c
+RMD160 (radon-1.5.0.tar.gz) = b0b68f9304baebb022c538c6a36e899f921db826
+SHA512 (radon-1.5.0.tar.gz) = a2336b7e6592d4efa8c78eadad61b386e35f551be31f7691dd2ca8f9d5d2afff9d96a2d25ced8b93dc0a1d1ccbf12fd8dc7b69f0b04bd3c3986335205a1b6650
+Size (radon-1.5.0.tar.gz) = 3492497 bytes
+SHA1 (patch-requirements.txt) = d09c6b9a90e11cffef7a7726ea6272d96c7d293f
+SHA1 (patch-setup.py) = 5faf02aa86dc3aba3cd028c1cd6532fdd3164bc9

Index: pkgsrc/devel/py-radon/patches/patch-requirements.txt
diff -u /dev/null pkgsrc/devel/py-radon/patches/patch-requirements.txt:1.1
--- /dev/null   Tue Apr  4 14:19:58 2017
+++ pkgsrc/devel/py-radon/patches/patch-requirements.txt        Tue Apr  4 14:19:58 2017
@@ -0,0 +1,13 @@
+$NetBSD: patch-requirements.txt,v 1.1 2017/04/04 14:19:58 wiz Exp $
+
+mando-0.5 is fine.
+https://github.com/rubik/radon/issues/112
+
+--- requirements.txt.orig      2017-02-04 09:44:37.000000000 +0000
++++ requirements.txt
+@@ -1,3 +1,3 @@
+-mando>=0.3,<0.4
+-colorama>=0.3,<0.4
++mando
++colorama
+ flake8_polyfill
Index: pkgsrc/devel/py-radon/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-radon/patches/patch-setup.py:1.1
--- /dev/null   Tue Apr  4 14:19:58 2017
+++ pkgsrc/devel/py-radon/patches/patch-setup.py        Tue Apr  4 14:19:58 2017
@@ -0,0 +1,18 @@
+$NetBSD: patch-setup.py,v 1.1 2017/04/04 14:19:58 wiz Exp $
+
+mando-0.5 is fine.
+https://github.com/rubik/radon/issues/112
+
+--- setup.py.orig      2016-11-02 12:22:42.000000000 +0000
++++ setup.py
+@@ -19,8 +19,8 @@ setup(name='radon',
+       packages=find_packages(),
+       tests_require=['tox'],
+       install_requires=[
+-          'mando>=0.3,<0.4',
+-          'colorama>=0.3,<0.4',
++          'mando',
++          'colorama',
+           'flake8-polyfill',
+       ],
+       entry_points={



Home | Main Index | Thread Index | Old Index