pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-localserver
Module Name: pkgsrc
Committed By: joerg
Date: Fri Sep 29 14:13:32 UTC 2017
Added Files:
pkgsrc/devel/py-test-localserver: DESCR Makefile PLIST distinfo
Log Message:
Add py-pytest-localserver-0.3.7:
pytest-localserver is a plugin for the pytest testing framework which
enables you to test server connections locally.
Sometimes monkeypatching urllib2.urlopen() just does not cut it, for
instance if you work with urllib2.Request, define your own
openers/handlers or work with httplib. In these cases it may come in
handy to have an HTTP server running locally which behaves just like the
real thing.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-localserver/DESCR \
pkgsrc/devel/py-test-localserver/Makefile \
pkgsrc/devel/py-test-localserver/PLIST \
pkgsrc/devel/py-test-localserver/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-test-localserver/DESCR
diff -u /dev/null pkgsrc/devel/py-test-localserver/DESCR:1.1
--- /dev/null Fri Sep 29 14:13:32 2017
+++ pkgsrc/devel/py-test-localserver/DESCR Fri Sep 29 14:13:32 2017
@@ -0,0 +1,8 @@
+pytest-localserver is a plugin for the pytest testing framework which
+enables you to test server connections locally.
+
+Sometimes monkeypatching urllib2.urlopen() just does not cut it, for
+instance if you work with urllib2.Request, define your own
+openers/handlers or work with httplib. In these cases it may come in
+handy to have an HTTP server running locally which behaves just like the
+real thing.
Index: pkgsrc/devel/py-test-localserver/Makefile
diff -u /dev/null pkgsrc/devel/py-test-localserver/Makefile:1.1
--- /dev/null Fri Sep 29 14:13:32 2017
+++ pkgsrc/devel/py-test-localserver/Makefile Fri Sep 29 14:13:32 2017
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/09/29 14:13:32 joerg Exp $
+
+DISTNAME= pytest-localserver-0.3.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-localserver/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://bitbucket.org/pytest-dev/pytest-localserver/
+COMMENT= py.test plugin to test server connections locally
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.10:../../www/py-werkzeug
+# Tests
+BUILD_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=2.0.0:../../devel/py-test
+BUILD_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+USE_LANGUAGES= # none
+
+do-test:
+ cd ${WRKSRC}/tests && py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-localserver/PLIST
diff -u /dev/null pkgsrc/devel/py-test-localserver/PLIST:1.1
--- /dev/null Fri Sep 29 14:13:32 2017
+++ pkgsrc/devel/py-test-localserver/PLIST Fri Sep 29 14:13:32 2017
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/29 14:13:32 joerg 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}/pytest_localserver/__init__.py
+${PYSITELIB}/pytest_localserver/__init__.pyc
+${PYSITELIB}/pytest_localserver/__init__.pyo
+${PYSITELIB}/pytest_localserver/ca.crt
+${PYSITELIB}/pytest_localserver/http.py
+${PYSITELIB}/pytest_localserver/http.pyc
+${PYSITELIB}/pytest_localserver/http.pyo
+${PYSITELIB}/pytest_localserver/https.py
+${PYSITELIB}/pytest_localserver/https.pyc
+${PYSITELIB}/pytest_localserver/https.pyo
+${PYSITELIB}/pytest_localserver/plugin.py
+${PYSITELIB}/pytest_localserver/plugin.pyc
+${PYSITELIB}/pytest_localserver/plugin.pyo
+${PYSITELIB}/pytest_localserver/server.pem
+${PYSITELIB}/pytest_localserver/smtp.py
+${PYSITELIB}/pytest_localserver/smtp.pyc
+${PYSITELIB}/pytest_localserver/smtp.pyo
Index: pkgsrc/devel/py-test-localserver/distinfo
diff -u /dev/null pkgsrc/devel/py-test-localserver/distinfo:1.1
--- /dev/null Fri Sep 29 14:13:32 2017
+++ pkgsrc/devel/py-test-localserver/distinfo Fri Sep 29 14:13:32 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/29 14:13:32 joerg Exp $
+
+SHA1 (pytest-localserver-0.3.7.tar.gz) = ee41ed58398be75929b0a38005fa2ef1d2c678b4
+RMD160 (pytest-localserver-0.3.7.tar.gz) = 8da2903d5bae3205866cec85f8889654ad3edaf3
+SHA512 (pytest-localserver-0.3.7.tar.gz) = 48d7e6a27965dafa1d5e5af1efb6118cc1c1c28ac4a46ae2d61b6b804292a126f481295bf13976f66f505789238f3365ff16e6f1207c8bc7fb4b258759fd4d99
+Size (pytest-localserver-0.3.7.tar.gz) = 19772 bytes
Home |
Main Index |
Thread Index |
Old Index