summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-05-03 02:13:35 +0000
committerrodent <rodent@pkgsrc.org>2014-05-03 02:13:35 +0000
commit69c67fb12410193c8d3830ad2645018233eb22c7 (patch)
tree9acc9aaac293db8943f9305cc50b1d2a6f815a78 /www
parent863512063b496799be179f4af25a7aab380894ec (diff)
downloadpkgsrc-69c67fb12410193c8d3830ad2645018233eb22c7.tar.gz
Import py27-Flask-Testing-0.4.1 as www/py-flask-testing.
Flask unittest integration.
Diffstat (limited to 'www')
-rw-r--r--www/py-flask-testing/DESCR1
-rw-r--r--www/py-flask-testing/Makefile18
-rw-r--r--www/py-flask-testing/PLIST16
-rw-r--r--www/py-flask-testing/distinfo5
-rw-r--r--www/py-flask-testing/options.mk15
5 files changed, 55 insertions, 0 deletions
diff --git a/www/py-flask-testing/DESCR b/www/py-flask-testing/DESCR
new file mode 100644
index 00000000000..2f3dbe4b3d6
--- /dev/null
+++ b/www/py-flask-testing/DESCR
@@ -0,0 +1 @@
+Flask unittest integration.
diff --git a/www/py-flask-testing/Makefile b/www/py-flask-testing/Makefile
new file mode 100644
index 00000000000..7ac8f293486
--- /dev/null
+++ b/www/py-flask-testing/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2014/05/03 02:13:35 rodent Exp $
+
+DISTNAME= Flask-Testing-0.4.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python www
+MASTER_SITES= https://pypi.python.org/packages/source/F/Flask-Testing/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= https://github.com/jarus/flask-testing
+COMMENT= Unit testing for Flask
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "options.mk"
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-flask-testing/PLIST b/www/py-flask-testing/PLIST
new file mode 100644
index 00000000000..fe191093410
--- /dev/null
+++ b/www/py-flask-testing/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/03 02:13:35 rodent Exp $
+${PYSITELIB}/Flask_Testing-${PKGVERSION}-py2.7.egg-info/PKG-INFO
+${PYSITELIB}/Flask_Testing-${PKGVERSION}-py2.7.egg-info/SOURCES.txt
+${PYSITELIB}/Flask_Testing-${PKGVERSION}-py2.7.egg-info/dependency_links.txt
+${PYSITELIB}/Flask_Testing-${PKGVERSION}-py2.7.egg-info/not-zip-safe
+${PYSITELIB}/Flask_Testing-${PKGVERSION}-py2.7.egg-info/requires.txt
+${PYSITELIB}/Flask_Testing-${PKGVERSION}-py2.7.egg-info/top_level.txt
+${PYSITELIB}/flask_testing/__init__.py
+${PYSITELIB}/flask_testing/__init__.pyc
+${PYSITELIB}/flask_testing/__init__.pyo
+${PYSITELIB}/flask_testing/twill.py
+${PYSITELIB}/flask_testing/twill.pyc
+${PYSITELIB}/flask_testing/twill.pyo
+${PYSITELIB}/flask_testing/utils.py
+${PYSITELIB}/flask_testing/utils.pyc
+${PYSITELIB}/flask_testing/utils.pyo
diff --git a/www/py-flask-testing/distinfo b/www/py-flask-testing/distinfo
new file mode 100644
index 00000000000..27fc4b97a76
--- /dev/null
+++ b/www/py-flask-testing/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/05/03 02:13:35 rodent Exp $
+
+SHA1 (Flask-Testing-0.4.1.tar.gz) = 80d154d5111d1856f8fa81b0d5a8805d62ac79cf
+RMD160 (Flask-Testing-0.4.1.tar.gz) = 4bd3e66943dbe4abe2f17d015be0e835cc00f075
+Size (Flask-Testing-0.4.1.tar.gz) = 39879 bytes
diff --git a/www/py-flask-testing/options.mk b/www/py-flask-testing/options.mk
new file mode 100644
index 00000000000..5d88b1eb035
--- /dev/null
+++ b/www/py-flask-testing/options.mk
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2014/05/03 02:13:35 rodent Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.py-flask-testing
+PKG_SUPPORTED_OPTIONS= tests
+PKG_SUGGESTED_OPTIONS+= # blank
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtests)
+DEPENDS+= ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
+.include "../../lang/python/pyversion.mk"
+.if ${PYPACKAGE:C/([0-9])[0-9]/\1/1} == "python2"
+DEPENDS+= ${PYPKGPREFIX}-twill-[0-9]*:../../www/py-twill
+.endif
+.endif