Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2015 09:58:10 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r388315 - in head/devel: . py-pretend
Message-ID:  <201506020958.t529wA9F007793@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <koobs@FreeBSD.org>
+# $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 <bsd.port.mk>

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



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