commit c3ba8e1f399ef95d1dc3c9911a3f8d98c12ce37a96edc01b075272703f82b24b Author: Todd R Date: Thu May 3 07:20:01 2018 +0000 Accepting request 603548 from devel:languages:python:misc Addons for the python standard library OBS-URL: https://build.opensuse.org/request/show/603548 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-boltons?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/boltons-18.0.0.tar.gz b/boltons-18.0.0.tar.gz new file mode 100644 index 0000000..5bb4c5c --- /dev/null +++ b/boltons-18.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a11e113cf3f0915a21ee2c8c69c315b02f46546ad61d3640e1037b7603f6e16f +size 138894 diff --git a/python-boltons.changes b/python-boltons.changes new file mode 100644 index 0000000..63462c1 --- /dev/null +++ b/python-boltons.changes @@ -0,0 +1,26 @@ +------------------------------------------------------------------- +Thu May 3 07:16:06 UTC 2018 - toddrme2178@gmail.com + +- Update to 18.0.0 + * Add and structure to tableutils.Table HTML output, which helps with styling and other functionality (e.g., jQuery datatables). + * Add dictutils.subdict() to get a filtered version of a dictionary based on a subset of keys. + * Add beta version of cacheutils.MinIDMap. + +------------------------------------------------------------------- +Sat Apr 15 23:00:34 UTC 2017 - toddrme2178@gmail.com + +- Update to 17.1.0 + * No upstream changelog +- Implement single-spec version + +------------------------------------------------------------------- +Mon Mar 21 20:02:23 UTC 2016 - toddrme2178@gmail.com + +- Update t0 16.1.1 + * No upstream changelog + +------------------------------------------------------------------- +Wed May 20 14:10:33 UTC 2015 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-boltons.spec b/python-boltons.spec new file mode 100644 index 0000000..ab44747 --- /dev/null +++ b/python-boltons.spec @@ -0,0 +1,61 @@ +# +# spec file for package python-boltons +# +# Copyright (c) 2018 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-boltons +Version: 18.0.0 +Release: 0 +Summary: Boltons should be builtins +License: BSD-3-Clause +Group: Development/Languages/Python +Url: https://github.com/mahmoud/boltons +Source: https://files.pythonhosted.org/packages/source/b/boltons/boltons-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description +Functionality that should be in the standard library. Like +builtins, but Boltons. + +Otherwise known as, "everyone's util.py," but cleaned up and +tested. + +Contains over 160 BSD-licensed utility types and functions that can be +used as a package or independently. `Extensively documented on Read +the Docs: http://boltons.readthedocs.org. + +%prep +%setup -q -n boltons-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%defattr(-,root,root,-) +%{python_sitelib}/* + +%changelog