[gentoo-commits] repo/gentoo:master commit in: dev-python/python3-openid/

2022-06-04 Thread Michał Górny
commit: a1f31b15f630a703c5ecf6f22633fb9ccc71dee4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun  4 07:07:51 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  4 07:41:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f31b15

dev-python/python3-openid: Use slot for dev-python/psycopg

Signed-off-by: Michał Górny  gentoo.org>

 ...on3-openid-3.2.0.ebuild => python3-openid-3.2.0-r1.ebuild} | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-python/python3-openid/python3-openid-3.2.0.ebuild 
b/dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild
similarity index 79%
rename from dev-python/python3-openid/python3-openid-3.2.0.ebuild
rename to dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild
index 6066e6b63193..6e6b0b70cf2c 100644
--- a/dev-python/python3-openid/python3-openid-3.2.0.ebuild
+++ b/dev-python/python3-openid/python3-openid-3.2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,11 +17,14 @@ KEYWORDS="~amd64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]"
+RDEPEND="
+   dev-python/defusedxml[${PYTHON_USEDEP}]
+"
 BDEPEND="
-   test? ( ${RDEPEND}
+   test? (
+   ${RDEPEND}
dev-python/django[${PYTHON_USEDEP}]
-   dev-python/psycopg[${PYTHON_USEDEP}]
+   dev-python/psycopg:2[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python3-openid/

2021-12-27 Thread Hanno Böck
commit: 7dacb6babe9659ef57c182b2283ff7854c91c2f9
Author: Hanno Böck  gentoo  org>
AuthorDate: Mon Dec 27 16:42:57 2021 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Mon Dec 27 16:42:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dacb6ba

dev-python/python3-openid: Remove myself as maintainer

Signed-off-by: Hanno Böck  gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 dev-python/python3-openid/metadata.xml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-python/python3-openid/metadata.xml 
b/dev-python/python3-openid/metadata.xml
index ecb01b968b2d..4c87ab4831fa 100644
--- a/dev-python/python3-openid/metadata.xml
+++ b/dev-python/python3-openid/metadata.xml
@@ -1,9 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   ha...@gentoo.org
-   
+   

python3-openid
necaris/python3-openid



[gentoo-commits] repo/gentoo:master commit in: dev-python/python3-openid/

2021-10-23 Thread Arthur Zamarin
commit: 53b0734dbbcf2ab2e47f90417aeaa81445bd1f4c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 23 15:50:16 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 23 16:08:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53b0734d

dev-python/python3-openid: enable py3.10, enable tests

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/python3-openid/python3-openid-3.2.0.ebuild | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/dev-python/python3-openid/python3-openid-3.2.0.ebuild 
b/dev-python/python3-openid/python3-openid-3.2.0.ebuild
index c1f5bca4f6c..6066e6b6319 100644
--- a/dev-python/python3-openid/python3-openid-3.2.0.ebuild
+++ b/dev-python/python3-openid/python3-openid-3.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -14,9 +14,19 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
+IUSE="test"
+RESTRICT="!test? ( test )"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? ( ${RDEPEND}
+   dev-python/django[${PYTHON_USEDEP}]
+   dev-python/psycopg[${PYTHON_USEDEP}]
+   )
+"
 
 DOCS=( NEWS.md README.md )
+
+python_test() {
+   "${EPYTHON}" -m unittest -v openid.test.test_suite || die "Tests failed 
with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/python3-openid/

2020-09-11 Thread Hanno Böck
commit: 30ec5e66f4abdf324d39a517e4e8eba1591b9830
Author: Hanno Böck  gentoo  org>
AuthorDate: Fri Sep 11 10:42:45 2020 +
Commit: Hanno Böck  gentoo  org>
CommitDate: Fri Sep 11 10:42:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30ec5e66

dev-python/python3-openid: Initial commit

Needed for mailman 3.

Signed-off-by: Hanno Böck  gentoo.org>
Package-Manager: Portage-3.0.6, Repoman-3.0.1

 dev-python/python3-openid/Manifest |  1 +
 dev-python/python3-openid/metadata.xml | 10 ++
 .../python3-openid/python3-openid-3.2.0.ebuild | 22 ++
 3 files changed, 33 insertions(+)

diff --git a/dev-python/python3-openid/Manifest 
b/dev-python/python3-openid/Manifest
new file mode 100644
index 000..62c1b143f24
--- /dev/null
+++ b/dev-python/python3-openid/Manifest
@@ -0,0 +1 @@
+DIST python3-openid-3.2.0.tar.gz 305600 BLAKE2B 
d793eb61335d7240d5c25324b8377d19781df15012c8da6d5d0d7445c8a7fcb31711156b48d32efae8b6de27509e8f9112535ece7820779ca9b7f2e7be04fb0f
 SHA512 
54412820fef21928e1bf30d16c9bc73d454e9ff41df028a12047c08abdb4c2c9e1d9053daebab8b0327cb0fe0f67e364c2506a47509fef6db5bff42f8399b799

diff --git a/dev-python/python3-openid/metadata.xml 
b/dev-python/python3-openid/metadata.xml
new file mode 100644
index 000..4c9521c7cf1
--- /dev/null
+++ b/dev-python/python3-openid/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   ha...@gentoo.org
+   
+   
+   python3-openid
+   
+

diff --git a/dev-python/python3-openid/python3-openid-3.2.0.ebuild 
b/dev-python/python3-openid/python3-openid-3.2.0.ebuild
new file mode 100644
index 000..dbb072652b9
--- /dev/null
+++ b/dev-python/python3-openid/python3-openid-3.2.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="OpenID support for modern servers and consumers"
+HOMEPAGE="https://github.com/necaris/python3-openid;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]"
+
+DOCS=( NEWS.md README.md )



[gentoo-commits] repo/gentoo:master commit in: dev-python/python3-openid/files/

2018-01-13 Thread David Seifert
commit: baae92ecee4f4dd6e54918d84807cc406c645b43
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Jan  7 08:03:17 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 13 22:40:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baae92ec

dev-python/python3-openid: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/6780

 dev-python/python3-openid/files/django-tests.patch | 32 --
 1 file changed, 32 deletions(-)

diff --git a/dev-python/python3-openid/files/django-tests.patch 
b/dev-python/python3-openid/files/django-tests.patch
deleted file mode 100644
index e5fcda877f3..000
--- a/dev-python/python3-openid/files/django-tests.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff --git a/examples/djopenid/consumer/urls.py 
b/examples/djopenid/consumer/urls.py
-index d55e056..3926e27 100644
 a/examples/djopenid/consumer/urls.py
-+++ b/examples/djopenid/consumer/urls.py
-@@ -1,5 +1,5 @@
- 
--from django.conf.urls.defaults import *
-+from django.conf.urls import *
- 
- urlpatterns = patterns(
- 'djopenid.consumer.views',
-diff --git a/examples/djopenid/server/urls.py 
b/examples/djopenid/server/urls.py
-index d6931a4..e61de52 100644
 a/examples/djopenid/server/urls.py
-+++ b/examples/djopenid/server/urls.py
-@@ -1,5 +1,5 @@
- 
--from django.conf.urls.defaults import *
-+from django.conf.urls import *
- 
- urlpatterns = patterns(
- 'djopenid.server.views',
-diff --git a/examples/djopenid/urls.py b/examples/djopenid/urls.py
-index d91ee1f..16af9a1 100644
 a/examples/djopenid/urls.py
-+++ b/examples/djopenid/urls.py
-@@ -1,4 +1,4 @@
--from django.conf.urls.defaults import *
-+from django.conf.urls import *
- 
- urlpatterns = patterns(
- '',



[gentoo-commits] repo/gentoo:master commit in: dev-python/python3-openid/

2017-06-03 Thread Mike Gilbert
commit: bb8fa7263947c5bf4ee412b8ce376848889be889
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jun  3 20:59:36 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jun  3 20:59:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb8fa726

dev-python/python3-openid: stable on amd64

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 dev-python/python3-openid/python3-openid-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python3-openid/python3-openid-3.1.0.ebuild 
b/dev-python/python3-openid/python3-openid-3.1.0.ebuild
index 60b37f48280..1484171e99b 100644
--- a/dev-python/python3-openid/python3-openid-3.1.0.ebuild
+++ b/dev-python/python3-openid/python3-openid-3.1.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/python3-openid/

2017-06-03 Thread Mike Gilbert
commit: 8abf67553cb0f279b8a49f0b0983ba55cd019ddf
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jun  3 20:58:50 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jun  3 20:58:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abf6755

dev-python/python3-openid: die on test failure

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 dev-python/python3-openid/python3-openid-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/python3-openid/python3-openid-3.1.0.ebuild 
b/dev-python/python3-openid/python3-openid-3.1.0.ebuild
index 934d5daa146..60b37f48280 100644
--- a/dev-python/python3-openid/python3-openid-3.1.0.ebuild
+++ b/dev-python/python3-openid/python3-openid-3.1.0.ebuild
@@ -24,5 +24,5 @@ DEPEND="${RDEPEND}
 "
 
 python_test() {
-   ${EPYTHON} -m unittest -v openid.test.test_suite
+   ${EPYTHON} -m unittest -v openid.test.test_suite || die "Tests failed 
with ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/python3-openid/

2017-06-03 Thread Mike Gilbert
commit: a2a2f4bb2bb5454001bf2c085aa05e336913a337
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jun  3 20:55:54 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jun  3 20:57:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a2f4bb

dev-python/python3-openid: bump to 3.1.0

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 dev-python/python3-openid/Manifest |  1 +
 .../python3-openid/python3-openid-3.1.0.ebuild | 28 ++
 2 files changed, 29 insertions(+)

diff --git a/dev-python/python3-openid/Manifest 
b/dev-python/python3-openid/Manifest
index 86efff64b50..3dd7d84911a 100644
--- a/dev-python/python3-openid/Manifest
+++ b/dev-python/python3-openid/Manifest
@@ -1 +1,2 @@
 DIST python3-openid-3.0.4_p1.tar.gz 306465 SHA256 
eb78cb2288805ee1c51eeaa8941c61be796ac1126e1ca0a2c49dc7582b0c0407 SHA512 
6e710dc47c3c1d4f31937b8a4dcf546cdb06128ffddbc3b2e2a2a9e09a8a3a7122326ba2137a92269f58a29f1b264c2e942610098f91f237d45f5ff0887faea0
 WHIRLPOOL 
8812d4fd0c0ffd3e40f4f8414463f05cf62b37d388039a5287ac412c452a8e7cb142accafdfbd9e32d36cde3d4a6d96954742b542fdc92168d31574de185c152
+DIST python3-openid-3.1.0.tar.gz 299326 SHA256 
628d365d687e12da12d02c6691170f4451db28d6d68d050007e4a40065868502 SHA512 
9c96efd16191ddb6ddb12c4885a2cce523244d04e70f9418144d0124ef142fd7b6578cd2a01e949995d7dedf0b96cbb3b17d1d3a29db5da8934f7fa875ad8e9c
 WHIRLPOOL 
1b46810f625d0e5a3018b2dd2c1df938bb3df41c3316d04910d1e3ed24e747e0066829782bd978f92a20291a02f1562beb40e498fe1d3f928828cc2b708ce199

diff --git a/dev-python/python3-openid/python3-openid-3.1.0.ebuild 
b/dev-python/python3-openid/python3-openid-3.1.0.ebuild
new file mode 100644
index 000..934d5daa146
--- /dev/null
+++ b/dev-python/python3-openid/python3-openid-3.1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python 3 port of the python-openid library"
+HOMEPAGE="https://github.com/necaris/python3-openid 
https://pypi.python.org/pypi/python3-openid;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   dev-python/psycopg:2[${PYTHON_USEDEP}]
+   )
+"
+
+python_test() {
+   ${EPYTHON} -m unittest -v openid.test.test_suite
+}