pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-ruamel-yaml Adjust DEPENDS and PLIST



details:   https://anonhg.NetBSD.org/pkgsrc/rev/216177637d26
branches:  trunk
changeset: 361654:216177637d26
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Apr 23 15:52:33 2017 +0000

description:
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

diffstat:

 devel/py-ruamel-yaml/Makefile |  11 ++++++++---
 devel/py-ruamel-yaml/PLIST    |   4 ++--
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r ac24df13ce72 -r 216177637d26 devel/py-ruamel-yaml/Makefile
--- a/devel/py-ruamel-yaml/Makefile     Sun Apr 23 14:57:00 2017 +0000
+++ b/devel/py-ruamel-yaml/Makefile     Sun Apr 23 15:52:33 2017 +0000
@@ -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 @@
 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"
diff -r ac24df13ce72 -r 216177637d26 devel/py-ruamel-yaml/PLIST
--- a/devel/py-ruamel-yaml/PLIST        Sun Apr 23 14:57:00 2017 +0000
+++ b/devel/py-ruamel-yaml/PLIST        Sun Apr 23 15:52:33 2017 +0000
@@ -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