pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-lama py-lama: update to 8.3.8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/094c5cff1dcf
branches:  trunk
changeset: 380927:094c5cff1dcf
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jun 18 22:35:24 2022 +0000

description:
py-lama: update to 8.3.8.

2022-03-11  k.klenov
        * Version 8.3.8
        * Better pytest integration

2021-12-15  k.klenov
        * Version 8.3.6
        * Fixed processing of linters params

2021-12-02  k.klenov
        * Version 8.3.0
        * Added support for default config file `~/.pylama.ini`

2021-11-28  k.klenov
        * Version 8.2.0
        * Added `--max-line-length` to setup max line length for pycodestyle and
          pylint
        * Support for linters options in command line

2021-11-27  k.klenov

        * Version 8.1.4
        * Support json format
        * Support `--from-stdin` option
        * Changed: pylama only allows to check python files (--force is removed)
        * Changed: mccabe argument `complexity` -> `max-complexity`

2021-11-26  k.klenov

        * Version 8.0.5
        * Drop support for python 2
        * Support python 3.7, 3.8, 3.9
        * Support mccabe==0.6.1, pycodestyle==2.8.0, pydocstyle==6.1.1,
                pyflakes==2.4.0, eradicate==2.0.0, radon==5.1.0, pylint==2.11.1
        * Support vulture
        * Support 'convention' for pydocstyle
        * License changed to MIT (see LICENSE file for details)
        * Fix Radon message format

diffstat:

 devel/py-lama/Makefile               |  25 +++++++++++++++----------
 devel/py-lama/PLIST                  |  21 +++++++++++++--------
 devel/py-lama/distinfo               |   9 ++++-----
 devel/py-lama/patches/patch-setup.py |  15 ---------------
 4 files changed, 32 insertions(+), 38 deletions(-)

diffs (141 lines):

diff -r a54475b8d1d5 -r 094c5cff1dcf devel/py-lama/Makefile
--- a/devel/py-lama/Makefile    Sat Jun 18 22:30:58 2022 +0000
+++ b/devel/py-lama/Makefile    Sat Jun 18 22:35:24 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2022/06/18 21:46:05 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/06/18 22:35:24 wiz Exp $
 
-DISTNAME=      pylama-7.7.1
+DISTNAME=      pylama-8.3.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylama/}
 
@@ -11,14 +10,20 @@
 COMMENT=       Code audit tool for Python
 LICENSE=       gnu-lgpl-v3
 
-DEPENDS+=      ${PYPKGPREFIX}-codestyle>=2.3.1:../../devel/py-codestyle
-DEPENDS+=      ${PYPKGPREFIX}-docstyle>=2.0.0:../../devel/py-docstyle
-DEPENDS+=      ${PYPKGPREFIX}-flakes>=1.5.0:../../devel/py-flakes
-DEPENDS+=      ${PYPKGPREFIX}-mccabe-[0-9]*:../../devel/py-mccabe
-# extensions
-DEPENDS+=      ${PYPKGPREFIX}-eradicate-[0-9]*:../../textproc/py-eradicate
-DEPENDS+=      ${PYPKGPREFIX}-radon>=1.4.2:../../devel/py-radon
+DEPENDS+=      ${PYPKGPREFIX}-mccabe>=0.6.1:../../devel/py-mccabe
+DEPENDS+=      ${PYPKGPREFIX}-codestyle>=2.8.0:../../devel/py-codestyle
+DEPENDS+=      ${PYPKGPREFIX}-docstyle>=6.1.1:../../devel/py-docstyle
+DEPENDS+=      ${PYPKGPREFIX}-flakes>=2.4.0:../../devel/py-flakes
+TEST_DEPENDS+= ${PYPKGPREFIX}-eradicate>=2.0.0:../../textproc/py-eradicate
+TEST_DEPENDS+= ${PYPKGPREFIX}-radon>=5.1.0:../../devel/py-radon
+TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
+TEST_DEPENDS+= ${PYPKGPREFIX}-pylint>=2.11.1:../../devel/py-pylint
+# cyclic dependency. not really needed
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-lama-quotes-[0-9]*:../../devel/py-lama-quotes
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mypy-[0-9]*:../../devel/py-test-mypy
+TEST_DEPENDS+= ${PYPKGPREFIX}-types-setuptools-[0-9]*:../../devel/py-types-setuptools
+TEST_DEPENDS+= ${PYPKGPREFIX}-vulture-[0-9]*:../../devel/py-vulture
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
diff -r a54475b8d1d5 -r 094c5cff1dcf devel/py-lama/PLIST
--- a/devel/py-lama/PLIST       Sat Jun 18 22:30:58 2022 +0000
+++ b/devel/py-lama/PLIST       Sat Jun 18 22:35:24 2022 +0000
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2019/04/25 07:27:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/06/18 22:35:24 wiz Exp $
 bin/pylama-${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}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/pylama/__init__.py
@@ -19,6 +18,9 @@
 ${PYSITELIB}/pylama/config.py
 ${PYSITELIB}/pylama/config.pyc
 ${PYSITELIB}/pylama/config.pyo
