pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test-pylint



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 10 15:18:02 UTC 2024

Modified Files:
        pkgsrc/devel/py-test-pylint: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-test-pylint/patches: patch-setup.py

Log Message:
py-test-pylint: convert to wheel.mk.

Remove unneeded test dependency.
Enable tests again.
Update test status.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-test-pylint/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-test-pylint/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-test-pylint/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-pylint/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test-pylint/Makefile
diff -u pkgsrc/devel/py-test-pylint/Makefile:1.8 pkgsrc/devel/py-test-pylint/Makefile:1.9
--- pkgsrc/devel/py-test-pylint/Makefile:1.8    Fri Oct  6 12:43:24 2023
+++ pkgsrc/devel/py-test-pylint/Makefile        Sat Aug 10 15:18:01 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2023/10/06 12:43:24 adam Exp $
+# $NetBSD: Makefile,v 1.9 2024/08/10 15:18:01 wiz Exp $
 
 DISTNAME=      pytest-pylint-0.21.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-pylint/}
 
@@ -10,22 +11,23 @@ HOMEPAGE=   https://github.com/carsongee/p
 COMMENT=       Pytest plugin to check source code with Pylint
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-pylint>=2.15.0:../../devel/py-pylint
 DEPENDS+=      ${PYPKGPREFIX}-test>=7.0:../../devel/py-test
-TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+# as of 0.21.0
+# 33 passed, 36 warnings
+
 .include "../../lang/python/pyversion.mk"
+
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
 .endif
 
-# test are not included
-do-test:
-       ${DO_NADA}
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-test-pylint/PLIST
diff -u pkgsrc/devel/py-test-pylint/PLIST:1.2 pkgsrc/devel/py-test-pylint/PLIST:1.3
--- pkgsrc/devel/py-test-pylint/PLIST:1.2       Fri Jun 12 06:31:08 2020
+++ pkgsrc/devel/py-test-pylint/PLIST   Sat Aug 10 15:18:01 2024
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2020/06/12 06:31:08 adam Exp $
-${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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2024/08/10 15:18:01 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pytest_pylint/__init__.py
 ${PYSITELIB}/pytest_pylint/__init__.pyc
 ${PYSITELIB}/pytest_pylint/__init__.pyo

Index: pkgsrc/devel/py-test-pylint/distinfo
diff -u pkgsrc/devel/py-test-pylint/distinfo:1.7 pkgsrc/devel/py-test-pylint/distinfo:1.8
--- pkgsrc/devel/py-test-pylint/distinfo:1.7    Fri Oct  6 12:43:24 2023
+++ pkgsrc/devel/py-test-pylint/distinfo        Sat Aug 10 15:18:01 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2023/10/06 12:43:24 adam Exp $
+$NetBSD: distinfo,v 1.8 2024/08/10 15:18:01 wiz Exp $
 
 BLAKE2s (pytest-pylint-0.21.0.tar.gz) = 5fadfd4d1c7631133a6f63d7580f778742ab857e4d29a59c806a8f103eb0329c
 SHA512 (pytest-pylint-0.21.0.tar.gz) = 5c7c7fc8ffd5fa9a3f216339db9ec965bb81d14efe6c70cff74a782e1cd092ca762a6bba1cf517decf97ff903338cf20045ec80580fd30d7f676c1e4c47fe96f
 Size (pytest-pylint-0.21.0.tar.gz) = 14250 bytes
+SHA1 (patch-setup.py) = d4ef339620520298b65d6f12427e6b1cda8f4ae5

Added files:

Index: pkgsrc/devel/py-test-pylint/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-test-pylint/patches/patch-setup.py:1.1
--- /dev/null   Sat Aug 10 15:18:02 2024
+++ pkgsrc/devel/py-test-pylint/patches/patch-setup.py  Sat Aug 10 15:18:02 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2024/08/10 15:18:02 wiz Exp $
+
+https://github.com/carsongee/pytest-pylint/issues/195
+
+--- setup.py.orig      2024-08-10 15:16:46.983772565 +0000
++++ setup.py
+@@ -28,7 +28,7 @@ setup(
+         "pylint>=2.15.0",
+         "tomli>=1.1.0; python_version < '3.11'",
+     ],
+-    setup_requires=["pytest-runner"],
++    setup_requires=[],
+     tests_require=["coverage", "flake8", "black", "isort"],
+     classifiers=[
+         "Development Status :: 5 - Production/Stable",



Home | Main Index | Thread Index | Old Index