From owner-svn-ports-all@FreeBSD.ORG Tue Jun 2 09:58:12 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E41C5E07; Tue, 2 Jun 2015 09:58:11 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 C4B4A11CB; Tue, 2 Jun 2015 09:58:11 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t529wBJZ007797; Tue, 2 Jun 2015 09:58:11 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t529wA9F007793; Tue, 2 Jun 2015 09:58:10 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201506020958.t529wA9F007793@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 2 Jun 2015 09:58:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388315 - in head/devel: . py-pretend X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 09:58:12 -0000 Author: koobs Date: Tue Jun 2 09:58:10 2015 New Revision: 388315 URL: https://svnweb.freebsd.org/changeset/ports/388315 Log: [NEW] devel/py-pretend: Library for stubbing in Python Pretend is a library to make stubbing with Python easier. What is stubbing? Stubbing is a technique for writing tests. You may hear the term mixed up with mocks, fakes, or doubles. Basically a stub is an object that returns pre-canned responses, rather than doing any computation. WWW: https://github.com/alex/pretend Added: head/devel/py-pretend/ head/devel/py-pretend/Makefile (contents, props changed) head/devel/py-pretend/distinfo (contents, props changed) head/devel/py-pretend/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jun 2 09:52:01 2015 (r388314) +++ head/devel/Makefile Tue Jun 2 09:58:10 2015 (r388315) @@ -4004,6 +4004,7 @@ SUBDIR += py-posix_ipc SUBDIR += py-pp SUBDIR += py-pqueue + SUBDIR += py-pretend SUBDIR += py-prettytable SUBDIR += py-prioritized_methods SUBDIR += py-prompt_toolkit Added: head/devel/py-pretend/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pretend/Makefile Tue Jun 2 09:58:10 2015 (r388315) @@ -0,0 +1,24 @@ +# Created by: Kubilay Kocak +# $FreeBSD$ + +PORTNAME= pretend +PORTVERSION= 1.0.8 +DISTVERSIONPREFIX= v +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= Library for stubbing in Python + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest + +USES= python +USE_PYTHON= autoplist distutils + +USE_GITHUB= yes +GH_ACCOUNT= alex + +.include Added: head/devel/py-pretend/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pretend/distinfo Tue Jun 2 09:58:10 2015 (r388315) @@ -0,0 +1,2 @@ +SHA256 (alex-pretend-v1.0.8_GH0.tar.gz) = ba52bf8e6b3cda7319a70a3257476cedca7ba10c0cd142aff4935227f4f74142 +SIZE (alex-pretend-v1.0.8_GH0.tar.gz) = 5509 Added: head/devel/py-pretend/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pretend/pkg-descr Tue Jun 2 09:58:10 2015 (r388315) @@ -0,0 +1,9 @@ +Pretend is a library to make stubbing with Python easier. + +What is stubbing? + +Stubbing is a technique for writing tests. You may hear the term mixed +up with mocks, fakes, or doubles. Basically a stub is an object that +returns pre-canned responses, rather than doing any computation. + +WWW: https://github.com/alex/pretend