mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
30 lines
552 B
Bash
30 lines
552 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="7"
|
|
PYTHON_COMPAT=( python3_7 pypy3)
|
|
|
|
inherit distutils-r1
|
|
|
|
case "${PV}" in
|
|
9999)
|
|
SRC_URI=""
|
|
EGIT_REPO_URI="https://github.com/sublee/glicko2.git"
|
|
inherit git-r3
|
|
;;
|
|
esac
|
|
|
|
DESCRIPTION="An implementation of the Glicko-2 rating system for Python"
|
|
HOMEPAGE="https://github.com/sublee/glicko2"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS=""
|
|
|
|
distutils_enable_tests setup.py
|
|
|
|
src_prepare() {
|
|
sed -i -e "s/distribute/setuptools/g" setup.py
|
|
eapply_user
|
|
}
|