mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-python/glicko2: new package
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
37
dev-python/glicko2/glicko2-9999.ebuild
Normal file
37
dev-python/glicko2/glicko2-9999.ebuild
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
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=""
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e "s/distribute/setuptools/g" setup.py
|
||||||
|
eapply_user
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
"${PYTHON}" setup.py test || die
|
||||||
|
}
|
||||||
11
dev-python/glicko2/metadata.xml
Normal file
11
dev-python/glicko2/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>lssndrbarbieri@gmail.com</email>
|
||||||
|
<name>Alessandro Barbieri</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">sublee/glicko2</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user