1
0

Compare commits

4 Commits

4 changed files with 23 additions and 10 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Jan 29 19:33:40 UTC 2026 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Update to version 1.0.1:
* Fix memoisation of lazy parser
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ua-parser
#
# Copyright (c) 2023 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,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-ua-parser
Version: 0.18.0
Version: 1.0.1
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
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
@@ -36,13 +38,13 @@ 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}
%autosetup -n ua_parser-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
%check
@@ -51,6 +53,6 @@ https://github.com/tobie/ua-parser)
%files %{python_files}
%{python_sitelib}/ua_parser
%{python_sitelib}/ua_parser-%{version}*-info
%{python_sitelib}/ua_parser-%{version}.dist-info
%changelog

View File

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

3
ua_parser-1.0.1.tar.gz Normal file
View File

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