pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www This wraps any WSGI application and makes it easy ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a5815ed62f36
branches: trunk
changeset: 365109:a5815ed62f36
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jul 11 09:18:01 2017 +0000
description:
This wraps any WSGI application and makes it easy to send test requests to
that application, without starting up an HTTP server.
This provides convenient full-stack testing of applications written with any
WSGI-compatible framework.
diffstat:
www/Makefile | 4 ++-
www/py-WebTest/DESCR | 5 ++++
www/py-WebTest/Makefile | 27 +++++++++++++++++++++++
www/py-WebTest/PLIST | 41 +++++++++++++++++++++++++++++++++++
www/py-WebTest/distinfo | 7 +++++
www/py-WebTest/patches/patch-setup.py | 15 ++++++++++++
6 files changed, 98 insertions(+), 1 deletions(-)
diffs (134 lines):
diff -r 90ce0f15eb40 -r a5815ed62f36 www/Makefile
--- a/www/Makefile Tue Jul 11 09:15:49 2017 +0000
+++ b/www/Makefile Tue Jul 11 09:18:01 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1253 2017/07/07 07:27:15 adam Exp $
+# $NetBSD: Makefile,v 1.1254 2017/07/11 09:18:01 adam Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -597,7 +597,9 @@
SUBDIR+= py-PasteScript
SUBDIR+= py-Routes
SUBDIR+= py-URLObject
+SUBDIR+= py-WSGIProxy2
SUBDIR+= py-WebOb
+SUBDIR+= py-WebTest
SUBDIR+= py-asgiref
SUBDIR+= py-autobahn
SUBDIR+= py-beautifulsoup
diff -r 90ce0f15eb40 -r a5815ed62f36 www/py-WebTest/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-WebTest/DESCR Tue Jul 11 09:18:01 2017 +0000
@@ -0,0 +1,5 @@
+This wraps any WSGI application and makes it easy to send test requests to
+that application, without starting up an HTTP server.
+
+This provides convenient full-stack testing of applications written with any
+WSGI-compatible framework.
diff -r 90ce0f15eb40 -r a5815ed62f36 www/py-WebTest/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-WebTest/Makefile Tue Jul 11 09:18:01 2017 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2017/07/11 09:18:01 adam Exp $
+
+DISTNAME= WebTest-2.0.27
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=W/WebTest/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://webtest.pythonpaste.org/
+COMMENT= Helper to test WSGI applications
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-WebOb>=1.2:../../www/py-WebOb
+DEPENDS+= ${PYPKGPREFIX}-waitress>=0.8.5:../../www/py-waitress
+BUILD_DEPENDS+= ${PYPKGPREFIX}-PasteDeploy-[0-9]*:../../www/py-PasteDeploy
+BUILD_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+BUILD_DEPENDS+= ${PYPKGPREFIX}-pyquery-[0-9]*:../../textproc/py-pyquery
+BUILD_DEPENDS+= ${PYPKGPREFIX}-WSGIProxy2-[0-9]*:../../www/py-WSGIProxy2
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 90ce0f15eb40 -r a5815ed62f36 www/py-WebTest/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-WebTest/PLIST Tue Jul 11 09:18:01 2017 +0000
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/11 09:18:01 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/webtest/__init__.py
+${PYSITELIB}/webtest/__init__.pyc
+${PYSITELIB}/webtest/__init__.pyo
+${PYSITELIB}/webtest/app.py
+${PYSITELIB}/webtest/app.pyc
+${PYSITELIB}/webtest/app.pyo
+${PYSITELIB}/webtest/compat.py
+${PYSITELIB}/webtest/compat.pyc
+${PYSITELIB}/webtest/compat.pyo
+${PYSITELIB}/webtest/debugapp.py
+${PYSITELIB}/webtest/debugapp.pyc
+${PYSITELIB}/webtest/debugapp.pyo
+${PYSITELIB}/webtest/ext.py
+${PYSITELIB}/webtest/ext.pyc
+${PYSITELIB}/webtest/ext.pyo
+${PYSITELIB}/webtest/forms.py
+${PYSITELIB}/webtest/forms.pyc
+${PYSITELIB}/webtest/forms.pyo
+${PYSITELIB}/webtest/http.py
+${PYSITELIB}/webtest/http.pyc
+${PYSITELIB}/webtest/http.pyo
+${PYSITELIB}/webtest/lint.py
+${PYSITELIB}/webtest/lint.pyc
+${PYSITELIB}/webtest/lint.pyo
+${PYSITELIB}/webtest/response.py
+${PYSITELIB}/webtest/response.pyc
+${PYSITELIB}/webtest/response.pyo
+${PYSITELIB}/webtest/sel.py
+${PYSITELIB}/webtest/sel.pyc
+${PYSITELIB}/webtest/sel.pyo
+${PYSITELIB}/webtest/utils.py
+${PYSITELIB}/webtest/utils.pyc
+${PYSITELIB}/webtest/utils.pyo
diff -r 90ce0f15eb40 -r a5815ed62f36 www/py-WebTest/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-WebTest/distinfo Tue Jul 11 09:18:01 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/07/11 09:18:01 adam Exp $
+
+SHA1 (WebTest-2.0.27.tar.gz) = 87bbb42f0f564bdc42862ef4ffadc55bd9650cc3
+RMD160 (WebTest-2.0.27.tar.gz) = b69eb0a999e1338533fc9d229e41cf81d2aa914a
+SHA512 (WebTest-2.0.27.tar.gz) = b0a202641cd428a55ff3456f3c7d36fdf11151ab78ecf0022d51513dc2860587efa3aa4594829a89244c245fd45ca3055da12fb421559ad8341a463f9e528ab1
+Size (WebTest-2.0.27.tar.gz) = 72603 bytes
+SHA1 (patch-setup.py) = 4fd4f1265ee26296bb1c0c12fa6b39ebc31cc7f3
diff -r 90ce0f15eb40 -r a5815ed62f36 www/py-WebTest/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-WebTest/patches/patch-setup.py Tue Jul 11 09:18:01 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2017/07/11 09:18:01 adam Exp $
+
+Allow newer py-nose versions.
+
+--- /tmp/pkgsrc/www/py-WebTest/work/WebTest-2.0.27/setup.py.orig 2017-07-11 08:25:23.000000000 +0000
++++ /tmp/pkgsrc/www/py-WebTest/work/WebTest-2.0.27/setup.py
+@@ -15,7 +15,7 @@ install_requires = [
+ ]
+
+ tests_require = [
+- 'nose<1.3.0', 'coverage', 'mock',
++ 'nose', 'coverage', 'mock',
+ 'PasteDeploy', 'WSGIProxy2', 'pyquery'
+ ]
+
Home |
Main Index |
Thread Index |
Old Index