From df7f1c6da373043243d8644efb2d1ed229f31957 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Fri, 1 May 2020 00:21:14 +0200 Subject: [PATCH] dev-python/trueskill: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri --- dev-python/trueskill/Manifest | 1 + dev-python/trueskill/metadata.xml | 24 +++++++++++++++ dev-python/trueskill/trueskill-0.4.5.ebuild | 34 +++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 dev-python/trueskill/Manifest create mode 100644 dev-python/trueskill/metadata.xml create mode 100644 dev-python/trueskill/trueskill-0.4.5.ebuild diff --git a/dev-python/trueskill/Manifest b/dev-python/trueskill/Manifest new file mode 100644 index 0000000000..5c56ee0668 --- /dev/null +++ b/dev-python/trueskill/Manifest @@ -0,0 +1 @@ +DIST trueskill-0.4.5.tar.gz 30714 BLAKE2B 86301c80cca29c11dd58bd01fb2f2d15ebacab6e768038ac7cce4728b642de0d3f6125189079df36919360909967d31a37300970e0db18acfaba573450fa501a SHA512 c94f7ba2d4aed615e5591a3f1f263d0368962b5a1eeb5e7379a59ed6faeb7af2587438617f2917a0f94dc9fd5ea290932947dcc8925f685a055f131859d2eca6 diff --git a/dev-python/trueskill/metadata.xml b/dev-python/trueskill/metadata.xml new file mode 100644 index 0000000000..95805be476 --- /dev/null +++ b/dev-python/trueskill/metadata.xml @@ -0,0 +1,24 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + https://github.com/sublee/trueskill/issues + https://raw.githubusercontent.com/sublee/trueskill/master/changelog.rst + https://trueskill.org + + sub@subl.ee + Heungsub Lee + + trueskill + sublee/trueskill + + +TrueSkill is a rating system among game players. It was developed by Microsoft Research and has been used on 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. + +This project is a Python package which implements the TrueSkill rating system: + + diff --git a/dev-python/trueskill/trueskill-0.4.5.ebuild b/dev-python/trueskill/trueskill-0.4.5.ebuild new file mode 100644 index 0000000000..b0e5eabfbc --- /dev/null +++ b/dev-python/trueskill/trueskill-0.4.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Python Implementation of the TrueSkill, Glicko and Elo Ranking Algorithms" +HOMEPAGE=" + https://trueskill.org + https://github.com/sublee/trueskill + https://pypi.org/project/trueskill +" +SRC_URI="https://github.com/sublee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND="" +DEPEND=" + dev-python/six[${PYTHON_USEDEP}] + test? ( + >=dev-python/almost-0.1.5[${PYTHON_USEDEP}] + >=dev-python/mpmath-0.17[${PYTHON_USEDEP}] +