pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/py-asttokens



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 30 11:21:07 UTC 2024

Modified Files:
        pkgsrc/lang/py-asttokens: Makefile PLIST

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/lang/py-asttokens/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py-asttokens/PLIST

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

Modified files:

Index: pkgsrc/lang/py-asttokens/Makefile
diff -u pkgsrc/lang/py-asttokens/Makefile:1.24 pkgsrc/lang/py-asttokens/Makefile:1.25
--- pkgsrc/lang/py-asttokens/Makefile:1.24      Thu Oct 26 13:09:46 2023
+++ pkgsrc/lang/py-asttokens/Makefile   Tue Apr 30 11:21:06 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2023/10/26 13:09:46 adam Exp $
+# $NetBSD: Makefile,v 1.25 2024/04/30 11:21:06 wiz Exp $
 
 DISTNAME=      asttokens-2.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/asttokens/}
 
@@ -10,22 +11,15 @@ HOMEPAGE=   https://github.com/gristlabs/a
 COMMENT=       Annotate AST trees with source code positions
 LICENSE=       apache-2.0
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=0:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six
 TEST_DEPENDS+= ${PYPKGPREFIX}-astroid-[0-9]*:../../devel/py-astroid
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONED_DEPENDENCIES+=        pip:build setuptools_scm:build
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} == 207
-DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
-TEST_DEPENDS=  # none; test depends are incompatible to py27
-do-test:
-.endif
-
-.include "../../lang/python/versioned_dependencies.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/lang/py-asttokens/PLIST
diff -u pkgsrc/lang/py-asttokens/PLIST:1.4 pkgsrc/lang/py-asttokens/PLIST:1.5
--- pkgsrc/lang/py-asttokens/PLIST:1.4  Wed Mar  8 13:47:54 2023
+++ pkgsrc/lang/py-asttokens/PLIST      Tue Apr 30 11:21:06 2024
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2023/03/08 13:47:54 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2024/04/30 11:21:06 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/asttokens/__init__.py
 ${PYSITELIB}/asttokens/__init__.pyc
 ${PYSITELIB}/asttokens/__init__.pyo



Home | Main Index | Thread Index | Old Index