commit 85fb695fd0cdebdbc985e9cb39dce329d54ecef66e1d3c86d3e1c73c5a9cff30 Author: Tomáš Chvátal Date: Wed Aug 1 13:45:36 2018 +0000 osc copypac from project:home:adrianSuSE:home-assistant package:python-user-agents revision:3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-user-agents?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-user-agents.changes b/python-user-agents.changes new file mode 100644 index 0000000..010d51a --- /dev/null +++ b/python-user-agents.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Jan 10 15:32:35 UTC 2018 - adrian@suse.de + +- initial package of version 1.1.0 diff --git a/python-user-agents.spec b/python-user-agents.spec new file mode 100644 index 0000000..9e06978 --- /dev/null +++ b/python-user-agents.spec @@ -0,0 +1,53 @@ +# +# spec file for package python-user-agents +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-user-agents +Version: 1.1.0 +Release: 0 +License: MIT +Summary: A library to identify devices (phones, tablets) and their capabilities by parsing (browser/HTTP) user agent strings +Group: Development/Languages/Python +Url: https://github.com/selwin/python-user-agents +Source: https://github.com/selwin/python-user-agents/archive/v%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: %{python_module ua-parser} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description + + +%prep +%setup -q + +%build +%python_build + +%install +%python_install +%python_expand %fdupes -s %{buildroot}/%{$python_sitelib} + +%files %{python_files} +%defattr(-,root,root,-) +%{python_sitelib}/* + +%changelog diff --git a/v1.1.0.tar.gz b/v1.1.0.tar.gz new file mode 100644 index 0000000..f9f8b00 --- /dev/null +++ b/v1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e8429aea38c7f5ee62f7bcfe1b1dd4974f22f35a5d6a2ac568a3f75026f9f2b +size 10064