+${PYSITELIB}/pylama/context.py
+${PYSITELIB}/pylama/context.pyc
+${PYSITELIB}/pylama/context.pyo
 ${PYSITELIB}/pylama/core.py
 ${PYSITELIB}/pylama/core.pyc
 ${PYSITELIB}/pylama/core.pyo
@@ -31,21 +33,18 @@
 ${PYSITELIB}/pylama/libs/__init__.py
 ${PYSITELIB}/pylama/libs/__init__.pyc
 ${PYSITELIB}/pylama/libs/__init__.pyo
-${PYSITELIB}/pylama/libs/importlib.py
-${PYSITELIB}/pylama/libs/importlib.pyc
-${PYSITELIB}/pylama/libs/importlib.pyo
 ${PYSITELIB}/pylama/libs/inirama.py
 ${PYSITELIB}/pylama/libs/inirama.pyc
 ${PYSITELIB}/pylama/libs/inirama.pyo
 ${PYSITELIB}/pylama/lint/__init__.py
 ${PYSITELIB}/pylama/lint/__init__.pyc
 ${PYSITELIB}/pylama/lint/__init__.pyo
-${PYSITELIB}/pylama/lint/extensions.py
-${PYSITELIB}/pylama/lint/extensions.pyc
-${PYSITELIB}/pylama/lint/extensions.pyo
 ${PYSITELIB}/pylama/lint/pylama_eradicate.py
 ${PYSITELIB}/pylama/lint/pylama_eradicate.pyc
 ${PYSITELIB}/pylama/lint/pylama_eradicate.pyo
+${PYSITELIB}/pylama/lint/pylama_fake.py
+${PYSITELIB}/pylama/lint/pylama_fake.pyc
+${PYSITELIB}/pylama/lint/pylama_fake.pyo
 ${PYSITELIB}/pylama/lint/pylama_mccabe.py
 ${PYSITELIB}/pylama/lint/pylama_mccabe.pyc
 ${PYSITELIB}/pylama/lint/pylama_mccabe.pyo
@@ -67,9 +66,15 @@
 ${PYSITELIB}/pylama/lint/pylama_radon.py
 ${PYSITELIB}/pylama/lint/pylama_radon.pyc
 ${PYSITELIB}/pylama/lint/pylama_radon.pyo
+${PYSITELIB}/pylama/lint/pylama_vulture.py
+${PYSITELIB}/pylama/lint/pylama_vulture.pyc
+${PYSITELIB}/pylama/lint/pylama_vulture.pyo
 ${PYSITELIB}/pylama/main.py
 ${PYSITELIB}/pylama/main.pyc
 ${PYSITELIB}/pylama/main.pyo
 ${PYSITELIB}/pylama/pytest.py
 ${PYSITELIB}/pylama/pytest.pyc
 ${PYSITELIB}/pylama/pytest.pyo
+${PYSITELIB}/pylama/utils.py
+${PYSITELIB}/pylama/utils.pyc
+${PYSITELIB}/pylama/utils.pyo
diff -r a54475b8d1d5 -r 094c5cff1dcf devel/py-lama/distinfo
--- a/devel/py-lama/distinfo    Sat Jun 18 22:30:58 2022 +0000
+++ b/devel/py-lama/distinfo    Sat Jun 18 22:35:24 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 10:18:37 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/06/18 22:35:24 wiz Exp $
 
-BLAKE2s (pylama-7.7.1.tar.gz) = 6f0c9bed178483e7eaa8331ad8cf577d3f493302fd78b21c4c13209d093aa0dd
-SHA512 (pylama-7.7.1.tar.gz) = 859b7e12846f9e1183f15eaa3d172ff6aa6e759c419696450048c6a659b8aee086a4d8e47004a0552596674850303e08179dd98c8d942dd9165ca88585017676
-Size (pylama-7.7.1.tar.gz) = 33278 bytes
-SHA1 (patch-setup.py) = b0efe33e509008ad6e696eaf17cad60ac6750370
+BLAKE2s (pylama-8.3.8.tar.gz) = 9eb9f8f5a3d2e22a684b53416089980557307503e48945f8c4c7bc183c03dbc1
+SHA512 (pylama-8.3.8.tar.gz) = 09baec666bb129545cb076ffe84ec296f59561aff7ff359257e97d45e193983c17da7e8ea86351c13ae0938a62bc102eb16385555dd40dec32555a3f9d76cf4f
+Size (pylama-8.3.8.tar.gz) = 32437 bytes
diff -r a54475b8d1d5 -r 094c5cff1dcf devel/py-lama/patches/patch-setup.py
--- a/devel/py-lama/patches/patch-setup.py      Sat Jun 18 22:30:58 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2018/11/20 14:14:16 adam Exp $
-
-Do not install tests.
-
---- setup.py.orig      2018-11-20 13:13:48.000000000 +0000
-+++ setup.py
-@@ -35,7 +35,7 @@ meta = dict(
-     author_email='horneds%gmail.com@localhost',
-     url=' https://github.com/klen/pylama',
- 
--    packages=find_packages(exclude=['plugins']),
-+    packages=find_packages(exclude=['tests']),
- 
-     entry_points={
-         'console_scripts': [



Home | Main Index | Thread Index | Old Index