Created attachment 192876 [details] py-random2.shar Hello, attached is the shar file for the Python package py-random2, a Python 3 compatible module of the Python 2 'random' module. In Python 3, the implementation of randrange() was changed, so that even with the same seed you get different sequences in Python 2 and 3. Note that several high-level functions such as randint() and choice() use randrange(). QA: ~~~ - poudriere (11.1-RELEASE amd64 + i386) for each py27 and py36 flavor -> OK - portlint -> OK
Committed. Thank you for your contribution!
A commit references this bug: Author: yuri Date: Sat Apr 28 19:02:57 UTC 2018 New revision: 468563 URL: https://svnweb.freebsd.org/changeset/ports/468563 Log: New port: math/py-random2: Python 3 compatible Python 2 random module PR: 227829 Submitted by: Kai <freebsd_ports@k-worx.org> Changes: head/math/Makefile head/math/py-random2/ head/math/py-random2/Makefile head/math/py-random2/distinfo head/math/py-random2/pkg-descr