From owner-svn-ports-head@freebsd.org Mon Oct 2 18:24:02 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40CCFE23BF3; Mon, 2 Oct 2017 18:24:02 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19BC971D6F; Mon, 2 Oct 2017 18:24:02 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v92IO1SA075058; Mon, 2 Oct 2017 18:24:01 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v92IO0aa075054; Mon, 2 Oct 2017 18:24:00 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201710021824.v92IO0aa075054@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 2 Oct 2017 18:24:00 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . py-requests-mock X-SVN-Commit-Revision: 451087 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2017 18:24:02 -0000 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 +# $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 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