commit: df7f1c6da373043243d8644efb2d1ed229f31957 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Thu Apr 30 22:21:14 2020 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Thu Apr 30 22:22:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df7f1c6d
dev-python/trueskill: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> 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(+) diff --git a/dev-python/trueskill/Manifest b/dev-python/trueskill/Manifest new file mode 100644 index 0000000..5c56ee0 --- /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 0000000..95805be --- /dev/null +++ b/dev-python/trueskill/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alessandro Barbieri</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/sublee/trueskill/issues</bugs-to> + <changelog>https://raw.githubusercontent.com/sublee/trueskill/master/changelog.rst</changelog> + <doc lang="en">https://trueskill.org</doc> + <maintainer> + <email>[email protected]</email> + <name>Heungsub Lee</name> + </maintainer> + <remote-id type="pypi">trueskill</remote-id> + <remote-id type="github">sublee/trueskill</remote-id> + </upstream> + <longdescription lang="en"> +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: + </longdescription> +</pkgmetadata> 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 0000000..b0e5eab --- /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}] + <dev-python/pytest-4.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests setup.py +#docs require a py2 only sphinx theme
