Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-commonmark py-commonmark: use egg, fix dep...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e2ca9601d80
branches:  trunk
changeset: 438875:5e2ca9601d80
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Sep 11 08:16:18 2020 +0000

description:
py-commonmark: use egg, fix dependencies and category

diffstat:

 textproc/py-commonmark/Makefile |  14 ++++++++------
 textproc/py-commonmark/PLIST    |  14 +++++++-------
 2 files changed, 15 insertions(+), 13 deletions(-)

diffs (57 lines):

diff -r 46836ed10b85 -r 5e2ca9601d80 textproc/py-commonmark/Makefile
--- a/textproc/py-commonmark/Makefile   Fri Sep 11 05:49:03 2020 +0000
+++ b/textproc/py-commonmark/Makefile   Fri Sep 11 08:16:18 2020 +0000
@@ -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 @@
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} cmark cmark-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 46836ed10b85 -r 5e2ca9601d80 textproc/py-commonmark/PLIST
--- a/textproc/py-commonmark/PLIST      Fri Sep 11 05:49:03 2020 +0000
+++ b/textproc/py-commonmark/PLIST      Fri Sep 11 08:16:18 2020 +0000
@@ -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