git: 3a6f54f85108 - main - devel/py-pylint-venv: Update 2.3.0 → 3.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jul 2023 08:17:45 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3a6f54f85108a71c3dff350a2634113b650edcd1
commit 3a6f54f85108a71c3dff350a2634113b650edcd1
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-18 13:51:38 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-19 08:17:38 +0000
devel/py-pylint-venv: Update 2.3.0 → 3.0.2
---
devel/py-pylint-venv/Makefile | 24 ++++--------------------
devel/py-pylint-venv/distinfo | 6 +++---
2 files changed, 7 insertions(+), 23 deletions(-)
diff --git a/devel/py-pylint-venv/Makefile b/devel/py-pylint-venv/Makefile
index d81c983d3607..83a56a82fdd8 100644
--- a/devel/py-pylint-venv/Makefile
+++ b/devel/py-pylint-venv/Makefile
@@ -1,9 +1,9 @@
PORTNAME= pylint-venv
-DISTVERSION= 2.3.0
-PORTREVISION= 1
+DISTVERSION= 3.0.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Pylint-venv allows use same Pylint with different virtual environments
@@ -12,27 +12,11 @@ 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}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= pep517 autoplist
NO_ARCH= yes
-POST_PLIST+= fix-plist
-
-# upstream stopped providing setup.py
-post-patch:
- @${ECHO_CMD} 'import setuptools; setuptools.setup()' > ${WRKSRC}/setup.py
-
-post-install:
- @cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && \
- ${REINPLACE_CMD} \
- -e 's|^Version:.*|Version: ${DISTVERSION}|' \
- pylint_venv-0.0.0-py${PYTHON_VER}.egg-info/PKG-INFO && \
- ${MV} pylint_venv-0.0.0-py${PYTHON_VER}.egg-info pylint_venv-${DISTVERSION}-py${PYTHON_VER}.egg-info
-
-fix-plist:
- ${REINPLACE_CMD} -e 's|0\.0\.0|${DISTVERSION}|' ${TMPPLIST}
-
.include <bsd.port.mk>
diff --git a/devel/py-pylint-venv/distinfo b/devel/py-pylint-venv/distinfo
index 86424bce368a..b25444def3f9 100644
--- a/devel/py-pylint-venv/distinfo
+++ b/devel/py-pylint-venv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665619311
-SHA256 (pylint-venv-2.3.0.tar.gz) = 3594955502fdee83c98bfcc8c14cd615e6c7c3608aea525df84853ce79f296bf
-SIZE (pylint-venv-2.3.0.tar.gz) = 5033
+TIMESTAMP = 1689751856
+SHA256 (pylint_venv-3.0.2.tar.gz) = 228de47cfc6411b0a94a327bd23026379dd771d8e78c3abc75af1adc1ce8cd91
+SIZE (pylint_venv-3.0.2.tar.gz) = 5323