pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-hypothesis

Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 24 11:28:37 UTC 2017

Modified Files:
        pkgsrc/devel/py-hypothesis: Makefile PLIST distinfo

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.

To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-hypothesis/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-hypothesis/Makefile
diff -u pkgsrc/devel/py-hypothesis/Makefile:1.14 pkgsrc/devel/py-hypothesis/Makefile:1.15
--- pkgsrc/devel/py-hypothesis/Makefile:1.14    Tue May 23 07:57:50 2017
+++ pkgsrc/devel/py-hypothesis/Makefile Wed May 24 11:28:37 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2017/05/23 07:57:50 adam Exp $
+# $NetBSD: Makefile,v 1.15 2017/05/24 11:28:37 adam Exp $
-DISTNAME=      hypothesis-3.10.0
+DISTNAME=      hypothesis-3.11.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}

Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.4 pkgsrc/devel/py-hypothesis/PLIST:1.5
--- pkgsrc/devel/py-hypothesis/PLIST:1.4        Thu Apr 27 12:55:54 2017
+++ pkgsrc/devel/py-hypothesis/PLIST    Wed May 24 11:28:37 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/04/27 12:55:54 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/05/24 11:28:37 adam Exp $
@@ -51,6 +51,9 @@ ${PYSITELIB}/hypothesis/extra/numpy.pyo
@@ -105,6 +108,9 @@ ${PYSITELIB}/hypothesis/searchstrategy/_

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.11 pkgsrc/devel/py-hypothesis/distinfo:1.12
--- pkgsrc/devel/py-hypothesis/distinfo:1.11    Tue May 23 07:57:50 2017
+++ pkgsrc/devel/py-hypothesis/distinfo Wed May 24 11:28:37 2017
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2017/05/23 07:57:50 adam Exp $
+$NetBSD: distinfo,v 1.12 2017/05/24 11:28:37 adam Exp $
-SHA1 (hypothesis-3.10.0.tar.gz) = e91b249f34e80d1fddb49d2ce8decab07a58339e
-RMD160 (hypothesis-3.10.0.tar.gz) = 2f2be0cf26b841c98e346761e1614e061ad23777
-SHA512 (hypothesis-3.10.0.tar.gz) = e6c29d3d2e0bb74dfe00058363ceaad4b4026ed83c51cc403ffb2db8ac7930f933677a9217c2227ab48a1ceaaa4d8ee94aee6797280eaf50ac76e40b3a3ceec5
-Size (hypothesis-3.10.0.tar.gz) = 80386 bytes
+SHA1 (hypothesis-3.11.0.tar.gz) = f8d5c221e711b6eb1837bcb8a7d4c0419b50b282
+RMD160 (hypothesis-3.11.0.tar.gz) = 40ae74d7c1f931b30acf46d15794d60eed1f73d9
+SHA512 (hypothesis-3.11.0.tar.gz) = e5f88c6ce5e255cdcc5f3c906fc9f14ecab2d0a611a82cc927536966afc2351f804d8e8f3b9709c2997504fac8930718ae6d79a68415617502419e5a300c1152
+Size (hypothesis-3.11.0.tar.gz) = 83191 bytes

Home | Main Index | Thread Index | Old Index