Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/trueskill/
Date: Thu, 30 Apr 2020 22:23:06
Message-Id: 1588285368.df7f1c6da373043243d8644efb2d1ed229f31957.Alessandro-Barbieri@gentoo
1 commit: df7f1c6da373043243d8644efb2d1ed229f31957
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Apr 30 22:21:14 2020 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu Apr 30 22:22:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df7f1c6d
7
8 dev-python/trueskill: new package
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 dev-python/trueskill/Manifest | 1 +
14 dev-python/trueskill/metadata.xml | 24 ++++++++++++++++++++
15 dev-python/trueskill/trueskill-0.4.5.ebuild | 34 +++++++++++++++++++++++++++++
16 3 files changed, 59 insertions(+)
17
18 diff --git a/dev-python/trueskill/Manifest b/dev-python/trueskill/Manifest
19 new file mode 100644
20 index 0000000..5c56ee0
21 --- /dev/null
22 +++ b/dev-python/trueskill/Manifest
23 @@ -0,0 +1 @@
24 +DIST trueskill-0.4.5.tar.gz 30714 BLAKE2B 86301c80cca29c11dd58bd01fb2f2d15ebacab6e768038ac7cce4728b642de0d3f6125189079df36919360909967d31a37300970e0db18acfaba573450fa501a SHA512 c94f7ba2d4aed615e5591a3f1f263d0368962b5a1eeb5e7379a59ed6faeb7af2587438617f2917a0f94dc9fd5ea290932947dcc8925f685a055f131859d2eca6
25
26 diff --git a/dev-python/trueskill/metadata.xml b/dev-python/trueskill/metadata.xml
27 new file mode 100644
28 index 0000000..95805be
29 --- /dev/null
30 +++ b/dev-python/trueskill/metadata.xml
31 @@ -0,0 +1,24 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>lssndrbarbieri@×××××.com</email>
37 + <name>Alessandro Barbieri</name>
38 + </maintainer>
39 + <upstream>
40 + <bugs-to>https://github.com/sublee/trueskill/issues</bugs-to>
41 + <changelog>https://raw.githubusercontent.com/sublee/trueskill/master/changelog.rst</changelog>
42 + <doc lang="en">https://trueskill.org</doc>
43 + <maintainer>
44 + <email>sub@××××.ee</email>
45 + <name>Heungsub Lee</name>
46 + </maintainer>
47 + <remote-id type="pypi">trueskill</remote-id>
48 + <remote-id type="github">sublee/trueskill</remote-id>
49 + </upstream>
50 + <longdescription lang="en">
51 +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.
52 +
53 +This project is a Python package which implements the TrueSkill rating system:
54 + </longdescription>
55 +</pkgmetadata>
56
57 diff --git a/dev-python/trueskill/trueskill-0.4.5.ebuild b/dev-python/trueskill/trueskill-0.4.5.ebuild
58 new file mode 100644
59 index 0000000..b0e5eab
60 --- /dev/null
61 +++ b/dev-python/trueskill/trueskill-0.4.5.ebuild
62 @@ -0,0 +1,34 @@
63 +# Copyright 1999-2020 Gentoo Authors
64 +# Distributed under the terms of the GNU General Public License v2
65 +
66 +EAPI="7"
67 +
68 +PYTHON_COMPAT=( python3_{6,7} )
69 +
70 +inherit distutils-r1
71 +
72 +DESCRIPTION="Python Implementation of the TrueSkill, Glicko and Elo Ranking Algorithms"
73 +HOMEPAGE="
74 + https://trueskill.org
75 + https://github.com/sublee/trueskill
76 + https://pypi.org/project/trueskill
77 +"
78 +SRC_URI="https://github.com/sublee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
79 +
80 +SLOT="0"
81 +LICENSE="BSD"
82 +KEYWORDS="~amd64"
83 +IUSE="test"
84 +RESTRICT="!test? ( test )"
85 +RDEPEND=""
86 +DEPEND="
87 + dev-python/six[${PYTHON_USEDEP}]
88 + test? (
89 + >=dev-python/almost-0.1.5[${PYTHON_USEDEP}]
90 + >=dev-python/mpmath-0.17[${PYTHON_USEDEP}]
91 + <dev-python/pytest-4.0[${PYTHON_USEDEP}]
92 + )
93 +"
94 +
95 +distutils_enable_tests setup.py
96 +#docs require a py2 only sphinx theme