pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-commonmark



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May 13 10:47:58 UTC 2025

Modified Files:
        pkgsrc/textproc/py-commonmark: Makefile PLIST

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

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-commonmark/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-commonmark/PLIST

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

Modified files:

Index: pkgsrc/textproc/py-commonmark/Makefile
diff -u pkgsrc/textproc/py-commonmark/Makefile:1.5 pkgsrc/textproc/py-commonmark/Makefile:1.6
--- pkgsrc/textproc/py-commonmark/Makefile:1.5  Wed Mar 29 09:34:13 2023
+++ pkgsrc/textproc/py-commonmark/Makefile      Tue May 13 10:47:58 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2023/03/29 09:34:13 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2025/05/13 10:47:58 wiz Exp $
 
 DISTNAME=      commonmark-0.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/commonmark/}
 
@@ -11,19 +11,13 @@ HOMEPAGE=   https://github.com/rtfd/Common
 COMMENT=       Python parser for the CommonMark Markdown spec
 LICENSE=       modified-bsd
 
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} == 207
-DEPENDS+=      ${PYPKGPREFIX}-future>=0.14.0:../../devel/py-future
-.endif
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 
 USE_LANGUAGES= # none
 
-USE_PKG_RESOURCES=     yes
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} cmark cmark-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-commonmark/PLIST
diff -u pkgsrc/textproc/py-commonmark/PLIST:1.2 pkgsrc/textproc/py-commonmark/PLIST:1.3
--- pkgsrc/textproc/py-commonmark/PLIST:1.2     Fri Sep 11 08:16:18 2020
+++ pkgsrc/textproc/py-commonmark/PLIST Tue May 13 10:47:58 2025
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2020/09/11 08:16:18 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/05/13 10:47:58 wiz Exp $
 bin/cmark-${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}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/commonmark/__init__.py
 ${PYSITELIB}/commonmark/__init__.pyc
 ${PYSITELIB}/commonmark/__init__.pyo



Home | Main Index | Thread Index | Old Index