devel/py-pylint-venv: New port: Pylint-venv allows use same Pylint with different virtual environments
This commit is contained in:
parent
7790782dbc
commit
e8948076b9
@ -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
|
||||
|
25
devel/py-pylint-venv/Makefile
Normal file
25
devel/py-pylint-venv/Makefile
Normal file
@ -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>
|
3
devel/py-pylint-venv/distinfo
Normal file
3
devel/py-pylint-venv/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1665619311
|
||||
SHA256 (pylint-venv-2.3.0.tar.gz) = 3594955502fdee83c98bfcc8c14cd615e6c7c3608aea525df84853ce79f296bf
|
||||
SIZE (pylint-venv-2.3.0.tar.gz) = 5033
|
4
devel/py-pylint-venv/pkg-descr
Normal file
4
devel/py-pylint-venv/pkg-descr
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user