Received: by mail.netbsd.org (Postfix, from userid 605) id B3EBA84DB6; Wed, 27 Nov 2019 21:12:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3B85584D4B for ; Wed, 27 Nov 2019 21:12:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id a5wqHCp9GqBa for ; Wed, 27 Nov 2019 21:12:39 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 9C47A84CD8 for ; Wed, 27 Nov 2019 21:12:39 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 95CE9FA97; Wed, 27 Nov 2019 21:12:39 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1574889159133630" MIME-Version: 1.0 Date: Wed, 27 Nov 2019 21:12:39 +0000 From: "Mark Davies" Subject: CVS commit: pkgsrc/devel/py-random2 To: pkgsrc-changes@NetBSD.org Reply-To: markd@netbsd.org X-Mailer: log_accum Message-Id: <20191127211239.95CE9FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1574889159133630 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: markd Date: Wed Nov 27 21:12:39 UTC 2019 Added Files: pkgsrc/devel/py-random2: DESCR Makefile PLIST distinfo Log Message: py-random2: add version 1.0.1 This package 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(). To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-random2/DESCR \ pkgsrc/devel/py-random2/Makefile pkgsrc/devel/py-random2/PLIST \ pkgsrc/devel/py-random2/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1574889159133630 Content-Disposition: inline Content-Length: 2452 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-random2/DESCR diff -u /dev/null pkgsrc/devel/py-random2/DESCR:1.1 --- /dev/null Wed Nov 27 21:12:39 2019 +++ pkgsrc/devel/py-random2/DESCR Wed Nov 27 21:12:39 2019 @@ -0,0 +1,6 @@ +This package 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(). Index: pkgsrc/devel/py-random2/Makefile diff -u /dev/null pkgsrc/devel/py-random2/Makefile:1.1 --- /dev/null Wed Nov 27 21:12:39 2019 +++ pkgsrc/devel/py-random2/Makefile Wed Nov 27 21:12:39 2019 @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2019/11/27 21:12:39 markd Exp $ + +DISTNAME= random2-1.0.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_PYPI:=r/random2/} +EXTRACT_SUFX= .zip + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://pypi.org/project/random2/ +COMMENT= Python 3 compatible port of Python 2 random module +LICENSE= python-software-foundation + +USE_LANGUAGES= # none + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-random2/PLIST diff -u /dev/null pkgsrc/devel/py-random2/PLIST:1.1 --- /dev/null Wed Nov 27 21:12:39 2019 +++ pkgsrc/devel/py-random2/PLIST Wed Nov 27 21:12:39 2019 @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2019/11/27 21:12:39 markd Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/${EGG_INFODIR}/zip-safe +${PYSITELIB}/random2.py +${PYSITELIB}/random2.pyo +${PYSITELIB}/random2.pyc Index: pkgsrc/devel/py-random2/distinfo diff -u /dev/null pkgsrc/devel/py-random2/distinfo:1.1 --- /dev/null Wed Nov 27 21:12:39 2019 +++ pkgsrc/devel/py-random2/distinfo Wed Nov 27 21:12:39 2019 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/11/27 21:12:39 markd Exp $ + +SHA1 (random2-1.0.1.zip) = 02e35dd53fa534dbb8f6e7baa8cf609ea1368eef +RMD160 (random2-1.0.1.zip) = e0c8cac5bf246d6ee776c1ea7ac47baaf7a3e8ab +SHA512 (random2-1.0.1.zip) = 31de31c27bc6e07e99c24d30e97d9ddc3085fe557bcb0725881d4ab0b4c06e6208f64ba6267098c7b1be4f115ad45b399e841beecc90f71da2fb7d82982e75ff +Size (random2-1.0.1.zip) = 21088 bytes --_----------=_1574889159133630--