Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-httpagentparser for 
openSUSE:Factory checked in at 2026-04-12 20:01:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpagentparser (Old)
 and      /work/SRC/openSUSE:Factory/.python-httpagentparser.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-httpagentparser"

Sun Apr 12 20:01:22 2026 rev:3 rq:1345974 version:1.9.9

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-httpagentparser/python-httpagentparser.changes
    2024-01-16 21:39:17.327326489 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-httpagentparser.new.21863/python-httpagentparser.changes
 2026-04-12 20:01:23.995227669 +0200
@@ -1,0 +2,10 @@
+Fri Apr 10 23:42:55 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.9.9:
+  * Remove deprecated setuptools-tox integration
+  * Modernize setup and docs
+  * Optimize `checkWords` and `getVersion` to avoid runtime
+    type checks
+  * Fix typo in method override (getVersion)
+
+-------------------------------------------------------------------

Old:
----
  httpagentparser-1.9.5.tar.gz

New:
----
  httpagentparser-1.9.9.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-httpagentparser.spec ++++++
--- /var/tmp/diff_new_pack.09COdt/_old  2026-04-12 20:01:24.619253082 +0200
+++ /var/tmp/diff_new_pack.09COdt/_new  2026-04-12 20:01:24.619253082 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-httpagentparser
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-httpagentparser
-Version:        1.9.5
+Version:        1.9.9
 Release:        0
 Summary:        Extracts OS Browser etc information from http user agent string
 License:        MIT
@@ -27,7 +27,7 @@
 # Not shipped in sdist, no releases/tags on github
 Source1:        
https://raw.githubusercontent.com/shon/httpagentparser/master/tests.py
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module setuptools >= 61.0}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
@@ -55,7 +55,7 @@
 %pytest tests.py
 
 %files %{python_files}
-%doc README.rst
+%doc README.md
 %license LICENSE.txt
 %{python_sitelib}/httpagentparser
 %{python_sitelib}/httpagentparser-%{version}.dist-info

++++++ httpagentparser-1.9.5.tar.gz -> httpagentparser-1.9.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpagentparser-1.9.5/MANIFEST.in 
new/httpagentparser-1.9.9/MANIFEST.in
--- old/httpagentparser-1.9.5/MANIFEST.in       2022-06-19 09:26:23.000000000 
+0200
+++ new/httpagentparser-1.9.9/MANIFEST.in       1970-01-01 01:00:00.000000000 
+0100
@@ -1,2 +0,0 @@
-include README.rst
-include LICENSE.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpagentparser-1.9.5/PKG-INFO 
new/httpagentparser-1.9.9/PKG-INFO
--- old/httpagentparser-1.9.5/PKG-INFO  2022-10-19 07:41:30.951990400 +0200
+++ new/httpagentparser-1.9.9/PKG-INFO  2026-03-08 11:13:18.941390800 +0100
@@ -1,61 +1,72 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: httpagentparser
-Version: 1.9.5
+Version: 1.9.9
 Summary: Extracts OS Browser etc information from http user agent string
-Home-page: https://github.com/shon/httpagentparser
-Author: Shekhar Tiwatne
-Author-email: [email protected]
-License: http://www.opensource.org/licenses/mit-license.php
-Platform: UNKNOWN
+Author-email: Shekhar Tiwatne <[email protected]>
+License: The MIT License (MIT)
+        
+        Copyright (c) 2013 Shekhar Tiwatne
+        
+        Permission is hereby granted, free of charge, to any person obtaining 
a copy
+        of this software and associated documentation files (the "Software"), 
to deal
+        in the Software without restriction, including without limitation the 
rights
+        to use, copy, modify, merge, publish, distribute, sublicense, and/or 
sell
+        copies of the Software, and to permit persons to whom the Software is
+        furnished to do so, subject to the following conditions:
+        
+        The above copyright notice and this permission notice shall be 
included in
+        all copies or substantial portions of the Software.
+        
+        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
EXPRESS OR
+        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
MERCHANTABILITY,
+        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 
SHALL THE
+        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 
ARISING FROM,
+        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 
IN
+        THE SOFTWARE.
+        
+Project-URL: Homepage, https://github.com/shon/httpagentparser
 Classifier: Programming Language :: Python :: 3
