mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
Closes: https://bugs.gentoo.org/784164 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
38 lines
855 B
Bash
38 lines
855 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
|
|
PYTHON_COMPAT=( python3_{7,8} )
|
|
|
|
inherit distutils-r1
|
|
|
|
COMMIT="91c29b1ab6cd86d6d68fc983fd7ceba3a88ad544"
|
|
|
|
DESCRIPTION="Python Implementation of the TrueSkill Algorithm"
|
|
HOMEPAGE="
|
|
https://trueskill.org
|
|
https://github.com/sublee/trueskill
|
|
https://pypi.org/project/trueskill
|
|
"
|
|
SRC_URI="https://github.com/sublee/${PN}/archive/${COMMIT}.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[${PYTHON_USEDEP}]
|
|
)
|
|
"
|
|
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
|
|
distutils_enable_tests setup.py
|
|
#docs require a py2 only sphinx theme
|