Date: Thu, 13 Oct 2022 07:52:46 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e8948076b9a9 - main - devel/py-pylint-venv: New port: Pylint-venv allows use same Pylint with different virtual environments Message-ID: <202210130752.29D7qkKZ036770@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e8948076b9a9134a89f8f423b60c40e58938255f commit e8948076b9a9134a89f8f423b60c40e58938255f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-10-13 00:40:05 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-10-13 07:52:43 +0000 devel/py-pylint-venv: New port: Pylint-venv allows use same Pylint with different virtual environments --- devel/Makefile | 1 + devel/py-pylint-venv/Makefile | 25 +++++++++++++++++++++++++ devel/py-pylint-venv/distinfo | 3 +++ devel/py-pylint-venv/pkg-descr | 4 ++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 63389fa09505..9652bfd65170 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5080,6 +5080,7 @@ SUBDIR += py-pylibsrtp SUBDIR += py-pylint-django SUBDIR += py-pylint-plugin-utils + SUBDIR += py-pylint-venv SUBDIR += py-pylru SUBDIR += py-pylru-cache SUBDIR += py-pyls-black diff --git a/devel/py-pylint-venv/Makefile b/devel/py-pylint-venv/Makefile new file mode 100644 index 000000000000..fac086d0ab2d --- /dev/null +++ b/devel/py-pylint-venv/Makefile @@ -0,0 +1,25 @@ +PORTNAME= pylint-venv +PORTVERSION= 2.3.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pylint-venv allows use same Pylint with different virtual environments +WWW= https://github.com/jgosmann/pylint-venv/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +# upstream stopped providing setup.py +post-patch: + @${ECHO_CMD} 'import setuptools; setuptools.setup()' > ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/devel/py-pylint-venv/distinfo b/devel/py-pylint-venv/distinfo new file mode 100644 index 000000000000..86424bce368a --- /dev/null +++ b/devel/py-pylint-venv/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665619311 +SHA256 (pylint-venv-2.3.0.tar.gz) = 3594955502fdee83c98bfcc8c14cd615e6c7c3608aea525df84853ce79f296bf +SIZE (pylint-venv-2.3.0.tar.gz) = 5033 diff --git a/devel/py-pylint-venv/pkg-descr b/devel/py-pylint-venv/pkg-descr new file mode 100644 index 000000000000..fad72a24d3a8 --- /dev/null +++ b/devel/py-pylint-venv/pkg-descr @@ -0,0 +1,4 @@ +Pylint does not respect the currently activated virtualenv if it is not +installed in every virtual environment individually. This module provides a +Pylint init-hook to use the same Pylint installation with different virtual +environments.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210130752.29D7qkKZ036770>