+Requires-Python: >=3.6
+Description-Content-Type: text/markdown
 License-File: LICENSE.txt
+Dynamic: license-file
 
-.. image:: http://pepy.tech/badge/httpagentparser
-        :target: http://pepy.tech/project/httpagentparser
+[![Downloads](http://pepy.tech/badge/httpagentparser)](http://pepy.tech/project/httpagentparser)
 
-.. image:: https://img.shields.io/pypi/v/httpagentparser.svg
-        :target: https://pypi.python.org/pypi/httpagentparser
+[![PYPI](https://img.shields.io/pypi/v/httpagentparser.svg)](https://pypi.python.org/pypi/httpagentparser)
 
-.. image:: https://img.shields.io/travis/shon/httpagentparser.svg
-        :target: https://travis-ci.org/shon/httpagentparser
+[![Travis](https://img.shields.io/travis/shon/httpagentparser.svg)](https://travis-ci.org/shon/httpagentparser)
 
 
-.. image:: https://img.shields.io/travis/shon/httpagentparser.svg
-        :target: https://travis-ci.org/shon/httpagentparser
+# Features
 
-Features
---------
+-   Fast
+-   Detects OS and Browser. Does not aim to be a full featured agent parser
+-   Will not turn into django-httpagentparser ;)
 
-- Fast
-- Detects OS and Browser. Does not aim to be a full featured agent parser
-- Will not turn into django-httpagentparser ;)
+# Usage
 
-Usage
------
+```python
+>>> import httpagentparser
+>>> s = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, 
like Gecko) \
+        Chrome/5.0.307.11 Safari/532.9"
+>>> print(httpagentparser.simple_detect(s))
+('Linux', 'Chrome 5.0.307.11')
+>>> print(httpagentparser.detect(s))
+{'os': {'name': 'Linux'},
+ 'browser': {'version': '5.0.307.11', 'name': 'Chrome'}}
 
-.. code-block:: python
-
-    >>> import httpagentparser
-    >>> s = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, 
like Gecko) \
-            Chrome/5.0.307.11 Safari/532.9"
-    >>> print(httpagentparser.simple_detect(s))
-    ('Linux', 'Chrome 5.0.307.11')
-    >>> print(httpagentparser.detect(s))
-    {'os': {'name': 'Linux'},
-     'browser': {'version': '5.0.307.11', 'name': 'Chrome'}}
-
-    >>> s = "Mozilla/5.0 (Linux; U; Android 2.3.5; en-in; HTC_DesireS_S510e 
Build/GRJ90) \
-            AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile 
Safari/533.1"
-    >>> print(httpagentparser.simple_detect(s))
-    ('Android Linux 2.3.5', 'Safari 4.0')
-    >>> print(httpagentparser.detect(s))
-    {'dist': {'version': '2.3.5', 'name': 'Android'},
-    'os': {'name': 'Linux'},
-    'browser': {'version': '4.0', 'name': 'Safari'}}
-
-History
--------
-
-http://stackoverflow.com/questions/927552/parsing-http-user-agent-string/1151956#1151956
+>>> s = "Mozilla/5.0 (Linux; U; Android 2.3.5; en-in; HTC_DesireS_S510e 
Build/GRJ90) \
+        AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
+>>> print(httpagentparser.simple_detect(s))
+('Android Linux 2.3.5', 'Safari 4.0')
+>>> print(httpagentparser.detect(s))
+{'dist': {'version': '2.3.5', 'name': 'Android'},
+'os': {'name': 'Linux'},
+'browser': {'version': '4.0', 'name': 'Safari'}}
+```
 
+# History
 
+<http://stackoverflow.com/questions/927552/parsing-http-user-agent-string/1151956#1151956>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpagentparser-1.9.5/README.md 
new/httpagentparser-1.9.9/README.md
--- old/httpagentparser-1.9.5/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/httpagentparser-1.9.9/README.md 2026-03-08 10:50:55.000000000 +0100
@@ -0,0 +1,38 @@
+[![Downloads](http://pepy.tech/badge/httpagentparser)](http://pepy.tech/project/httpagentparser)
+
+[![PYPI](https://img.shields.io/pypi/v/httpagentparser.svg)](https://pypi.python.org/pypi/httpagentparser)
+
+[![Travis](https://img.shields.io/travis/shon/httpagentparser.svg)](https://travis-ci.org/shon/httpagentparser)
+
+
+# Features
+
+-   Fast
+-   Detects OS and Browser. Does not aim to be a full featured agent parser
+-   Will not turn into django-httpagentparser ;)
+
+# Usage
+
+```python
+>>> import httpagentparser
+>>> s = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, 
like Gecko) \
+        Chrome/5.0.307.11 Safari/532.9"
+>>> print(httpagentparser.simple_detect(s))
+('Linux', 'Chrome 5.0.307.11')
+>>> print(httpagentparser.detect(s))
+{'os': {'name': 'Linux'},
+ 'browser': {'version': '5.0.307.11', 'name': 'Chrome'}}
+
+>>> s = "Mozilla/5.0 (Linux; U; Android 2.3.5; en-in; HTC_DesireS_S510e 
Build/GRJ90) \
+        AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
+>>> print(httpagentparser.simple_detect(s))
+('Android Linux 2.3.5', 'Safari 4.0')
+>>> print(httpagentparser.detect(s))
+{'dist': {'version': '2.3.5', 'name': 'Android'},
+'os': {'name': 'Linux'},
+'browser': {'version': '4.0', 'name': 'Safari'}}
+```
+
+# History
+
+<http://stackoverflow.com/questions/927552/parsing-http-user-agent-string/1151956#1151956>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpagentparser-1.9.5/README.rst 
new/httpagentparser-1.9.9/README.rst
--- old/httpagentparser-1.9.5/README.rst        2022-06-19 09:26:23.000000000 
+0200
+++ new/httpagentparser-1.9.9/README.rst        1970-01-01 01:00:00.000000000 
+0100
@@ -1,47 +0,0 @@
-.. image:: http://pepy.tech/badge/httpagentparser
-        :target: http://pepy.tech/project/httpagentparser
-
-.. image:: https://img.shields.io/pypi/v/httpagentparser.svg
-        :target: https://pypi.python.org/pypi/httpagentparser
-
-.. image:: https://img.shields.io/travis/shon/httpagentparser.svg
-        :target: https://travis-ci.org/shon/httpagentparser
-
-
-.. image:: https://img.shields.io/travis/shon/httpagentparser.svg
-        :target: https://travis-ci.org/shon/httpagentparser
-
-Features
---------
-
-- Fast
-- Detects OS and Browser. Does not aim to be a full featured agent parser
-- Will not turn into django-httpagentparser ;)
-
-Usage
------
-
-.. code-block:: python
-
-    >>> import httpagentparser
-    >>> s = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, 
like Gecko) \
-            Chrome/5.0.307.11 Safari/532.9"
-    >>> print(httpagentparser.simple_detect(s))
-    ('Linux', 'Chrome 5.0.307.11')
-    >>> print(httpagentparser.detect(s))
-    {'os': {'name': 'Linux'},
-     'browser': {'version': '5.0.307.11', 'name': 'Chrome'}}
-
-    >>> s = "Mozilla/5.0 (Linux; U; Android 2.3.5; en-in; HTC_DesireS_S510e 
Build/GRJ90) \
-            AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile 
Safari/533.1"
-    >>> print(httpagentparser.simple_detect(s))
-    ('Android Linux 2.3.5', 'Safari 4.0')
-    >>> print(httpagentparser.detect(s))
-    {'dist': {'version': '2.3.5', 'name': 'Android'},
-    'os': {'name': 'Linux'},
-    'browser': {'version': '4.0', 'name': 'Safari'}}
-
-History
--------
-
-http://stackoverflow.com/questions/927552/parsing-http-user-agent-string/1151956#1151956
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpagentparser-1.9.5/httpagentparser/__init__.py 
new/httpagentparser-1.9.9/httpagentparser/__init__.py
--- old/httpagentparser-1.9.5/httpagentparser/__init__.py       2022-10-19 
07:39:58.000000000 +0200
+++ new/httpagentparser-1.9.9/httpagentparser/__init__.py       2026-03-08 
10:50:55.000000000 +0100
@@ -8,7 +8,7 @@
     * assist python web apps to detect clients.
 """
 
-__version__ = '1.9.5'
+__version__ = '1.9.9'
 
 
 class DetectorsHub(dict):
@@ -56,6 +56,16 @@
             self.name = self.__class__.__name__
         self.can_register = (self.__class__.__dict__.get('can_register', True))
 
+        if isinstance(self.look_for, (tuple, list)):
+            self._look_for = self.look_for
+        else:
+            self._look_for = (self.look_for,)
+
+        if isinstance(self.version_markers[0], (list, tuple)):
+            self._version_markers = self.version_markers
+        else:
+            self._version_markers = [self.version_markers]
+
     def detect(self, agent, result):
         # -> True/None
         word = self.checkWords(agent)
@@ -74,21 +84,16 @@
         for w in self.skip_if_found:
             if w in agent:
                 return False
-        if isinstance(self.look_for, (tuple, list)):
-            for word in self.look_for:
-                if word in agent:
-                    return word
-        elif self.look_for in agent:
-            return self.look_for
+        for word in self._look_for:
+            if word in agent:
+                return word
 
     def getVersion(self, agent, word):
         """
         => version string /None
         """
-        version_markers = self.version_markers if \
-            isinstance(self.version_markers[0], (list, tuple)) else 
[self.version_markers]
         version_part = agent.split(word, 1)[-1]
-        for start, end in version_markers:
+        for start, end in self._version_markers:
             if version_part.startswith(start) and end in version_part:
                 version = version_part[1:]
                 if end:  # end could be empty string
@@ -248,7 +253,7 @@
     look_for = "Feedfetcher-Google"
     bot = True
 
-    def get_version(self, agent):
+    def getVersion(self, agent, word):
         pass
 
 class RunscopeRadar(Browser):
@@ -259,14 +264,14 @@
     look_for = "AppEngine-Google"
     bot = True
 
-    def get_version(self, agent):
+    def getVersion(self, agent, word):
         pass
 
 class GoogleApps(Browser):
     look_for = "GoogleApps script"
     bot = True
 
-    def get_version(self, agent):
+    def getVersion(self, agent, word):
         pass
 
 class TwitterBot(Browser):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/httpagentparser-1.9.5/httpagentparser.egg-info/PKG-INFO 
new/httpagentparser-1.9.9/httpagentparser.egg-info/PKG-INFO
--- old/httpagentparser-1.9.5/httpagentparser.egg-info/PKG-INFO 2022-10-19 
07:41:30.000000000 +0200
+++ new/httpagentparser-1.9.9/httpagentparser.egg-info/PKG-INFO 2026-03-08 
11:13:18.000000000 +0100
@@ -1,61 +1,72 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
 Name: httpagentparser
-Version: 1.9.5
+Version: 1.9.9
 Summary: Extracts OS Browser etc information from http user agent string
-Home-page: https://github.com/shon/httpagentparser
-Author: Shekhar Tiwatne
-Author-email: [email protected]
-License: http://www.opensource.org/licenses/mit-license.php
-Platform: UNKNOWN
+Author-email: Shekhar Tiwatne <[email protected]>
+License: The MIT License (MIT)
+        
+        Copyright (c) 2013 Shekhar Tiwatne
+        
+        Permission is hereby granted, free of charge, to any person obtaining 
a copy
+        of this software and associated documentation files (the "Software"), 
to deal
+        in the Software without restriction, including without limitation the 
rights
+        to use, copy, modify, merge, publish, distribute, sublicense, and/or 
sell
+        copies of the Software, and to permit persons to whom the Software is
+        furnished to do so, subject to the following conditions:
+        
+        The above copyright notice and this permission notice shall be 
included in
+        all copies or substantial portions of the Software.
+        
+        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
EXPRESS OR
+        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
MERCHANTABILITY,
+        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 
SHALL THE
+        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 
ARISING FROM,
+        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 
IN
+        THE SOFTWARE.
+        
+Project-URL: Homepage, https://github.com/shon/httpagentparser
 Classifier: Programming Language :: Python :: 3
+Requires-Python: >=3.6
+Description-Content-Type: text/markdown
 License-File: LICENSE.txt
+Dynamic: license-file
 
-.. image:: http://pepy.tech/badge/httpagentparser
-        :target: http://pepy.tech/project/httpagentparser
+[![Downloads](http://pepy.tech/badge/httpagentparser)](http://pepy.tech/project/httpagentparser)
 
-.. image:: https://img.shields.io/pypi/v/httpagentparser.svg
-        :target: https://pypi.python.org/pypi/httpagentparser
+[![PYPI](https://img.shields.io/pypi/v/httpagentparser.svg)](https://pypi.python.org/pypi/httpagentparser)
 
-.. image:: https://img.shields.io/travis/shon/httpagentparser.svg
-        :target: https://travis-ci.org/shon/httpagentparser
+[![Travis](https://img.shields.io/travis/shon/httpagentparser.svg)](https://travis-ci.org/shon/httpagentparser)
 
 
-.. image:: https://img.shields.io/travis/shon/httpagentparser.svg
-        :target: https://travis-ci.org/shon/httpagentparser
+# Features
 
-Features
---------
+-   Fast
+-   Detects OS and Browser. Does not aim to be a full featured agent parser
+-   Will not turn into django-httpagentparser ;)
 
-- Fast
-- Detects OS and Browser. Does not aim to be a full featured agent parser
-- Will not turn into django-httpagentparser ;)
+# Usage
 
-Usage
------
+```python
+>>> import httpagentparser
+>>> s = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, 
like Gecko) \
+        Chrome/5.0.307.11 Safari/532.9"
+>>> print(httpagentparser.simple_detect(s))
+('Linux', 'Chrome 5.0.307.11')
+>>> print(httpagentparser.detect(s))
+{'os': {'name': 'Linux'},
+ 'browser': {'version': '5.0.307.11', 'name': 'Chrome'}}
 
-.. code-block:: python
-
-    >>> import httpagentparser
-    >>> s = "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, 
like Gecko) \
-            Chrome/5.0.307.11 Safari/532.9"
-    >>> print(httpagentparser.simple_detect(s))
-    ('Linux', 'Chrome 5.0.307.11')
-    >>> print(httpagentparser.detect(s))
-    {'os': {'name': 'Linux'},
-     'browser': {'version': '5.0.307.11', 'name': 'Chrome'}}
-
-    >>> s = "Mozilla/5.0 (Linux; U; Android 2.3.5; en-in; HTC_DesireS_S510e 
Build/GRJ90) \
-            AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile 
Safari/533.1"
-    >>> print(httpagentparser.simple_detect(s))
-    ('Android Linux 2.3.5', 'Safari 4.0')
-    >>> print(httpagentparser.detect(s))
-    {'dist': {'version': '2.3.5', 'name': 'Android'},
-    'os': {'name': 'Linux'},
-    'browser': {'version': '4.0', 'name': 'Safari'}}
-
-History
--------
-
-http://stackoverflow.com/questions/927552/parsing-http-user-agent-string/1151956#1151956
+>>> s = "Mozilla/5.0 (Linux; U; Android 2.3.5; en-in; HTC_DesireS_S510e 
Build/GRJ90) \
+        AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
+>>> print(httpagentparser.simple_detect(s))
+('Android Linux 2.3.5', 'Safari 4.0')
+>>> print(httpagentparser.detect(s))
+{'dist': {'version': '2.3.5', 'name': 'Android'},
+'os': {'name': 'Linux'},
+'browser': {'version': '4.0', 'name': 'Safari'}}
+```
 
+# History
 
+<http://stackoverflow.com/questions/927552/parsing-http-user-agent-string/1151956#1151956>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/httpagentparser-1.9.5/httpagentparser.egg-info/SOURCES.txt 
new/httpagentparser-1.9.9/httpagentparser.egg-info/SOURCES.txt
--- old/httpagentparser-1.9.5/httpagentparser.egg-info/SOURCES.txt      
2022-10-19 07:41:30.000000000 +0200
+++ new/httpagentparser-1.9.9/httpagentparser.egg-info/SOURCES.txt      
2026-03-08 11:13:18.000000000 +0100
@@ -1,7 +1,6 @@
 LICENSE.txt
-MANIFEST.in
-README.rst
-setup.py
+README.md
+pyproject.toml
 httpagentparser/__init__.py
 httpagentparser/more.py
 httpagentparser.egg-info/PKG-INFO
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpagentparser-1.9.5/pyproject.toml 
new/httpagentparser-1.9.9/pyproject.toml
--- old/httpagentparser-1.9.5/pyproject.toml    1970-01-01 01:00:00.000000000 
+0100
+++ new/httpagentparser-1.9.9/pyproject.toml    2026-03-08 10:50:55.000000000 
+0100
@@ -0,0 +1,27 @@
+[build-system]
+requires = ["setuptools>=61.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "httpagentparser"
+dynamic = ["version"]
+description = "Extracts OS Browser etc information from http user agent string"
+readme = "README.md"
+requires-python = ">=3.6"
+license = {file = "LICENSE.txt"}
+authors = [
+  {name = "Shekhar Tiwatne", email = "[email protected]"}
+]
+classifiers = [
+    "Programming Language :: Python :: 3",
+]
+dependencies = []
+
+[project.urls]
+Homepage = "https://github.com/shon/httpagentparser";
+
+[tool.setuptools]
+packages = ["httpagentparser"]
+
+[tool.setuptools.dynamic]
+version = {attr = "httpagentparser.__version__"}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/httpagentparser-1.9.5/setup.py 
new/httpagentparser-1.9.9/setup.py
--- old/httpagentparser-1.9.5/setup.py  2022-06-19 09:26:23.000000000 +0200
+++ new/httpagentparser-1.9.9/setup.py  1970-01-01 01:00:00.000000000 +0100
@@ -1,63 +0,0 @@
-from setuptools import setup, find_packages
-from setuptools.command.test import test as TestCommand
-import sys
-
-
-class Tox(TestCommand):
-    """ Running tox from setup.py.
-    See:
-    
https://testrun.org/tox/latest/example/basic.html#integration-with-setuptools-distribute-test-commands
-    """
-    user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
-
-    def __init__(self, dist, **kw):
-        TestCommand.__init__(self, dist, **kw)
-        self.tox_args = None
-        self.test_args = []
-        self.test_suite = True
-
-    def initialize_options(self):
-        TestCommand.initialize_options(self)
-        self.tox_args = None
-
-    def finalize_options(self):
-        TestCommand.finalize_options(self)
-        self.test_args = []
-        self.test_suite = True
-
-    def run_tests(self):
-        # import here, cause outside the eggs aren't loaded
-        import tox
-        import shlex
-
-        args = self.tox_args
-        if args:
-            args = shlex.split(self.tox_args)
-        errno = tox.cmdline(args=args)
-        sys.exit(errno)
-
-
-for line in open('httpagentparser/__init__.py'):
-    if line.startswith('__version__'):
-        version = line.split('=')[-1].strip()[1:-1]
-        break
-
-setup(
-    name='httpagentparser',
-    version=version,
-    url="https://github.com/shon/httpagentparser";,
-    classifiers=[
-        'Programming Language :: Python :: 3'
-        ],
-    include_package_data=True,
-    description='Extracts OS Browser etc information from http user agent 
string',
-    long_description=open('README.rst').read(),
-    packages=find_packages(),
-    author='Shekhar Tiwatne',
-    author_email='[email protected]',
-    license="http://www.opensource.org/licenses/mit-license.php";,
-    test_suite="tests",
-    tests_require=['tox'],
-    cmdclass={'test': Tox},
-    )
-

Reply via email to