pkgsrc-Changes archive

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

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jul 11 09:18:01 UTC 2017

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/py-WebTest: DESCR Makefile PLIST distinfo
        pkgsrc/www/py-WebTest/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1253 -r1.1254 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-WebTest/DESCR \
    pkgsrc/www/py-WebTest/Makefile pkgsrc/www/py-WebTest/PLIST \
    pkgsrc/www/py-WebTest/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-WebTest/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1253 pkgsrc/www/Makefile:1.1254
--- pkgsrc/www/Makefile:1.1253  Fri Jul  7 07:27:15 2017
+++ pkgsrc/www/Makefile Tue Jul 11 09:18:01 2017
@@ -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-PasteDeploy
 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

Added files:

Index: pkgsrc/www/py-WebTest/DESCR
diff -u /dev/null pkgsrc/www/py-WebTest/DESCR:1.1
--- /dev/null   Tue Jul 11 09:18:01 2017
+++ pkgsrc/www/py-WebTest/DESCR Tue Jul 11 09:18:01 2017
@@ -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.
Index: pkgsrc/www/py-WebTest/Makefile
diff -u /dev/null pkgsrc/www/py-WebTest/Makefile:1.1
--- /dev/null   Tue Jul 11 09:18:01 2017
+++ pkgsrc/www/py-WebTest/Makefile      Tue Jul 11 09:18:01 2017
@@ -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"
Index: pkgsrc/www/py-WebTest/PLIST
diff -u /dev/null pkgsrc/www/py-WebTest/PLIST:1.1
--- /dev/null   Tue Jul 11 09:18:01 2017
+++ pkgsrc/www/py-WebTest/PLIST Tue Jul 11 09:18:01 2017
@@ -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
Index: pkgsrc/www/py-WebTest/distinfo
diff -u /dev/null pkgsrc/www/py-WebTest/distinfo:1.1
--- /dev/null   Tue Jul 11 09:18:01 2017
+++ pkgsrc/www/py-WebTest/distinfo      Tue Jul 11 09:18:01 2017
@@ -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

Index: pkgsrc/www/py-WebTest/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-WebTest/patches/patch-setup.py:1.1
--- /dev/null   Tue Jul 11 09:18:01 2017
+++ pkgsrc/www/py-WebTest/patches/patch-setup.py        Tue Jul 11 09:18:01 2017
@@ -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