15140d2e61
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().
17 lines
477 B
Makefile
17 lines
477 B
Makefile
# $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"
|