From owner-svn-ports-all@freebsd.org Sat Apr 28 19:02:58 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14C5FFB7219; Sat, 28 Apr 2018 19:02:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB270867CE; Sat, 28 Apr 2018 19:02:57 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A06EF19AFB; Sat, 28 Apr 2018 19:02:57 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3SJ2vFh016176; Sat, 28 Apr 2018 19:02:57 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3SJ2vlX016171; Sat, 28 Apr 2018 19:02:57 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201804281902.w3SJ2vlX016171@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 28 Apr 2018 19:02:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468563 - in head/math: . py-random2 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . py-random2 X-SVN-Commit-Revision: 468563 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2018 19:02:58 -0000 Author: yuri Date: Sat Apr 28 19:02:57 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 Added: head/math/py-random2/ head/math/py-random2/Makefile (contents, props changed) head/math/py-random2/distinfo (contents, props changed) head/math/py-random2/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sat Apr 28 18:57:06 2018 (r468562) +++ head/math/Makefile Sat Apr 28 19:02:57 2018 (r468563) @@ -701,6 +701,7 @@ SUBDIR += py-pysparse SUBDIR += py-pysym SUBDIR += py-pyvtk + SUBDIR += py-random2 SUBDIR += py-roman SUBDIR += py-scientific SUBDIR += py-seaborn Added: head/math/py-random2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-random2/Makefile Sat Apr 28 19:02:57 2018 (r468563) @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= random2 +DISTVERSION= 1.0.1 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= Python 3 compatible Python 2 random module + +LICENSE= PSFL + +USES= python zip +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include Added: head/math/py-random2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-random2/distinfo Sat Apr 28 19:02:57 2018 (r468563) @@ -0,0 +1,3 @@ +TIMESTAMP = 1524397443 +SHA256 (random2-1.0.1.zip) = 34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007 +SIZE (random2-1.0.1.zip) = 21088 Added: head/math/py-random2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-random2/pkg-descr Sat Apr 28 19:02:57 2018 (r468563) @@ -0,0 +1,8 @@ +Provides a Python 3 ported version of Python 2.7's 'random' module. It has also +been back-ported to work in Python 2.6. + +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(). + +WWW: https://pypi.org/project/random2/