1 |
commit: 20cd2d4c7650ce6ac883a512e3e15d3b631fbcaa |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Mar 28 16:41:06 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Mar 28 16:41:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20cd2d4c |
7 |
|
8 |
dev-python/glicko2: add version |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
dev-python/glicko2/Manifest | 1 + |
14 |
dev-python/glicko2/glicko2-2019.10.10.ebuild | 26 ++++++++++++++++++++++++++ |
15 |
2 files changed, 27 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/glicko2/Manifest b/dev-python/glicko2/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..9c9d826 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/glicko2/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST glicko2-2019.10.10.tar.gz 4684 BLAKE2B c21e3be87df4b3bff0b1ba6bece96587ad26807beab882c38829b782eb99f1e165013b403c6a690ec591daa1ea9d55bff876eb802af944ee25222e28e787146c SHA512 7665c3b81023a01ba2d835c3a0a4aedf5a6becff909f554a25c69537289f6ea75820d759035d540b297cd6414c6d465f79a7ef21a91f9f7e2cf394241811c89d |
24 |
|
25 |
diff --git a/dev-python/glicko2/glicko2-2019.10.10.ebuild b/dev-python/glicko2/glicko2-2019.10.10.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..b9c531d |
28 |
--- /dev/null |
29 |
+++ b/dev-python/glicko2/glicko2-2019.10.10.ebuild |
30 |
@@ -0,0 +1,26 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="7" |
35 |
+PYTHON_COMPAT=( python3_{6,7} pypy3) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+COMMIT="99285aa6b5250b91a837b842dc61b2a96007f3c5" |
40 |
+ |
41 |
+DESCRIPTION="An implementation of the Glicko-2 rating system for Python" |
42 |
+HOMEPAGE="https://github.com/sublee/glicko2" |
43 |
+SRC_URI="https://github.com/sublee/glicko2/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
50 |
+ |
51 |
+distutils_enable_tests setup.py |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ sed -i -e "s/distribute/setuptools/g" setup.py |
55 |
+ eapply_user |
56 |
+} |