pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-logan Add tests PKG_OPTION. Update to 0.6.0. ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ffd345a72889
branches: trunk
changeset: 649116:ffd345a72889
user: rodent <rodent%pkgsrc.org@localhost>
date: Wed Apr 01 02:39:02 2015 +0000
description:
Add tests PKG_OPTION. Update to 0.6.0. Dropped py26 support and added
py3{3,4} support. Add dependency on devel/py-flake8.
diffstat:
devel/py-logan/Makefile | 10 +++++++---
devel/py-logan/distinfo | 8 ++++----
devel/py-logan/options.mk | 13 +++++++++++++
3 files changed, 24 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 403d27b63f85 -r ffd345a72889 devel/py-logan/Makefile
--- a/devel/py-logan/Makefile Wed Apr 01 02:24:34 2015 +0000
+++ b/devel/py-logan/Makefile Wed Apr 01 02:39:02 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2014/05/09 07:37:01 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2015/04/01 02:39:02 rodent Exp $
-DISTNAME= logan-0.5.10
+DISTNAME= logan-0.6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= https://pypi.python.org/packages/source/l/logan/
@@ -10,8 +10,12 @@
COMMENT= Toolkit for building standalone Django applications
LICENSE= apache-2.0
+DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
+
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.5.9.1
+PYTHON_VERSIONS_INCOMPATIBLE= 26
+
+.include "options.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 403d27b63f85 -r ffd345a72889 devel/py-logan/distinfo
--- a/devel/py-logan/distinfo Wed Apr 01 02:24:34 2015 +0000
+++ b/devel/py-logan/distinfo Wed Apr 01 02:39:02 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2014/05/03 12:54:36 rodent Exp $
+$NetBSD: distinfo,v 1.3 2015/04/01 02:39:02 rodent Exp $
-SHA1 (logan-0.5.10.tar.gz) = 637680931391b96248405488fb890ef7acbfb9c0
-RMD160 (logan-0.5.10.tar.gz) = 7d2d0969bcd0de87a244cd58d0babe2d6bbf5194
-Size (logan-0.5.10.tar.gz) = 6617 bytes
+SHA1 (logan-0.6.0.tar.gz) = d33ef7d53affc883a4832bd77132f2c6bf3f3822
+RMD160 (logan-0.6.0.tar.gz) = d09d85746908910f393041452ab62b54beb87358
+Size (logan-0.6.0.tar.gz) = 6742 bytes
diff -r 403d27b63f85 -r ffd345a72889 devel/py-logan/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-logan/options.mk Wed Apr 01 02:39:02 2015 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1 2015/04/01 02:39:02 rodent Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.py-logan
+PKG_SUPPORTED_OPTIONS= tests
+PKG_SUGGESTED_OPTIONS+= # blank
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtests)
+DEPENDS+= ${PYPKGPREFIX}-django>=1.5:../../www/py-django
+DEPENDS+= ${PYPKGPREFIX}-mock>=0.8.0:../../devel/py-mock
+DEPENDS+= ${PYPKGPREFIX}-nose>=1.1.2:../../devel/py-nose
+.endif
Home |
Main Index |
Thread Index |
Old Index