1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

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
This commit is contained in:
Steven Kreuzer 2014-01-27 17:04:38 +00:00
parent 4b779cd27c
commit 180bb67491
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341432
4 changed files with 26 additions and 0 deletions

View File

@ -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

View File

@ -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 <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (conditional-1.0.zip) = 5631a90f4a971d3f5c7494b241db53da6dc730c015aa96a7a72ae95f79ca2eb4
SIZE (conditional-1.0.zip) = 11965

View File

@ -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