Subject: CVS commit: pkgsrc/devel/py-hypothesis
From: Adam Ciarcinski
Date: 2017-05-24 13:28:37
Message id: 20170524112837.CAB2EFBE4@cvs.NetBSD.org

Log Message:
Changes 3.11.0:

This is a feature release, adding datetime-related strategies to the core strategies.

extra.pytz.timezones allows you to sample pytz timezones from the Olsen \ 
database. Use directly in a recipe for tz-aware datetimes, or compose with \ 
st.none() to allow a mix of aware and naive output.

The new dates, times, datetimes, and timedeltas strategies in \ 
hypothesis.strategies are all constrained by objects of their type. This means \ 
that you can generate dates bounded by a single day (i.e. a single date), or \ 
datetimes constrained to the microsecond.

times and datetimes take an optional timezones= argument, which defaults to \ 
none() for naive times. You can use our extra strategy based on pytz, or roll \ 
your own timezones strategy with dateutil or even the standard library.

The old dates, times, and datetimes strategies in hypothesis.extra.datetimes are \ 
deprecated in favor of the new core strategies, which are more flexible and have \ 
no dependencies.

Files:
RevisionActionfile
1.15modifypkgsrc/devel/py-hypothesis/Makefile
1.5modifypkgsrc/devel/py-hypothesis/PLIST
1.12modifypkgsrc/devel/py-hypothesis/distinfo