public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python3-openid] epel10: Update to version 3.0.10
@ 2026-10-30 21:38
0 siblings, 0 replies; only message in thread
From: @ 2026-10-30 21:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python3-openid
Branch : epel10
Commit : dd14367797b617e887956f8e01f8642b4d0c413c
Author : Jakub Dorňák <jakub.dornak@misli.cz>
Date : 2016-12-22T17:37:09+01:00
Stats : +9/-217 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/python3-openid/c/dd14367797b617e887956f8e01f8642b4d0c413c?branch=epel10
Log:
Update to version 3.0.10
---
diff --git a/.gitignore b/.gitignore
index 54e255d..6b44282 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/python3-openid-3.0.5.tar.gz
/python3-openid-3.0.6.tar.gz
/python3-openid-3.0.9.tar.gz
+/python3-openid-3.0.10.tar.gz
diff --git a/python3-openid-HTMLParseError.patch b/python3-openid-HTMLParseError.patch
deleted file mode 100644
index bd18341..0000000
--- a/python3-openid-HTMLParseError.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-commit beff8decafa9cab32d6b621bd8a6827f611001da
-Author: Rami Chowdhury <rami.chowdhury@gmail.com>
-Date: Sun Nov 8 16:23:29 2015 -0500
-
- Remove unused strict argument. Closes #16
----
- openid/yadis/parsehtml.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/openid/yadis/parsehtml.py b/openid/yadis/parsehtml.py
-index 2ab232d..dc91eb9 100644
---- a/openid/yadis/parsehtml.py
-+++ b/openid/yadis/parsehtml.py
-@@ -96,7 +96,7 @@ class YadisHTMLParser(HTMLParser):
- TERMINATED = 4
-
- def __init__(self):
-- super(YadisHTMLParser, self).__init__(strict=False)
-+ super(YadisHTMLParser, self).__init__()
- self.phase = self.TOP
-
- def _terminate(self):
-
-commit 2d85c821db456d5e5845f2ca2961bd3f180d0b9d
-Author: blazaid <alberto.da@gmail.com>
-Date: Tue Sep 15 20:39:52 2015 +0200
-
- #14 Import error due release 3.5 of Python
-
- HTMLParserError is no longer thrown by HTMLParser and thus was removed. The dependency and except blocks were removed.
----
- openid/test/test_parsehtml.py | 3 ---
- openid/yadis/parsehtml.py | 6 +-----
- 2 files changed, 1 insertion(+), 8 deletions(-)
-
-diff --git a/openid/test/test_parsehtml.py b/openid/test/test_parsehtml.py
-index b3c6475..387ddc5 100644
---- a/openid/test/test_parsehtml.py
-+++ b/openid/test/test_parsehtml.py
-@@ -1,4 +1,3 @@
--from html.parser import HTMLParseError
- import os.path
- import unittest
- import sys
-@@ -33,8 +32,6 @@ class _TestCase(unittest.TestCase):
-
- msg = "%r != %r for case %s" % (found, self.expected, self.case)
- self.assertEqual(found, self.expected, msg)
-- except HTMLParseError:
-- self.assertTrue(self.expected == 'None', (self.case, self.expected))
- else:
- self.assertTrue(self.expected == 'EOF', (self.case, self.expected))
-
-diff --git a/openid/yadis/parsehtml.py b/openid/yadis/parsehtml.py
-index 42cd91e..2ab232d 100644
---- a/openid/yadis/parsehtml.py
-+++ b/openid/yadis/parsehtml.py
-@@ -1,6 +1,6 @@
- __all__ = ['findHTMLMeta', 'MetaNotFound']
-
--from html.parser import HTMLParser, HTMLParseError
-+from html.parser import HTMLParser
- import html.entities
- import re
-
-@@ -187,10 +187,6 @@ def findHTMLMeta(stream):
- chunks.append(chunk)
- try:
- parser.feed(chunk)
-- except HTMLParseError as why:
-- # HTML parse error, so bail
-- chunks.append(stream.read())
-- break
- except ParseDone as why:
- uri = why.args[0]
- if uri is None:
diff --git a/python3-openid-shebang.patch b/python3-openid-shebang.patch
deleted file mode 100644
index f8eaa9f..0000000
--- a/python3-openid-shebang.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff -rup python3-openid-3.0.6.orig/admin/runtests python3-openid-3.0.6/admin/runtests
---- python3-openid-3.0.6.orig/admin/runtests 2015-08-02 15:01:36.000000000 +0200
-+++ python3-openid-3.0.6/admin/runtests 2015-11-13 19:21:21.029852424 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- import os.path, sys, warnings
-
- test_modules = [
-diff -rup python3-openid-3.0.6.orig/contrib/associate python3-openid-3.0.6/contrib/associate
---- python3-openid-3.0.6.orig/contrib/associate 2015-01-11 20:29:15.000000000 +0100
-+++ python3-openid-3.0.6/contrib/associate 2015-11-13 19:21:21.027852391 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- """Make an OpenID Assocition request against an endpoint
- and print the results."""
-
-diff -rup python3-openid-3.0.6.orig/contrib/openid-parse python3-openid-3.0.6/contrib/openid-parse
---- python3-openid-3.0.6.orig/contrib/openid-parse 2015-01-11 20:29:15.000000000 +0100
-+++ python3-openid-3.0.6/contrib/openid-parse 2015-11-13 19:21:21.028852407 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- """Grab URLs from the clipboard, interpret the queries as OpenID, and print.
-
- In addition to URLs, I also scan for queries as they appear in httpd log files,
-diff -rup python3-openid-3.0.6.orig/contrib/upgrade-store-1.1-to-2.0 python3-openid-3.0.6/contrib/upgrade-store-1.1-to-2.0
---- python3-openid-3.0.6.orig/contrib/upgrade-store-1.1-to-2.0 2015-08-02 15:57:09.000000000 +0200
-+++ python3-openid-3.0.6/contrib/upgrade-store-1.1-to-2.0 2015-11-13 19:21:21.028852407 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- # SQL Store Upgrade Script
- # for version 1.x to 2.0 of the OpenID library.
- # Doesn't depend on the openid library, so you can run this python
-diff -rup python3-openid-3.0.6.orig/examples/consumer.py python3-openid-3.0.6/examples/consumer.py
---- python3-openid-3.0.6.orig/examples/consumer.py 2015-01-22 05:15:35.000000000 +0100
-+++ python3-openid-3.0.6/examples/consumer.py 2015-11-13 19:21:21.023852325 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- """
- Simple example for an OpenID consumer.
-
-diff -rup python3-openid-3.0.6.orig/examples/discover python3-openid-3.0.6/examples/discover
---- python3-openid-3.0.6.orig/examples/discover 2015-01-11 20:29:15.000000000 +0100
-+++ python3-openid-3.0.6/examples/discover 2015-11-13 19:21:21.024852341 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- from openid.consumer.discover import discover, DiscoveryFailure
- from openid.fetchers import HTTPFetchingError
-
-diff -rup python3-openid-3.0.6.orig/examples/djopenid/manage.py python3-openid-3.0.6/examples/djopenid/manage.py
---- python3-openid-3.0.6.orig/examples/djopenid/manage.py 2015-01-11 20:29:15.000000000 +0100
-+++ python3-openid-3.0.6/examples/djopenid/manage.py 2015-11-13 19:21:21.024852341 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- from django.core.management import execute_manager
- try:
- import settings # Assumed to be in the same directory.
-diff -rup python3-openid-3.0.6.orig/examples/server.py python3-openid-3.0.6/examples/server.py
---- python3-openid-3.0.6.orig/examples/server.py 2015-01-22 05:15:35.000000000 +0100
-+++ python3-openid-3.0.6/examples/server.py 2015-11-13 19:21:21.027852391 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
-
- __copyright__ = 'Copyright 2005-2008, Janrain, Inc.'
-
-diff -rup python3-openid-3.0.6.orig/openid/test/test_yadis_discover.py python3-openid-3.0.6/openid/test/test_yadis_discover.py
---- python3-openid-3.0.6.orig/openid/test/test_yadis_discover.py 2015-01-11 20:29:15.000000000 +0100
-+++ python3-openid-3.0.6/openid/test/test_yadis_discover.py 2015-11-13 19:21:21.021852292 +0100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
-
- """Tests for yadis.discover.
-
diff --git a/python3-openid-test-django.patch b/python3-openid-test-django.patch
deleted file mode 100644
index 182d9dd..0000000
--- a/python3-openid-test-django.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-commit b45cda31ea71c0e22e09cf7e1d42ee51f309d1c5
-Author: Jakub Dorňák <jdornak@redhat.com>
-Date: Thu Nov 19 10:58:21 2015 +0100
-
- django.test.simple has been removed
-
- The tests for django didn't work for Django >= 1.6.
- Now, it doesn't work for Django < 1.7.
- I haven't managed to make the tests run with Django 1.6.x.
- I could keep compatibility with Django 1.5.x,
- but it does not seem to be reasonable.
----
- admin/runtests | 20 ++++++++++++++------
- 1 file changed, 14 insertions(+), 6 deletions(-)
-
-diff --git a/admin/runtests b/admin/runtests
-index 1343ea1..9c3c506 100755
---- a/admin/runtests
-+++ b/admin/runtests
-@@ -171,19 +171,27 @@ def django_tests():
-
- _import_djopenid()
-
-- try:
-- import django.test.simple
-- except ImportError as e:
-- raise unittest.SkipTest("django.test.simple not found; "
-+ import django
-+
-+ if django.VERSION < (1, 7):
-+ raise unittest.SkipTest("django >= 1.7 not found; "
- "django examples not tested.")
-+
-+ from django.conf import settings
-+ from django.test.utils import get_runner
-+
-+ django.setup()
-+
-+ test_runner = get_runner(settings)()
-+
- import djopenid.server.models, djopenid.consumer.models
- print ("Testing Django examples:")
-
- # These tests do get put in to a pyunit test suite, so we could run them
- # with the other pyunit tests, but django also establishes a test database
- # for them, so we let it do that thing instead.
-- return django.test.simple.run_tests([djopenid.server.models,
-- djopenid.consumer.models])
-+ return test_runner.run_tests(["djopenid.server.models",
-+ "djopenid.consumer.models"])
-
- try:
- bool
diff --git a/python3-openid.spec b/python3-openid.spec
index 0022c21..7ac4de2 100644
--- a/python3-openid.spec
+++ b/python3-openid.spec
@@ -1,12 +1,11 @@
Name: python3-openid
-Version: 3.0.9
-Release: 5%{?dist}
+Version: 3.0.10
+Release: 1%{?dist}
Summary: Python 3 port of the python-openid library
Group: Development/Libraries
License: ASL 2.0
URL: https://github.com/necaris/python3-openid
-Source0: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
-Patch0: python3-openid-test-django.patch
+Source0: https://pypi.python.org/packages/f3/fb/4bd7119a01f663d39116dcad1ff65f4044de430bd4688135413152f91809/python3-openid-3.0.10.tar.gz
BuildArch: noarch
@@ -27,10 +26,9 @@ including cleanups and updates to the code in general.
%prep
%setup -q
-%patch0 -p1
# replace env python shebangs with env python3
-egrep -rl '^#!/usr/bin/env python$' | xargs \
+grep -Erl '^#!/usr/bin/env python$' | xargs \
sed -i -r '1 s|^#!/usr/bin/env python$|#!/usr/bin/env python3|g'
@@ -83,6 +81,9 @@ LC_ALL=en_US.UTF-8 %{__python3} admin/runtests
%changelog
+* Thu Dec 22 2016 Jakub Dorňák <jakub.dornak@misli.cz> - 3.0.10-1
+- Update to version 3.0.10
+
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.0.9-5
- Rebuild for Python 3.6
diff --git a/sources b/sources
index d630d2f..589d780 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b7e8fdd6dbc97e98dc9e746f2fa5b5a9 python3-openid-3.0.9.tar.gz
+SHA512 (python3-openid-3.0.10.tar.gz) = 679aa0fba40794e85a806f18ca904e9e4336c8fe1c1c558d4f0b66c14cf1959436c7d9225b6bfbaefd1ddb89d645901308fd30d57841ce7cd3c90c24d41c79b3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-30 21:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 21:38 [rpms/python3-openid] epel10: Update to version 3.0.10
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox