pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-flask-testing py-flask-testing: updated to 0.6.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4783ee115f33
branches:  trunk
changeset: 372629:4783ee115f33
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Dec 12 10:07:26 2017 +0000

description:
py-flask-testing: updated to 0.6.2

Version 0.6.2:
* Add support for OS chosen port in LiveServerTestCase
* Better error messages when missing required modules
* assertRedirects now supports all valid redirect codes as specified in the HTTP protocol
* Fixed bug that caused TypeError instead of AssertionError when testing against used templates
* Fixed bug in assertRedirects where the location was not being checked properly

diffstat:

 www/py-flask-testing/Makefile               |  16 +++++++++++-----
 www/py-flask-testing/distinfo               |  11 ++++++-----
 www/py-flask-testing/options.mk             |  15 ---------------
 www/py-flask-testing/patches/patch-setup.py |  15 +++++++++++++++
 4 files changed, 32 insertions(+), 25 deletions(-)

diffs (87 lines):

diff -r 5dd3d4a05283 -r 4783ee115f33 www/py-flask-testing/Makefile
--- a/www/py-flask-testing/Makefile     Tue Dec 12 09:53:24 2017 +0000
+++ b/www/py-flask-testing/Makefile     Tue Dec 12 10:07:26 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2017/09/16 19:27:23 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2017/12/12 10:07:26 adam Exp $
 
-DISTNAME=      Flask-Testing-0.6.1
+DISTNAME=      Flask-Testing-0.6.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    python www
+CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-Testing/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,9 +10,15 @@
 COMMENT=       Unit testing for Flask
 LICENSE=       modified-bsd
 
-USE_LANGUAGES= # none
+DEPENDS+=      ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
+.include "../../lang/python/pyversion.mk"
+.if "${PYPKGPREFIX}" == "py27"
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-twill-[0-9]*:../../www/py-twill
+.endif
 
-.include "options.mk"
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5dd3d4a05283 -r 4783ee115f33 www/py-flask-testing/distinfo
--- a/www/py-flask-testing/distinfo     Tue Dec 12 09:53:24 2017 +0000
+++ b/www/py-flask-testing/distinfo     Tue Dec 12 10:07:26 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2017/01/12 12:03:02 rodent Exp $
+$NetBSD: distinfo,v 1.5 2017/12/12 10:07:26 adam Exp $
 
-SHA1 (Flask-Testing-0.6.1.tar.gz) = 3f087821c11279fc1270a3a24bb7bb848eb08bbb
-RMD160 (Flask-Testing-0.6.1.tar.gz) = d86b1c5cb835d96f822d670da41f3fe25da2dfed
-SHA512 (Flask-Testing-0.6.1.tar.gz) = f7a0a89885693f568e8e03a9ae689add3b9577517faa6b842bb6b990a2be447ecb9ccf693dd5279ca98dfcc8b18e2041fccf0cf36c28cea5fdc0dbdc9b64f065
-Size (Flask-Testing-0.6.1.tar.gz) = 42541 bytes
+SHA1 (Flask-Testing-0.6.2.tar.gz) = 83ec46ab013a3a3933493f0c11eaaec5227eb8a8
+RMD160 (Flask-Testing-0.6.2.tar.gz) = c33e390984329159213c9c8c00ba31a006bcf880
+SHA512 (Flask-Testing-0.6.2.tar.gz) = 1ce6a32f2c4e2d6d39c0bd2f01b8d20e2ee8faa5cb31d308bbcda2159f8307cc42f445e328a3752c3c3c66f4fffef75b400c70954b1aeb1aabab8a54c565b5ce
+Size (Flask-Testing-0.6.2.tar.gz) = 129078 bytes
+SHA1 (patch-setup.py) = fe943d9be269ff42100b0185ad7ed476b0326c0a
diff -r 5dd3d4a05283 -r 4783ee115f33 www/py-flask-testing/options.mk
--- a/www/py-flask-testing/options.mk   Tue Dec 12 09:53:24 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-# $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
diff -r 5dd3d4a05283 -r 4783ee115f33 www/py-flask-testing/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-testing/patches/patch-setup.py       Tue Dec 12 10:07:26 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2017/12/12 10:07:27 adam Exp $
+
+Allow newer py-twill.
+
+--- setup.py.orig      2017-12-12 10:03:22.000000000 +0000
++++ setup.py
+@@ -23,7 +23,7 @@ install_requires = [
+ ]
+ 
+ if sys.version_info[0] < 3:
+-    tests_require.append('twill==0.9.1')
++    tests_require.append('twill>=0.9.1')
+ 
+ if sys.version_info < (2, 6):
+     tests_require.append('simplejson')



Home | Main Index | Thread Index | Old Index