17
0
2025-06-12 05:09:28 +00:00
committed by Git OBS Bridge
commit 0406d29fdc
5 changed files with 137 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

52
python-ua-parser.changes Normal file
View File

@@ -0,0 +1,52 @@
-------------------------------------------------------------------
Thu Jun 12 05:01:34 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Fri Dec 8 12:28:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.18.0:
* handle firefox version without patch segment
* remove unnecessary line space
* Add Oculus Browser
* Add PetalBot
-------------------------------------------------------------------
Tue Oct 11 16:39:49 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.16.1
* Fixes concurrency issues with the cache invalidation mechanism.
-------------------------------------------------------------------
Fri Mar 6 05:46:48 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to version 0.10.0:
+ no changelog available
-------------------------------------------------------------------
Mon Oct 14 14:48:24 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Wed Aug 1 13:54:24 UTC 2018 - tchvatal@suse.com
- Remove pointless devel dependency
-------------------------------------------------------------------
Wed Jul 18 18:13:48 UTC 2018 - buschmann23@opensuse.org
- update to version 0.8.0
+ no changelog available
-------------------------------------------------------------------
Tue Feb 20 15:35:05 UTC 2018 - buschmann23@opensuse.org
- update to version 0.7.3
+ no changelog available
-------------------------------------------------------------------
Sun Jan 14 15:28:45 UTC 2018 - adrian@suse.de
- initial package in version 0.5.1

58
python-ua-parser.spec Normal file
View File

@@ -0,0 +1,58 @@
#
# spec file for package python-ua-parser
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-ua-parser
Version: 0.18.0
Release: 0
Summary: Python Implementation of UA Parser
License: Apache-2.0
URL: https://github.com/ua-parser/uap-python
Source: https://files.pythonhosted.org/packages/source/u/ua-parser/ua-parser-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
A python implementation of the UA Parser (https://github.com/ua-parser, formerly
https://github.com/tobie/ua-parser)
%prep
%setup -q -n ua-parser-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
%check
# Tests lack fixtures in the released tarball
#%%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" $python ua_parser/user_agent_parser_test.py
%files %{python_files}
%{python_sitelib}/ua_parser
%{python_sitelib}/ua_parser-%{version}.dist-info
%changelog

3
ua-parser-0.18.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db51f1b59bfaa82ed9e2a1d99a54d3e4153dddf99ac1435d51828165422e624e
size 40659