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:           Fri Aug 17 07:15:22 UTC 2018

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

Log Message:
py-hypothesis: updated to 3.68.0

3.68.0:
:func:~hypothesis.extra.numpy.arrays now checks that integer and float values drawn from elements and fill strategies can be safely cast to the dtype of the array, and emits a warning otherwise.

Elements in the resulting array could previously violate constraints on the elements strategy due to floating-point overflow or truncation of integers to fit smaller types.

3.67.1:
This release contains a tiny refactoring of the internals. There is no user-visible change.

3.67.0:
This release adds a width argument to :func:~hypothesis.strategies.floats, to generate lower-precision floating point numbers for e.g. Numpy arrays.

The generated examples are always instances of Python's native float type, which is 64bit, but passing width=32 will ensure that all values can be exactly represented as 32bit floats. This can be 
useful to avoid overflow (to +/- infinity), and for efficiency of generation and shrinking.

Half-precision floats (width=16) are also supported, but require Numpy if you are running Python 3.5 or earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/devel/py-hypothesis/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-hypothesis/PLIST
cvs rdiff -u -r1.54 -r1.55 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.57 pkgsrc/devel/py-hypothesis/Makefile:1.58
--- pkgsrc/devel/py-hypothesis/Makefile:1.57    Tue Jul  3 07:47:45 2018
+++ pkgsrc/devel/py-hypothesis/Makefile Fri Aug 17 07:15:22 2018
@@ -1,22 +1,21 @@
-# $NetBSD: Makefile,v 1.57 2018/07/03 07:47:45 adam Exp $
+# $NetBSD: Makefile,v 1.58 2018/08/17 07:15:22 adam Exp $
 
-DISTNAME=      hypothesis-3.65.0
+DISTNAME=      hypothesis-3.68.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hypothesis/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/HypothesisWorks/hypothesis-python
+HOMEPAGE=      https://github.com/HypothesisWorks/hypothesis
 COMMENT=       Python library for property based testing
 LICENSE=       mpl-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs
-DEPENDS+=      ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=16.0.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-coverage>=4.0:../../devel/py-coverage
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
 
 .include "../../lang/python/pyversion.mk"
-
-.if "${PYPKGPREFIX}" == "py27"
+.if "${_PYTHON_VERSION}" == "27"
 DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
 .endif
 

Index: pkgsrc/devel/py-hypothesis/PLIST
diff -u pkgsrc/devel/py-hypothesis/PLIST:1.19 pkgsrc/devel/py-hypothesis/PLIST:1.20
--- pkgsrc/devel/py-hypothesis/PLIST:1.19       Tue Jul  3 07:47:45 2018
+++ pkgsrc/devel/py-hypothesis/PLIST    Fri Aug 17 07:15:22 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2018/07/03 07:47:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.20 2018/08/17 07:15:22 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -90,9 +90,27 @@ ${PYSITELIB}/hypothesis/internal/conject
 ${PYSITELIB}/hypothesis/internal/conjecture/floats.py
 ${PYSITELIB}/hypothesis/internal/conjecture/floats.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/floats.pyo
-${PYSITELIB}/hypothesis/internal/conjecture/minimizer.py
-${PYSITELIB}/hypothesis/internal/conjecture/minimizer.pyc
-${PYSITELIB}/hypothesis/internal/conjecture/minimizer.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/__init__.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/common.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/floats.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/integer.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/length.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/length.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/length.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/lexical.pyo
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.py
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.pyc
+${PYSITELIB}/hypothesis/internal/conjecture/shrinking/ordering.pyo
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.py
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.pyc
 ${PYSITELIB}/hypothesis/internal/conjecture/utils.pyo

Index: pkgsrc/devel/py-hypothesis/distinfo
diff -u pkgsrc/devel/py-hypothesis/distinfo:1.54 pkgsrc/devel/py-hypothesis/distinfo:1.55
--- pkgsrc/devel/py-hypothesis/distinfo:1.54    Tue Jul  3 07:47:45 2018
+++ pkgsrc/devel/py-hypothesis/distinfo Fri Aug 17 07:15:22 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.54 2018/07/03 07:47:45 adam Exp $
+$NetBSD: distinfo,v 1.55 2018/08/17 07:15:22 adam Exp $
 
-SHA1 (hypothesis-3.65.0.tar.gz) = 6ed552b1343960abf45b8b4d3ac38128ad9bdf99
-RMD160 (hypothesis-3.65.0.tar.gz) = 434d5a85ec0f3482e28167e126a254495531d2ef
-SHA512 (hypothesis-3.65.0.tar.gz) = 471f863248f637e28bef9558d03d98accd5b7816cd7d494edaf00e6f7b5c41d46cdfa803ff64915dc2b5511dfbe81fb1bdc556dad2f4f4d0c335ecdbdd994e63
-Size (hypothesis-3.65.0.tar.gz) = 161868 bytes
+SHA1 (hypothesis-3.68.0.tar.gz) = 47e40b233f4d8a2c671834e34c814b392329d072
+RMD160 (hypothesis-3.68.0.tar.gz) = 89d1ad3542586e3b9c4a9656a38a5428b6c33717
+SHA512 (hypothesis-3.68.0.tar.gz) = 593d1f602cd12e838bbc2724c813271a455d9d1947786a5df10b5a6b88baf991dbbf384ad425b125d0444f25737a51139dcfc31bfca6336cde542490f2ebc82e
+Size (hypothesis-3.68.0.tar.gz) = 169489 bytes



Home | Main Index | Thread Index | Old Index