svn commit: r451087 - in head/www: . py-requests-mock
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Oct 2 18:24:02 UTC 2017
Author: sunpoet
Date: Mon Oct 2 18:24:00 2017
New Revision: 451087
URL: https://svnweb.freebsd.org/changeset/ports/451087
Log:
Add py-requests-mock 1.3.0
requests-mock provides a building block to stub out the HTTP requests portions
of your testing code.
WWW: https://pypi.python.org/pypi/requests-mock
Added:
head/www/py-requests-mock/
head/www/py-requests-mock/Makefile (contents, props changed)
head/www/py-requests-mock/distinfo (contents, props changed)
head/www/py-requests-mock/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Mon Oct 2 17:47:28 2017 (r451086)
+++ head/www/Makefile Mon Oct 2 18:24:00 2017 (r451087)
@@ -1811,6 +1811,7 @@
SUBDIR += py-requestbuilder
SUBDIR += py-requests
SUBDIR += py-requests-futures
+ SUBDIR += py-requests-mock
SUBDIR += py-requests-oauthlib
SUBDIR += py-requests-toolbelt
SUBDIR += py-requests1
Added: head/www/py-requests-mock/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-requests-mock/Makefile Mon Oct 2 18:24:00 2017 (r451087)
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= requests-mock
+PORTVERSION= 1.3.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Mock out responses from the requests package
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.1:www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six
+
+NO_ARCH= yes
+USE_PYTHON= autoplist concurrent distutils
+USES= python
+
+.include <bsd.port.mk>
Added: head/www/py-requests-mock/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-requests-mock/distinfo Mon Oct 2 18:24:00 2017 (r451087)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1506962911
+SHA256 (requests-mock-1.3.0.tar.gz) = bd86970d6c52cc97071f5185aa594de6a997a5ca63b3bb36aceb9bb9db49294b
+SIZE (requests-mock-1.3.0.tar.gz) = 42399
Added: head/www/py-requests-mock/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-requests-mock/pkg-descr Mon Oct 2 18:24:00 2017 (r451087)
@@ -0,0 +1,4 @@
+requests-mock provides a building block to stub out the HTTP requests portions
+of your testing code.
+
+WWW: https://pypi.python.org/pypi/requests-mock
More information about the svn-ports-head
mailing list