1 |
commit: 78e0360c6a19cf49a2137c04c943068134081078 |
2 |
Author: Julien Roy <julien <AT> jroy <DOT> ca> |
3 |
AuthorDate: Sun Jan 29 19:45:38 2023 +0000 |
4 |
Commit: Julien Roy <julien <AT> jroy <DOT> ca> |
5 |
CommitDate: Sun Jan 29 19:45:38 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78e0360c |
7 |
|
8 |
dev-python/glicko2: drop py3.8, add 3.{10,11} |
9 |
use DISTUTILS_USE_PEP517=setuptools |
10 |
|
11 |
Closes: https://bugs.gentoo.org/848171 |
12 |
Signed-off-by: Julien Roy <julien <AT> jroy.ca> |
13 |
|
14 |
dev-python/glicko2/glicko2-2.0.0-r1.ebuild | 19 +++++++++++++++++++ |
15 |
dev-python/glicko2/glicko2-2.0.0.ebuild | 24 ------------------------ |
16 |
2 files changed, 19 insertions(+), 24 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/glicko2/glicko2-2.0.0-r1.ebuild b/dev-python/glicko2/glicko2-2.0.0-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 000000000..c6a18e6cb |
21 |
--- /dev/null |
22 |
+++ b/dev-python/glicko2/glicko2-2.0.0-r1.ebuild |
23 |
@@ -0,0 +1,19 @@ |
24 |
+# Copyright 1999-2023 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=8 |
28 |
+ |
29 |
+DISTUTILS_USE_PEP517=setuptools |
30 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
31 |
+ |
32 |
+inherit distutils-r1 |
33 |
+ |
34 |
+DESCRIPTION="glicko2 implementation in python" |
35 |
+HOMEPAGE="https://github.com/deepy/glicko2" |
36 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64" |
41 |
+ |
42 |
+distutils_enable_tests unittest |
43 |
|
44 |
diff --git a/dev-python/glicko2/glicko2-2.0.0.ebuild b/dev-python/glicko2/glicko2-2.0.0.ebuild |
45 |
deleted file mode 100644 |
46 |
index 8e58ac871..000000000 |
47 |
--- a/dev-python/glicko2/glicko2-2.0.0.ebuild |
48 |
+++ /dev/null |
49 |
@@ -1,24 +0,0 @@ |
50 |
-# Copyright 1999-2020 Gentoo Authors |
51 |
-# Distributed under the terms of the GNU General Public License v2 |
52 |
- |
53 |
-EAPI="7" |
54 |
-PYTHON_COMPAT=( python3_{8,9} pypy3) |
55 |
- |
56 |
-inherit distutils-r1 |
57 |
- |
58 |
-DESCRIPTION="glicko2 implementation in python" |
59 |
-HOMEPAGE="https://github.com/deepy/glicko2" |
60 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
61 |
- |
62 |
-LICENSE="MIT" |
63 |
-SLOT="0" |
64 |
-KEYWORDS="~amd64" |
65 |
- |
66 |
-distutils_enable_tests setup.py |
67 |
- |
68 |
-src_prepare() { |
69 |
- sed -i -e "s/distribute/setuptools/g" \ |
70 |
- -e 's/setuptools.find_packages()/setuptools.find_packages(exclude=["*test*"])/g' \ |
71 |
- setup.py |
72 |
- default |
73 |
-} |