From owner-svn-ports-head@FreeBSD.ORG Mon Jan 27 17:04:40 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6281894F; Mon, 27 Jan 2014 17:04:40 +0000 (UTC) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 34A9E1CDF; Mon, 27 Jan 2014 17:04:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0RH4eua004278; Mon, 27 Jan 2014 17:04:40 GMT (envelope-from skreuzer@svn.freebsd.org) Received: (from skreuzer@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0RH4d6B004274; Mon, 27 Jan 2014 17:04:39 GMT (envelope-from skreuzer@svn.freebsd.org) Message-Id: <201401271704.s0RH4d6B004274@svn.freebsd.org> From: Steven Kreuzer Date: Mon, 27 Jan 2014 17:04:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341432 - in head/devel: . py-conditional X-SVN-Group: ports-head 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.17 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, 27 Jan 2014 17:04:40 -0000 Author: skreuzer Date: Mon Jan 27 17:04:38 2014 New Revision: 341432 URL: http://svnweb.freebsd.org/changeset/ports/341432 QAT: https://qat.redports.org/buildarchive/r341432/ Log: The conditional context manager comes handy when you always want to execute a with-block but only conditionally want to apply its context manager. WWW: https://pypi.python.org/pypi/conditional Added: head/devel/py-conditional/ head/devel/py-conditional/Makefile (contents, props changed) head/devel/py-conditional/distinfo (contents, props changed) head/devel/py-conditional/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jan 27 16:58:15 2014 (r341431) +++ head/devel/Makefile Mon Jan 27 17:04:38 2014 (r341432) @@ -3541,6 +3541,7 @@ SUBDIR += py-collective.monkeypatcher SUBDIR += py-collective.z3cform.datetimewidget SUBDIR += py-colorama + SUBDIR += py-conditional SUBDIR += py-configobj SUBDIR += py-construct SUBDIR += py-country Added: head/devel/py-conditional/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-conditional/Makefile Mon Jan 27 17:04:38 2014 (r341432) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= conditional +PORTVERSION= 1.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= skreuzer@FreeBSD.org +COMMENT= Conditionally enter a context manager + +LICENSE= BSD2CLAUSE + +USE_ZIP= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +.include Added: head/devel/py-conditional/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-conditional/distinfo Mon Jan 27 17:04:38 2014 (r341432) @@ -0,0 +1,2 @@ +SHA256 (conditional-1.0.zip) = 5631a90f4a971d3f5c7494b241db53da6dc730c015aa96a7a72ae95f79ca2eb4 +SIZE (conditional-1.0.zip) = 11965 Added: head/devel/py-conditional/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-conditional/pkg-descr Mon Jan 27 17:04:38 2014 (r341432) @@ -0,0 +1,4 @@ +The conditional context manager comes handy when you always want to execute a +with-block but only conditionally want to apply its context manager. + +WWW: https://pypi.python.org/pypi/conditional