pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-lama7
Module Name: pkgsrc
Committed By: wiz
Date: Sat Jun 18 21:44:34 UTC 2022
Added Files:
pkgsrc/devel/py-lama7: ALTERNATIVES DESCR Makefile PLIST distinfo
pkgsrc/devel/py-lama7/patches: patch-setup.py
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-lama7/ALTERNATIVES \
pkgsrc/devel/py-lama7/DESCR pkgsrc/devel/py-lama7/Makefile \
pkgsrc/devel/py-lama7/PLIST pkgsrc/devel/py-lama7/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-lama7/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-lama7/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-lama7/ALTERNATIVES:1.1
--- /dev/null Sat Jun 18 21:44:34 2022
+++ pkgsrc/devel/py-lama7/ALTERNATIVES Sat Jun 18 21:44:34 2022
@@ -0,0 +1 @@
+bin/pylama @PREFIX@/bin/pylama-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-lama7/DESCR
diff -u /dev/null pkgsrc/devel/py-lama7/DESCR:1.1
--- /dev/null Sat Jun 18 21:44:34 2022
+++ pkgsrc/devel/py-lama7/DESCR Sat Jun 18 21:44:34 2022
@@ -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.
Index: pkgsrc/devel/py-lama7/Makefile
diff -u /dev/null pkgsrc/devel/py-lama7/Makefile:1.1
--- /dev/null Sat Jun 18 21:44:34 2022
+++ pkgsrc/devel/py-lama7/Makefile Sat Jun 18 21:44:34 2022
@@ -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"
Index: pkgsrc/devel/py-lama7/PLIST
diff -u /dev/null pkgsrc/devel/py-lama7/PLIST:1.1
--- /dev/null Sat Jun 18 21:44:34 2022
+++ pkgsrc/devel/py-lama7/PLIST Sat Jun 18 21:44:34 2022
@@ -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
Index: pkgsrc/devel/py-lama7/distinfo
diff -u /dev/null pkgsrc/devel/py-lama7/distinfo:1.1
--- /dev/null Sat Jun 18 21:44:34 2022
+++ pkgsrc/devel/py-lama7/distinfo Sat Jun 18 21:44:34 2022
@@ -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
Index: pkgsrc/devel/py-lama7/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-lama7/patches/patch-setup.py:1.1
--- /dev/null Sat Jun 18 21:44:34 2022
+++ pkgsrc/devel/py-lama7/patches/patch-setup.py Sat Jun 18 21:44:34 2022
@@ -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