[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2024-04-13 Thread Julien Roy
commit: ed3b3601a9ea67b728e43f8d8f8445e2a676d2fa
Author: Julien Roy  jroy  ca>
AuthorDate: Sat Apr 13 19:06:13 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sat Apr 13 19:06:13 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ed3b3601

dev-python/glicko2: enable py3.12

Signed-off-by: Julien Roy  jroy.ca>

 dev-python/glicko2/glicko2-2.0.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/glicko2/glicko2-2.0.0-r2.ebuild 
b/dev-python/glicko2/glicko2-2.0.0-r2.ebuild
index f68e1fac9e..bac2eb982b 100644
--- a/dev-python/glicko2/glicko2-2.0.0-r2.ebuild
+++ b/dev-python/glicko2/glicko2-2.0.0-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2023-01-30 Thread Julien Roy
commit: 96244a57a36a07a990692db7b142d7b2c5315cf0
Author: Julien Roy  jroy  ca>
AuthorDate: Tue Jan 31 03:23:31 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Tue Jan 31 03:23:31 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96244a57

dev-python/glicko2: exclude tests package

Closes: https://bugs.gentoo.org/892597
Signed-off-by: Julien Roy  jroy.ca>

 .../glicko2/{glicko2-2.0.0-r1.ebuild => glicko2-2.0.0-r2.ebuild}| 6 ++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/glicko2/glicko2-2.0.0-r1.ebuild 
b/dev-python/glicko2/glicko2-2.0.0-r2.ebuild
similarity index 76%
rename from dev-python/glicko2/glicko2-2.0.0-r1.ebuild
rename to dev-python/glicko2/glicko2-2.0.0-r2.ebuild
index c6a18e6cb..ce52f4be0 100644
--- a/dev-python/glicko2/glicko2-2.0.0-r1.ebuild
+++ b/dev-python/glicko2/glicko2-2.0.0-r2.ebuild
@@ -17,3 +17,9 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 distutils_enable_tests unittest
+
+src_prepare() {
+   sed -e "s/find_packages()/find_packages(exclude=['tests'])/" \
+   -i setup.py || die
+   distutils-r1_src_prepare
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2023-01-29 Thread Julien Roy
commit: 78e0360c6a19cf49a2137c04c943068134081078
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Jan 29 19:45:38 2023 +
Commit: Julien Roy  jroy  ca>
CommitDate: Sun Jan 29 19:45:38 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78e0360c

dev-python/glicko2: drop py3.8, add 3.{10,11}
use DISTUTILS_USE_PEP517=setuptools

Closes: https://bugs.gentoo.org/848171
Signed-off-by: Julien Roy  jroy.ca>

 dev-python/glicko2/glicko2-2.0.0-r1.ebuild | 19 +++
 dev-python/glicko2/glicko2-2.0.0.ebuild| 24 
 2 files changed, 19 insertions(+), 24 deletions(-)

diff --git a/dev-python/glicko2/glicko2-2.0.0-r1.ebuild 
b/dev-python/glicko2/glicko2-2.0.0-r1.ebuild
new file mode 100644
index 0..c6a18e6cb
--- /dev/null
+++ b/dev-python/glicko2/glicko2-2.0.0-r1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="glicko2 implementation in python"
+HOMEPAGE="https://github.com/deepy/glicko2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests unittest

diff --git a/dev-python/glicko2/glicko2-2.0.0.ebuild 
b/dev-python/glicko2/glicko2-2.0.0.ebuild
deleted file mode 100644
index 8e58ac871..0
--- a/dev-python/glicko2/glicko2-2.0.0.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_{8,9} pypy3)
-
-inherit distutils-r1
-
-DESCRIPTION="glicko2 implementation in python"
-HOMEPAGE="https://github.com/deepy/glicko2;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-distutils_enable_tests setup.py
-
-src_prepare() {
-   sed -i -e "s/distribute/setuptools/g" \
-   -e 
's/setuptools.find_packages()/setuptools.find_packages(exclude=["*test*"])/g' \
-   setup.py
-   default
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2021-03-28 Thread Andrew Ammerlaan
commit: 3dafcd4b74b8ffdbc30a7a644e2e56889cd70ed0
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Mar 28 09:41:57 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Mar 28 09:41:57 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3dafcd4b

dev-python/glicko2: remove RedundantLongDescription

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/glicko2/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-python/glicko2/metadata.xml b/dev-python/glicko2/metadata.xml
index 394abee8a..e2ba8983b 100644
--- a/dev-python/glicko2/metadata.xml
+++ b/dev-python/glicko2/metadata.xml
@@ -2,9 +2,6 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   
-  
-This is my fork of lmeyerov's update to Ryan Kirkman's pyglicko2
-  
   
 deepy/glicko2
 glicko2



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2020-12-19 Thread Alessandro Barbieri
commit: 880e433851d1f379048f7dd233713ace7e2d6823
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Dec 20 00:46:15 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Dec 20 01:23:33 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=880e4338

Revert "dev-python/glicko2: version bump 2.0.0, add py3.8 and py3.9"

This reverts commit 0427d651fb27bf4feb0cfaaaf30e2374f3d51f7d.
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/glicko2/Manifest  |  2 +-
 ...glicko2-2.0.0.ebuild => glicko2-0_pre20191010.ebuild} | 16 +---
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/dev-python/glicko2/Manifest b/dev-python/glicko2/Manifest
index 660ac924..041504f9 100644
--- a/dev-python/glicko2/Manifest
+++ b/dev-python/glicko2/Manifest
@@ -1 +1 @@
-DIST glicko2-2.0.0.tar.gz 3612 BLAKE2B 
4bb4becac2c619b4d54dbf872535002d6318e9d75cbe969f676d9a47dd83a5914e5fd8750fadfa07fb32e7b86b0ed316ff000b98403b96a0ca58ef63697c205c
 SHA512 
f010653445ace4487d31ddec451927ce42a2728f14d57760bcc14d1279e3c5345e73bfe7552937102172a5f171c14a1c4debb10aee1e53d9c697cea66761c8f2
+DIST glicko2-0_pre20191010.tar.gz 4684 BLAKE2B 
c21e3be87df4b3bff0b1ba6bece96587ad26807beab882c38829b782eb99f1e165013b403c6a690ec591daa1ea9d55bff876eb802af944ee25222e28e787146c
 SHA512 
7665c3b81023a01ba2d835c3a0a4aedf5a6becff909f554a25c69537289f6ea75820d759035d540b297cd6414c6d465f79a7ef21a91f9f7e2cf394241811c89d

diff --git a/dev-python/glicko2/glicko2-2.0.0.ebuild 
b/dev-python/glicko2/glicko2-0_pre20191010.ebuild
similarity index 54%
rename from dev-python/glicko2/glicko2-2.0.0.ebuild
rename to dev-python/glicko2/glicko2-0_pre20191010.ebuild
index aa997cf8..0bfb9244 100644
--- a/dev-python/glicko2/glicko2-2.0.0.ebuild
+++ b/dev-python/glicko2/glicko2-0_pre20191010.ebuild
@@ -2,23 +2,25 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{7,8,9} pypy3)
+PYTHON_COMPAT=( python3_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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/sublee/glicko2/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
 
-LICENSE="MIT"
+LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
 
+S="${WORKDIR}/${PN}-${COMMIT}"
+
 distutils_enable_tests setup.py
 
 src_prepare() {
-   sed -i -e "s/distribute/setuptools/g" \
-   -e 
's/setuptools.find_packages()/setuptools.find_packages(exclude=["*test*"])/g' \
-   setup.py
-   default
+   sed -i -e "s/distribute/setuptools/g" setup.py
+   eapply_user
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2020-12-19 Thread Alessandro Barbieri
commit: d8160765cee6f23818975ffd3eb15bad953aa26c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Dec 20 01:06:05 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Dec 20 01:25:22 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8160765

dev-python/glicko2: "new" package

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/glicko2/Manifest |  1 +
 dev-python/glicko2/glicko2-2.0.0.ebuild | 24 
 dev-python/glicko2/metadata.xml | 12 
 3 files changed, 37 insertions(+)

diff --git a/dev-python/glicko2/Manifest b/dev-python/glicko2/Manifest
new file mode 100644
index ..660ac924
--- /dev/null
+++ b/dev-python/glicko2/Manifest
@@ -0,0 +1 @@
+DIST glicko2-2.0.0.tar.gz 3612 BLAKE2B 
4bb4becac2c619b4d54dbf872535002d6318e9d75cbe969f676d9a47dd83a5914e5fd8750fadfa07fb32e7b86b0ed316ff000b98403b96a0ca58ef63697c205c
 SHA512 
f010653445ace4487d31ddec451927ce42a2728f14d57760bcc14d1279e3c5345e73bfe7552937102172a5f171c14a1c4debb10aee1e53d9c697cea66761c8f2

diff --git a/dev-python/glicko2/glicko2-2.0.0.ebuild 
b/dev-python/glicko2/glicko2-2.0.0.ebuild
new file mode 100644
index ..762aadfc
--- /dev/null
+++ b/dev-python/glicko2/glicko2-2.0.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{7,8,9} pypy3)
+
+inherit distutils-r1
+
+DESCRIPTION="glicko2 implementation in python"
+HOMEPAGE="https://github.com/deepy/glicko2;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+distutils_enable_tests setup.py
+
+src_prepare() {
+   sed -i -e "s/distribute/setuptools/g" \
+   -e 
's/setuptools.find_packages()/setuptools.find_packages(exclude=["*test*"])/g' \
+   setup.py
+   default
+}

diff --git a/dev-python/glicko2/metadata.xml b/dev-python/glicko2/metadata.xml
new file mode 100644
index ..394abee8
--- /dev/null
+++ b/dev-python/glicko2/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+  
+This is my fork of lmeyerov's update to Ryan Kirkman's pyglicko2
+  
+  
+deepy/glicko2
+glicko2
+  
+



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2020-12-18 Thread Andrew Ammerlaan
commit: 0427d651fb27bf4feb0cfaaaf30e2374f3d51f7d
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Dec 18 17:56:00 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Dec 18 17:56:00 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0427d651

dev-python/glicko2: version bump 2.0.0, add py3.8 and py3.9

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/glicko2/Manifest  |  2 +-
 ...glicko2-0_pre20191010.ebuild => glicko2-2.0.0.ebuild} | 16 +++-
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/dev-python/glicko2/Manifest b/dev-python/glicko2/Manifest
index 041504f9..660ac924 100644
--- a/dev-python/glicko2/Manifest
+++ b/dev-python/glicko2/Manifest
@@ -1 +1 @@
-DIST glicko2-0_pre20191010.tar.gz 4684 BLAKE2B 
c21e3be87df4b3bff0b1ba6bece96587ad26807beab882c38829b782eb99f1e165013b403c6a690ec591daa1ea9d55bff876eb802af944ee25222e28e787146c
 SHA512 
