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:   adam
Date:           Fri Sep 11 08:16:19 UTC 2020

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

Log Message:
py-commonmark: use egg, fix dependencies and category


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-commonmark/Makefile \
    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.1 pkgsrc/textproc/py-commonmark/Makefile:1.2
--- pkgsrc/textproc/py-commonmark/Makefile:1.1  Fri Sep 11 00:46:00 2020
+++ pkgsrc/textproc/py-commonmark/Makefile      Fri Sep 11 08:16:18 2020
@@ -1,17 +1,19 @@
-# $NetBSD: Makefile,v 1.1 2020/09/11 00:46:00 js Exp $
+# $NetBSD: Makefile,v 1.2 2020/09/11 08:16:18 adam Exp $
 
 DISTNAME=      commonmark-0.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-CATEGORIES=    textproc www
+CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/commonmark/}
 
-MAINTAINER=    kamelderouiche%yahoo.com@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/rtfd/CommonMark-py
 COMMENT=       Python parser for the CommonMark Markdown spec
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-future>=0.15.2:../../devel/py-future
-DEPENDS+=      ${PYPKGPREFIX}-hypothesis>=3.4.2:../../devel/py-hypothesis
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-future>=0.14.0:../../devel/py-future
+.endif
 
 USE_LANGUAGES= # none
 
@@ -19,5 +21,5 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} cmark cmark-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-commonmark/PLIST
diff -u pkgsrc/textproc/py-commonmark/PLIST:1.1 pkgsrc/textproc/py-commonmark/PLIST:1.2
--- pkgsrc/textproc/py-commonmark/PLIST:1.1     Fri Sep 11 00:46:00 2020
+++ pkgsrc/textproc/py-commonmark/PLIST Fri Sep 11 08:16:18 2020
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2020/09/11 00:46:00 js Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/09/11 08:16:18 adam Exp $
 bin/cmark-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/entry_points.txt
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
+${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}/commonmark/__init__.py
 ${PYSITELIB}/commonmark/__init__.pyc
 ${PYSITELIB}/commonmark/__init__.pyo



Home | Main Index | Thread Index | Old Index