commit ec25b638668339284d64abdece97076bcab59489fc42472e1be3c1dc731bcfe6 Author: Dirk Mueller Date: Mon Nov 9 10:57:44 2015 +0000 Accepting request 342801 from home:awissu:branches:science OBS-URL: https://build.opensuse.org/request/show/342801 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webcolors?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-webcolors.changes b/python-webcolors.changes new file mode 100644 index 0000000..a418189 --- /dev/null +++ b/python-webcolors.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Nov 5 14:55:32 UTC 2015 - avvissu@yandex.ru + +- Initial package + diff --git a/python-webcolors.spec b/python-webcolors.spec new file mode 100644 index 0000000..95b1d82 --- /dev/null +++ b/python-webcolors.spec @@ -0,0 +1,58 @@ +# +# spec file for package python-webcolors +# +# Copyright (c) 2015 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/ +# + + +%define srcname webcolors +Name: python-%{srcname} +Version: 1.4 +Release: 0 +Summary: A library for working with HTML and CSS color names +License: BSD-3-Clause +Group: Development/Languages/Python +Url: http://www.bitbucket.org/ubernostrum/webcolors/overview/ +Source0: https://bitbucket.org/ubernostrum/webcolors/downloads/%{srcname}-%{version}.tar.gz +BuildRequires: python-base +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +Support is included for the following formats (RGB colorspace only; +conversion to/from HSL can be handled by the colorsys module in the Python +standard library): + * Specification-defined color names + * Six-digit hexadecimal + * Three-digit hexadecimal + * Integer rgb() triplet + * Percentage rgb() triplet + +%prep +%setup -q -n %{srcname}-%{version} + +%build +python setup.py build + +%install +python setup.py install \ + --prefix=%{_prefix} \ + --root=%{buildroot} + +%files +%defattr(-,root,root) +%doc LICENSE PKG-INFO README +%{python_sitelib}/%{srcname}* + +%changelog diff --git a/webcolors-1.4.tar.gz b/webcolors-1.4.tar.gz new file mode 100644 index 0000000..01ffe6c --- /dev/null +++ b/webcolors-1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:304fc95dab2848c7bf64f378356766e692c2f8b4a8b15fa3509544e6412936e8 +size 7843