pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-lama7 devel/py-lama7: re-import py-lama-7.7.1nb2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/928968a39079
branches:  trunk
changeset: 380907:928968a39079
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jun 18 21:44:34 2022 +0000

description:
devel/py-lama7: re-import py-lama-7.7.1nb2

For python 2.7 support. DESCR:

Code audit tool for Python and JavaScript. Pylama wraps these tools:
* pycodestyle (formerly pep8)
* pydocstyle (formerly pep257)
* PyFlakes
* Mccabe
* Pylint
* Radon
* gjslin
* eradicate

This package contains the last version supporting python 2.7.

diffstat:

 devel/py-lama7/ALTERNATIVES           |   1 +
 devel/py-lama7/DESCR                  |  11 +++++
 devel/py-lama7/Makefile               |  34 +++++++++++++++
 devel/py-lama7/PLIST                  |  75 +++++++++++++++++++++++++++++++++++
 devel/py-lama7/distinfo               |   6 ++
 devel/py-lama7/patches/patch-setup.py |  15 +++++++
 6 files changed, 142 insertions(+), 0 deletions(-)

diffs (166 lines):

diff -r 8d22b73462fb -r 928968a39079 devel/py-lama7/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lama7/ALTERNATIVES       Sat Jun 18 21:44:34 2022 +0000
@@ -0,0 +1,1 @@
+bin/pylama @PREFIX@/bin/pylama-@PYVERSSUFFIX@
diff -r 8d22b73462fb -r 928968a39079 devel/py-lama7/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lama7/DESCR      Sat Jun 18 21:44:34 2022 +0000
@@ -0,0 +1,11 @@
+Code audit tool for Python and JavaScript. Pylama wraps these tools:
+* pycodestyle (formerly pep8)
+* pydocstyle (formerly pep257)
+* PyFlakes
+* Mccabe
+* Pylint
+* Radon
+* gjslin
+* eradicate
+
+This package contains the last version supporting python 2.7.
diff -r 8d22b73462fb -r 928968a39079 devel/py-lama7/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lama7/Makefile   Sat Jun 18 21:44:34 2022 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2022/06/18 21:44:34 wiz Exp $
+
+DISTNAME=      pylama-7.7.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+PKGREVISION=   2
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pylama/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/klen/pylama
+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-mccabe06
+# extensions
+DEPENDS+=      ${PYPKGPREFIX}-eradicate-[0-9]*:../../textproc/py-eradicate
+DEPENDS+=      ${PYPKGPREFIX}-radon>=1.4.2:../../devel/py-radon
+DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test4
+
+USE_PKG_RESOURCES=     yes
+
+PYTHON_VERSIONS_ACCEPTED=      27
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} pylama pylama-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8d22b73462fb -r 928968a39079 devel/py-lama7/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lama7/PLIST      Sat Jun 18 21:44:34 2022 +0000
@@ -0,0 +1,75 @@
+@comment $NetBSD: PLIST,v 1.1 2022/06/18 21:44:34 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
+${PYSITELIB}/pylama/__init__.pyc
+${PYSITELIB}/pylama/__init__.pyo
+${PYSITELIB}/pylama/__main__.py
+${PYSITELIB}/pylama/__main__.pyc
+${PYSITELIB}/pylama/__main__.pyo
+${PYSITELIB}/pylama/check_async.py
+${PYSITELIB}/pylama/check_async.pyc
+${PYSITELIB}/pylama/check_async.pyo
+${PYSITELIB}/pylama/config.py
+${PYSITELIB}/pylama/config.pyc
+${PYSITELIB}/pylama/config.pyo
+${PYSITELIB}/pylama/core.py
+${PYSITELIB}/pylama/core.pyc
+${PYSITELIB}/pylama/core.pyo
+${PYSITELIB}/pylama/errors.py
+${PYSITELIB}/pylama/errors.pyc
+${PYSITELIB}/pylama/errors.pyo
+${PYSITELIB}/pylama/hook.py
+${PYSITELIB}/pylama/hook.pyc
+${PYSITELIB}/pylama/hook.pyo
+${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_mccabe.py
+${PYSITELIB}/pylama/lint/pylama_mccabe.pyc
+${PYSITELIB}/pylama/lint/pylama_mccabe.pyo
+${PYSITELIB}/pylama/lint/pylama_mypy.py
+${PYSITELIB}/pylama/lint/pylama_mypy.pyc
+${PYSITELIB}/pylama/lint/pylama_mypy.pyo
+${PYSITELIB}/pylama/lint/pylama_pycodestyle.py
+${PYSITELIB}/pylama/lint/pylama_pycodestyle.pyc
+${PYSITELIB}/pylama/lint/pylama_pycodestyle.pyo
+${PYSITELIB}/pylama/lint/pylama_pydocstyle.py
+${PYSITELIB}/pylama/lint/pylama_pydocstyle.pyc
+${PYSITELIB}/pylama/lint/pylama_pydocstyle.pyo
+${PYSITELIB}/pylama/lint/pylama_pyflakes.py
+${PYSITELIB}/pylama/lint/pylama_pyflakes.pyc
+${PYSITELIB}/pylama/lint/pylama_pyflakes.pyo
+${PYSITELIB}/pylama/lint/pylama_pylint.py
+${PYSITELIB}/pylama/lint/pylama_pylint.pyc
+${PYSITELIB}/pylama/lint/pylama_pylint.pyo
+${PYSITELIB}/pylama/lint/pylama_radon.py
+${PYSITELIB}/pylama/lint/pylama_radon.pyc
+${PYSITELIB}/pylama/lint/pylama_radon.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
diff -r 8d22b73462fb -r 928968a39079 devel/py-lama7/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lama7/distinfo   Sat Jun 18 21:44:34 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/06/18 21:44:34 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
diff -r 8d22b73462fb -r 928968a39079 devel/py-lama7/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-lama7/patches/patch-setup.py     Sat Jun 18 21:44:34 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2022/06/18 21:44:34 wiz 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