diff options
author | leot <leot> | 2017-04-23 15:52:33 +0000 |
---|---|---|
committer | leot <leot> | 2017-04-23 15:52:33 +0000 |
commit | 868ed1b71049a2c185ebac38790c54f40f3421ab (patch) | |
tree | 43c818c3115805b865cda2077a907351e7e75899 /devel | |
parent | 4cf5ca0f9fb962c21949c71fe986918de67cde6e (diff) | |
download | pkgsrc-868ed1b71049a2c185ebac38790c54f40f3421ab.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/py-ruamel-yaml/Makefile | 11 | ||||
-rw-r--r-- | devel/py-ruamel-yaml/PLIST | 4 |
2 files changed, 10 insertions, 5 deletions
diff --git a/devel/py-ruamel-yaml/Makefile b/devel/py-ruamel-yaml/Makefile index 5159370f516..63001ef9aa0 100644 --- a/devel/py-ruamel-yaml/Makefile +++ b/devel/py-ruamel-yaml/Makefile @@ -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/yaml 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 --git a/devel/py-ruamel-yaml/PLIST b/devel/py-ruamel-yaml/PLIST index e96f5dde070..9fb3d502898 100644 --- a/devel/py-ruamel-yaml/PLIST +++ b/devel/py-ruamel-yaml/PLIST @@ -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 |