From 4dee0c18d339b37e269b6537eff87edbefe822ac Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sun, 14 Mar 2021 11:36:10 +0100 Subject: [PATCH] dev-python/github-sublee-glicko2: bump py Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri --- ...hub-sublee-glicko2-0_pre20191010-r1.ebuild | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 dev-python/github-sublee-glicko2/github-sublee-glicko2-0_pre20191010-r1.ebuild diff --git a/dev-python/github-sublee-glicko2/github-sublee-glicko2-0_pre20191010-r1.ebuild b/dev-python/github-sublee-glicko2/github-sublee-glicko2-0_pre20191010-r1.ebuild new file mode 100644 index 0000000000..adbd65fd38 --- /dev/null +++ b/dev-python/github-sublee-glicko2/github-sublee-glicko2-0_pre20191010-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +DISTUTILS_USE_SETUPTOOLS="rdepend" +inherit distutils-r1 + +COMMIT="99285aa6b5250b91a837b842dc61b2a96007f3c5" +MYPN="glicko2" +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}/${MYPN}-${COMMIT}" + +distutils_enable_tests setup.py + +src_prepare() { + sed -i -e "s/distribute/setuptools/g" setup.py + eapply_user +}