summaryrefslogtreecommitdiff
path: root/games/py-trueskill
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-05-26 19:55:54 +0000
committerwiz <wiz@pkgsrc.org>2013-05-26 19:55:54 +0000
commitb46148568f36b4e599e517ba6f89fcc0a6d46077 (patch)
tree476ccef0927e40406dd15e6d76ea98e73af98a0d /games/py-trueskill
parent736d24fed148b0a2d713f03f4a5947237fd10f0b (diff)
downloadpkgsrc-b46148568f36b4e599e517ba6f89fcc0a6d46077.tar.gz
Update to 0.4:
0.4 Released on Mar 25th 2013. Supports dynamic draw probability. Replaces Rating.exposure() with TrueSkill.expose(). Because the TrueSkill settings have to adjust a fomula to calculate an exposure. Deprecates head-to-head shortcut methods in TrueSkill. The top-level shortcut functions are still alive. Version 0.3.1 Released on Mar 6th 2013. Raises FloatingPointError instead of ValueError (math domain error) for a problem similar to issue #5 but with more extreme input. Version 0.3 Released on Mar 5th 2013. TrueSkill got a new option backend to choose cdf, pdf, ppf implementation. When winners have too lower rating than losers, TrueSkill.rate() will raise FloatingPointError if the backend is None or scipy. But from this version, you can avoid the problem with mpmath backend. This was reported at issue #5. Version 0.2.1 Released on Dec 6th 2012. Fixes a printing bug on TrueSkill.quality(). Version 0.2 Released on Nov 30th 2012. Implements “Partial play”. Works well in many Python versions, 2.5, 2.6, 2.7, 3.1, 3.2, 3.3 and many interpreters, CPython, Jython, PyPy. Supports that using dictionaries as a rating_group to choose specific playerâs rating simply. Adds shorcut functions for 2 players individual match, the most usage: rate_1vs1() and quality_1vs1(), TrueSkill.transform_ratings() is now called TrueSkill.rate(). TrueSkill.match_quality() is now called TrueSkill.quality().
Diffstat (limited to 'games/py-trueskill')
-rw-r--r--games/py-trueskill/Makefile8
-rw-r--r--games/py-trueskill/PLIST13
-rw-r--r--games/py-trueskill/distinfo8
3 files changed, 16 insertions, 13 deletions
diff --git a/games/py-trueskill/Makefile b/games/py-trueskill/Makefile
index 80db73adf0a..6555aed4441 100644
--- a/games/py-trueskill/Makefile
+++ b/games/py-trueskill/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2013/04/01 14:40:00 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.7 2013/05/26 19:55:54 wiz Exp $
-DISTNAME= trueskill-0.1.4
+DISTNAME= trueskill-0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= games devel
MASTER_SITES= http://pypi.python.org/packages/source/t/trueskill/
@@ -11,7 +10,8 @@ HOMEPAGE= http://trueskill.org/
COMMENT= Python module implementing the TrueSkill rating system
LICENSE= 2-clause-bsd
-USE_LANGUAGES= # none
+USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCLUDE_3X= yes
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/py-trueskill/PLIST b/games/py-trueskill/PLIST
index 90c3642ba11..f2e820a1ec3 100644
--- a/games/py-trueskill/PLIST
+++ b/games/py-trueskill/PLIST
@@ -1,18 +1,21 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/16 19:40:44 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/05/26 19:55:54 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/trueskill/__init__.py
${PYSITELIB}/trueskill/__init__.pyc
${PYSITELIB}/trueskill/__init__.pyo
+${PYSITELIB}/trueskill/backends.py
+${PYSITELIB}/trueskill/backends.pyc
+${PYSITELIB}/trueskill/backends.pyo
+${PYSITELIB}/trueskill/deprecated.py
+${PYSITELIB}/trueskill/deprecated.pyc
+${PYSITELIB}/trueskill/deprecated.pyo
${PYSITELIB}/trueskill/factorgraph.py
${PYSITELIB}/trueskill/factorgraph.pyc
${PYSITELIB}/trueskill/factorgraph.pyo
${PYSITELIB}/trueskill/mathematics.py
${PYSITELIB}/trueskill/mathematics.pyc
${PYSITELIB}/trueskill/mathematics.pyo
-${PYSITELIB}/trueskill/matrix.py
-${PYSITELIB}/trueskill/matrix.pyc
-${PYSITELIB}/trueskill/matrix.pyo
diff --git a/games/py-trueskill/distinfo b/games/py-trueskill/distinfo
index 9fc8dbe93bf..c9a04ab5bba 100644
--- a/games/py-trueskill/distinfo
+++ b/games/py-trueskill/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2012/10/07 21:30:42 wiz Exp $
+$NetBSD: distinfo,v 1.3 2013/05/26 19:55:54 wiz Exp $
-SHA1 (trueskill-0.1.4.tar.gz) = 513daec9e37563b68a418b20c99bbb61e4f1685f
-RMD160 (trueskill-0.1.4.tar.gz) = ff71effa5f1a32f1fa2e8803d20d1aa3255ef044
-Size (trueskill-0.1.4.tar.gz) = 10604 bytes
+SHA1 (trueskill-0.4.tar.gz) = 56d7906acdb0e04d4e42758d468eb99908a83c2c
+RMD160 (trueskill-0.4.tar.gz) = a4f1ac1eb1890b3a0f6ee0d9a39ddf51c0250983
+Size (trueskill-0.4.tar.gz) = 20449 bytes