dev-python/trueskill: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-05-01 00:21:14 +02:00
parent 826a3fee85
commit df7f1c6da3
3 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST trueskill-0.4.5.tar.gz 30714 BLAKE2B 86301c80cca29c11dd58bd01fb2f2d15ebacab6e768038ac7cce4728b642de0d3f6125189079df36919360909967d31a37300970e0db18acfaba573450fa501a SHA512 c94f7ba2d4aed615e5591a3f1f263d0368962b5a1eeb5e7379a59ed6faeb7af2587438617f2917a0f94dc9fd5ea290932947dcc8925f685a055f131859d2eca6

View File

@@ -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>lssndrbarbieri@gmail.com</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>sub@subl.ee</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>

View File

@@ -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