pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-radon Import py-radon-1.5.0 as devel/py-radon.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c417ab87d7e2
branches:  trunk
changeset: 360640:c417ab87d7e2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 04 14:19:58 2017 +0000

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

diffstat:

 devel/py-radon/DESCR                          |   1 +
 devel/py-radon/Makefile                       |  29 ++++++++++++
 devel/py-radon/PLIST                          |  65 +++++++++++++++++++++++++++
 devel/py-radon/distinfo                       |   8 +++
 devel/py-radon/patches/patch-requirements.txt |  13 +++++
 devel/py-radon/patches/patch-setup.py         |  18 +++++++
 6 files changed, 134 insertions(+), 0 deletions(-)

diffs (158 lines):

diff -r b0ee7cf74720 -r c417ab87d7e2 devel/py-radon/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-radon/DESCR      Tue Apr 04 14:19:58 2017 +0000
@@ -0,0 +1,1 @@
+Code Metrics in Python
diff -r b0ee7cf74720 -r c417ab87d7e2 devel/py-radon/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-radon/Makefile   Tue Apr 04 14:19:58 2017 +0000
@@ -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"
diff -r b0ee7cf74720 -r c417ab87d7e2 devel/py-radon/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-radon/PLIST      Tue Apr 04 14:19:58 2017 +0000
@@ -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
diff -r b0ee7cf74720 -r c417ab87d7e2 devel/py-radon/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-radon/distinfo   Tue Apr 04 14:19:58 2017 +0000
@@ -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
diff -r b0ee7cf74720 -r c417ab87d7e2 devel/py-radon/patches/patch-requirements.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-radon/patches/patch-requirements.txt     Tue Apr 04 14:19:58 2017 +0000
@@ -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
diff -r b0ee7cf74720 -r c417ab87d7e2 devel/py-radon/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-radon/patches/patch-setup.py     Tue Apr 04 14:19:58 2017 +0000
@@ -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