pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-watchdog



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jan 17 12:34:06 UTC 2024

Modified Files:
        pkgsrc/sysutils/py-watchdog: Makefile PLIST

Log Message:
py-watchdog: convert to wheel.mk

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/py-watchdog/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/py-watchdog/PLIST

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

Modified files:

Index: pkgsrc/sysutils/py-watchdog/Makefile
diff -u pkgsrc/sysutils/py-watchdog/Makefile:1.16 pkgsrc/sysutils/py-watchdog/Makefile:1.17
--- pkgsrc/sysutils/py-watchdog/Makefile:1.16   Fri May  5 11:39:41 2023
+++ pkgsrc/sysutils/py-watchdog/Makefile        Wed Jan 17 12:34:06 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2023/05/05 11:39:41 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2024/01/17 12:34:06 wiz Exp $
 
 DISTNAME=      watchdog-3.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/watchdog/}
 
@@ -10,7 +11,11 @@ HOMEPAGE=    https://github.com/gorakhargos
 COMMENT=       Filesystem events monitoring
 LICENSE=       apache-2.0
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.10:../../textproc/py-yaml
+# as of 3.0.0
+# 3 failed, 141 passed, 13 skipped, 20 warnings, 1 error
 TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
@@ -18,17 +23,9 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test-timeo
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
-# as of 3.0.0
-# 3 failed, 141 passed, 13 skipped, 20 warnings, 1 error
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} watchmedo watchmedo-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/py-watchdog/PLIST
diff -u pkgsrc/sysutils/py-watchdog/PLIST:1.5 pkgsrc/sysutils/py-watchdog/PLIST:1.6
--- pkgsrc/sysutils/py-watchdog/PLIST:1.5       Fri May  5 11:39:41 2023
+++ pkgsrc/sysutils/py-watchdog/PLIST   Wed Jan 17 12:34:06 2024
@@ -1,12 +1,13 @@
-@comment $NetBSD: PLIST,v 1.5 2023/05/05 11:39:41 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/01/17 12:34:06 wiz Exp $
 bin/watchmedo-${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}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
+${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}/watchdog/__init__.py
 ${PYSITELIB}/watchdog/__init__.pyc
 ${PYSITELIB}/watchdog/__init__.pyo



Home | Main Index | Thread Index | Old Index