dev-python/glicko2: use 0_pre versioning schema

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-04-08 18:53:49 +02:00
parent 757c471253
commit d5bcce67c9
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} pypy3)
inherit distutils-r1
COMMIT="99285aa6b5250b91a837b842dc61b2a96007f3c5"
DESCRIPTION="An implementation of the Glicko-2 rating system for Python"
HOMEPAGE="https://github.com/sublee/glicko2"
SRC_URI="https://github.com/sublee/glicko2/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${COMMIT}"
distutils_enable_tests setup.py
src_prepare() {
sed -i -e "s/distribute/setuptools/g" setup.py
eapply_user
}