7665c3b81023a01ba2d835c3a0a4aedf5a6becff909f554a25c69537289f6ea75820d759035d540b297cd6414c6d465f79a7ef21a91f9f7e2cf394241811c89d
+DIST glicko2-2.0.0.tar.gz 3612 BLAKE2B 
4bb4becac2c619b4d54dbf872535002d6318e9d75cbe969f676d9a47dd83a5914e5fd8750fadfa07fb32e7b86b0ed316ff000b98403b96a0ca58ef63697c205c
 SHA512 
f010653445ace4487d31ddec451927ce42a2728f14d57760bcc14d1279e3c5345e73bfe7552937102172a5f171c14a1c4debb10aee1e53d9c697cea66761c8f2

diff --git a/dev-python/glicko2/glicko2-0_pre20191010.ebuild 
b/dev-python/glicko2/glicko2-2.0.0.ebuild
similarity index 54%
rename from dev-python/glicko2/glicko2-0_pre20191010.ebuild
rename to dev-python/glicko2/glicko2-2.0.0.ebuild
index 0bfb9244..aa997cf8 100644
--- a/dev-python/glicko2/glicko2-0_pre20191010.ebuild
+++ b/dev-python/glicko2/glicko2-2.0.0.ebuild
@@ -2,25 +2,23 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_7 pypy3)
+PYTHON_COMPAT=( python3_{7,8,9} 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"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
-LICENSE="BSD"
+LICENSE="MIT"
 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
+   sed -i -e "s/distribute/setuptools/g" \
+   -e 
's/setuptools.find_packages()/setuptools.find_packages(exclude=["*test*"])/g' \
+   setup.py
+   default
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2020-12-11 Thread Alessandro Barbieri
commit: dd77d340c5c0f8ae9af9ae5b63df13855f091499
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Dec 11 00:37:40 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri Dec 11 15:20:17 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd77d340

dev-python/glicko2: remove live ebuild

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/glicko2/glicko2-.ebuild | 29 -
 1 file changed, 29 deletions(-)

diff --git a/dev-python/glicko2/glicko2-.ebuild 
b/dev-python/glicko2/glicko2-.ebuild
deleted file mode 100644
index 58cfa80b..
--- a/dev-python/glicko2/glicko2-.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_7 pypy3)
-
-inherit distutils-r1
-
-case "${PV}" in
-)
-   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=""
-
-distutils_enable_tests setup.py
-
-src_prepare() {
-   sed -i -e "s/distribute/setuptools/g" setup.py
-   eapply_user
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2020-04-08 Thread Alessandro Barbieri
commit: d5bcce67c9e3a6b5587a26ce8e491589463a9242
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Apr  8 16:53:49 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Wed Apr  8 17:03:55 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5bcce67

dev-python/glicko2: use 0_pre versioning schema

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/glicko2/Manifest | 2 +-
 .../glicko2/{glicko2-2019.10.10.ebuild => glicko2-0_pre20191010.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/glicko2/Manifest b/dev-python/glicko2/Manifest
index 9c9d826..041504f 100644
--- a/dev-python/glicko2/Manifest
+++ b/dev-python/glicko2/Manifest
@@ -1 +1 @@
-DIST glicko2-2019.10.10.tar.gz 4684 BLAKE2B 
c21e3be87df4b3bff0b1ba6bece96587ad26807beab882c38829b782eb99f1e165013b403c6a690ec591daa1ea9d55bff876eb802af944ee25222e28e787146c
 SHA512 
7665c3b81023a01ba2d835c3a0a4aedf5a6becff909f554a25c69537289f6ea75820d759035d540b297cd6414c6d465f79a7ef21a91f9f7e2cf394241811c89d
+DIST glicko2-0_pre20191010.tar.gz 4684 BLAKE2B 
c21e3be87df4b3bff0b1ba6bece96587ad26807beab882c38829b782eb99f1e165013b403c6a690ec591daa1ea9d55bff876eb802af944ee25222e28e787146c
 SHA512 
7665c3b81023a01ba2d835c3a0a4aedf5a6becff909f554a25c69537289f6ea75820d759035d540b297cd6414c6d465f79a7ef21a91f9f7e2cf394241811c89d

diff --git a/dev-python/glicko2/glicko2-2019.10.10.ebuild 
b/dev-python/glicko2/glicko2-0_pre20191010.ebuild
similarity index 100%
rename from dev-python/glicko2/glicko2-2019.10.10.ebuild
rename to dev-python/glicko2/glicko2-0_pre20191010.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2020-03-28 Thread Alessandro Barbieri
commit: 20cd2d4c7650ce6ac883a512e3e15d3b631fbcaa
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Mar 28 16:41:06 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sat Mar 28 16:41:37 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20cd2d4c

dev-python/glicko2: add version

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/glicko2/Manifest  |  1 +
 dev-python/glicko2/glicko2-2019.10.10.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/dev-python/glicko2/Manifest b/dev-python/glicko2/Manifest
new file mode 100644
index 000..9c9d826
--- /dev/null
+++ b/dev-python/glicko2/Manifest
@@ -0,0 +1 @@
+DIST glicko2-2019.10.10.tar.gz 4684 BLAKE2B 
c21e3be87df4b3bff0b1ba6bece96587ad26807beab882c38829b782eb99f1e165013b403c6a690ec591daa1ea9d55bff876eb802af944ee25222e28e787146c
 SHA512 
7665c3b81023a01ba2d835c3a0a4aedf5a6becff909f554a25c69537289f6ea75820d759035d540b297cd6414c6d465f79a7ef21a91f9f7e2cf394241811c89d

diff --git a/dev-python/glicko2/glicko2-2019.10.10.ebuild 
b/dev-python/glicko2/glicko2-2019.10.10.ebuild
new file mode 100644
index 000..b9c531d
--- /dev/null
+++ b/dev-python/glicko2/glicko2-2019.10.10.ebuild
@@ -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
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2020-03-02 Thread Andrew Ammerlaan
commit: 50eaf9a25035b5ad09efa36ed0592f0a46bd32ba
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar  2 19:41:15 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Mar  2 19:41:15 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50eaf9a2

dev-python/glicko2: Add distutils_enable_tests

it does the same, but it's shorter

Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/glicko2/glicko2-.ebuild | 10 +-
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/dev-python/glicko2/glicko2-.ebuild 
b/dev-python/glicko2/glicko2-.ebuild
index 2caf8b1..c23bbee 100644
--- a/dev-python/glicko2/glicko2-.ebuild
+++ b/dev-python/glicko2/glicko2-.ebuild
@@ -20,18 +20,10 @@ HOMEPAGE="https://github.com/sublee/glicko2;
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS=""
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-"
+distutils_enable_tests setup.py
 
 src_prepare() {
sed -i -e "s/distribute/setuptools/g" setup.py
eapply_user
 }
-
-python_test() {
-   "${PYTHON}" setup.py test || die
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glicko2/

2020-02-22 Thread Alessandro Barbieri
commit: dade0be9b01b25f784b529ace1891cd094f6311c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Feb 23 03:30:30 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Feb 23 03:30:30 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dade0be9

dev-python/glicko2: new package

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/glicko2/glicko2-.ebuild | 37 ++
 dev-python/glicko2/metadata.xml| 11 ++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/glicko2/glicko2-.ebuild 
b/dev-python/glicko2/glicko2-.ebuild
new file mode 100644
index 000..2caf8b1
--- /dev/null
+++ b/dev-python/glicko2/glicko2-.ebuild
@@ -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
+)
+   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
+}

diff --git a/dev-python/glicko2/metadata.xml b/dev-python/glicko2/metadata.xml
new file mode 100644
index 000..b1a0922
--- /dev/null
+++ b/dev-python/glicko2/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+lssndrbarbi...@gmail.com
+Alessandro Barbieri
+  
+  
+sublee/glicko2
+  
+