Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2017 18:24:00 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451087 - in head/www: . py-requests-mock
Message-ID:  <201710021824.v92IO0aa075054@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	requests-mock
+PORTVERSION=	1.3.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710021824.v92IO0aa075054>