aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2024-12-13 18:32:34 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2024-12-13 18:32:34 +0000
commitf961819591abffa390e274b635eb720a8b5f89be (patch)
tree5be513da3a78f32d4d63c8fe45f1e68d12b5720b
parent28dc9bd3130b8cdc3f875c5776db52c8c4c05538 (diff)
games/py-trueskill: video game skill rating system (new port)
TrueSkill is a rating system for game players. It was developed by Microsoft Research and has been used on Xbox network, formerly known as Xbox Live, for ranking and matchmaking, and is suitable for any type of matches, including N:N team game or free-for-all. WWW: https://trueskill.org/
-rw-r--r--games/Makefile1
-rw-r--r--games/py-trueskill/Makefile21
-rw-r--r--games/py-trueskill/distinfo3
-rw-r--r--games/py-trueskill/pkg-descr6
4 files changed, 31 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 830d40139630..579590b76388 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -806,6 +806,7 @@
SUBDIR += py-pysol-cards
SUBDIR += py-sgflib
SUBDIR += py-sgfsummary
+ SUBDIR += py-trueskill
SUBDIR += pysolfc
SUBDIR += pysolfc-cardsets
SUBDIR += pyspacewar
diff --git a/games/py-trueskill/Makefile b/games/py-trueskill/Makefile
new file mode 100644
index 000000000000..c1ca0580a9c2
--- /dev/null
+++ b/games/py-trueskill/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= trueskill
+PORTVERSION= 0.4.5
+CATEGORIES= games math
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= python@FreeBSD.org
+COMMENT= Video game skill rating system
+WWW= https://trueskill.org/
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/games/py-trueskill/distinfo b/games/py-trueskill/distinfo
new file mode 100644
index 000000000000..36fece6184b6
--- /dev/null
+++ b/games/py-trueskill/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681181046
+SHA256 (trueskill-0.4.5.tar.gz) = 9d62b48d2428369d712bd9becff9f9a2caa325e1a2ab5f9392d34bff757867bb
+SIZE (trueskill-0.4.5.tar.gz) = 21315
diff --git a/games/py-trueskill/pkg-descr b/games/py-trueskill/pkg-descr
new file mode 100644
index 000000000000..d0972a2e9cc3
--- /dev/null
+++ b/games/py-trueskill/pkg-descr
@@ -0,0 +1,6 @@
+TrueSkill is a rating system for game players. It was developed by
+Microsoft Research and has been used on Xbox network, formerly known
+and commonly referred to as Xbox Live, for ranking and matchmaking
+service. This system quantifies players' TRUE skill points by the
+Bayesian inference algorithm. It also works well with any type of
+match rule including N:N team game or free-for-all.