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

2023-01-31 Thread Florian Schmaus
commit: 96244a57a36a07a990692db7b142d7b2c5315cf0
Author: Julien Roy  jroy  ca>
AuthorDate: Tue Jan 31 03:23:31 2023 +
Commit: Florian Schmaus  gentoo  org>
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:master commit in: dev-python/glicko2/

2023-01-30 Thread Viorel Munteanu
commit: 78e0360c6a19cf49a2137c04c943068134081078
Author: Julien Roy  jroy  ca>
AuthorDate: Sun Jan 29 19:45:38 2023 +
Commit: Viorel Munteanu  gentoo  org>
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:master commit in: dev-python/glicko2/

2020-12-20 Thread Andrew Ammerlaan
commit: d8160765cee6f23818975ffd3eb15bad953aa26c
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Dec 20 01:06:05 2020 +
Commit: Andrew Ammerlaan  riseup  net>
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:master commit in: dev-python/glicko2/

2020-12-20 Thread Andrew Ammerlaan
commit: 880e433851d1f379048f7dd233713ace7e2d6823
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Dec 20 00:46:15 2020 +
Commit: Andrew Ammerlaan  riseup  net>
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:master commit in: dev-python/glicko2/

2020-12-12 Thread Andrew Ammerlaan
commit: dd77d340c5c0f8ae9af9ae5b63df13855f091499
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Dec 11 00:37:40 2020 +
Commit: Andrew Ammerlaan  riseup  net>
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:master commit in: dev-python/glicko2/

2020-04-08 Thread Andrew Ammerlaan
commit: d5bcce67c9e3a6b5587a26ce8e491589463a9242
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Apr  8 16:53:49 2020 +
Commit: Andrew Ammerlaan  riseup  net>
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:master commit in: dev-python/glicko2/

2020-03-29 Thread Andrew Ammerlaan
commit: 20cd2d4c7650ce6ac883a512e3e15d3b631fbcaa
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sat Mar 28 16:41:06 2020 +
Commit: Andrew Ammerlaan  riseup  net>
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
+}