pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django-tastypie Use versioned_dependencies also...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02a7295c0ee9
branches:  trunk
changeset: 635613:02a7295c0ee9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jun 09 12:23:00 2014 +0000

description:
Use versioned_dependencies also for python-digest.

diffstat:

 www/py-django-tastypie/options.mk |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (21 lines):

diff -r 664aa4a56b22 -r 02a7295c0ee9 www/py-django-tastypie/options.mk
--- a/www/py-django-tastypie/options.mk Mon Jun 09 12:22:32 2014 +0000
+++ b/www/py-django-tastypie/options.mk Mon Jun 09 12:23:00 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2014/06/09 10:52:47 jperkin Exp $
+# $NetBSD: options.mk,v 1.3 2014/06/09 12:23:00 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.py-django-tastypie
 PKG_SUPPORTED_OPTIONS= digest
@@ -7,10 +7,5 @@
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mdigest)
-.include "../../lang/python/pyversion.mk"
-.  if ${PYVERSSUFFIX} > 2.7
-DEPENDS+=      ${PYPKGPREFIX}-python-digest-[0-9]*:../../www/py-python3-digest
-.  else
-DEPENDS+=      ${PYPKGPREFIX}-python-digest-[0-9]*:../../www/py-python-digest
-.  endif
+PYTHON_VERSIONED_DEPENDENCIES+=        python-digest
 .endif



Home | Main Index | Thread Index | Old Index