pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-ruamel-yaml



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Apr 23 15:52:33 UTC 2017

Modified Files:
        pkgsrc/devel/py-ruamel-yaml: Makefile PLIST

Log Message:
Adjust DEPENDS and PLIST

py-ruamel-base is no longer needed and Python < 35 also needs py-typing.
Due the latter, requires.txt is installed also for the py34- version, adjust
PLIST accordingly.

Pointed out by <nils>'s bulk builds.

Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-ruamel-yaml/Makefile \
    pkgsrc/devel/py-ruamel-yaml/PLIST

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

Modified files:

Index: pkgsrc/devel/py-ruamel-yaml/Makefile
diff -u pkgsrc/devel/py-ruamel-yaml/Makefile:1.2 pkgsrc/devel/py-ruamel-yaml/Makefile:1.3
--- pkgsrc/devel/py-ruamel-yaml/Makefile:1.2    Fri Apr 14 13:05:06 2017
+++ pkgsrc/devel/py-ruamel-yaml/Makefile        Sun Apr 23 15:52:33 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2017/04/14 13:05:06 leot Exp $
+# $NetBSD: Makefile,v 1.3 2017/04/23 15:52:33 leot Exp $
 
 DISTNAME=      ruamel.yaml-0.14.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/./-/1}
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/ruamel.yaml/}
 
@@ -10,12 +11,16 @@ HOMEPAGE=   https://bitbucket.org/ruamel/y
 COMMENT=       YAML parser/emitter
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-ruamel-base>=1.0.0:../../devel/py-ruamel-base
+PLIST_VARS+=   pyreq
 
-# for python < 3.0
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} < 30
 DEPENDS+=      ${PYPKGPREFIX}-ruamel-ordereddict>=0.4.9:../../devel/py-ruamel-ordereddict
+PLIST.pyreq=   yes
+.endif
+.if ${_PYTHON_VERSION} < 35
+DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
+PLIST.pyreq=   yes
 .endif
 
 .include "../../lang/python/application.mk"
Index: pkgsrc/devel/py-ruamel-yaml/PLIST
diff -u pkgsrc/devel/py-ruamel-yaml/PLIST:1.2 pkgsrc/devel/py-ruamel-yaml/PLIST:1.3
--- pkgsrc/devel/py-ruamel-yaml/PLIST:1.2       Fri Apr 14 13:05:06 2017
+++ pkgsrc/devel/py-ruamel-yaml/PLIST   Sun Apr 23 15:52:33 2017
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2017/04/14 13:05:06 leot Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/04/23 15:52:33 leot Exp $
 ${PYSITELIB}/_ruamel_yaml.so
 ${PYSITELIB}/${EGG_NAME}-nspkg.pth
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PLIST.pyreq}${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/ruamel/yaml/__init__.py
 ${PYSITELIB}/ruamel/yaml/__init__.pyc



Home | Main Index | Thread Index | Old Index