From d664fff280f5302c0ff9a83d00a9724e533a6692f3be22357953cabcb5b88f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 24 Jan 2019 08:21:17 +0000 Subject: [PATCH] osc copypac from project:devel:languages:python:misc package:python-chest revision:1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-chest?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++ .gitignore | 1 + chest-0.2.3.tar.gz | 3 +++ python-chest.changes | 23 +++++++++++++++++ python-chest.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 109 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 chest-0.2.3.tar.gz create mode 100644 python-chest.changes create mode 100644 python-chest.spec 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/chest-0.2.3.tar.gz b/chest-0.2.3.tar.gz new file mode 100644 index 0000000..3855031 --- /dev/null +++ b/chest-0.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2d1030d4720fd4c0cb258c3383d4bab764cfe441bab1366a0d186b0baf4f4d6 +size 9614 diff --git a/python-chest.changes b/python-chest.changes new file mode 100644 index 0000000..7ace62b --- /dev/null +++ b/python-chest.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Wed May 10 16:27:02 UTC 2017 - toddrme2178@gmail.com + +- Implement single-spec version +- Fix source URL. +- Update to version 0.2.3 + * Fix open file bloat. + +------------------------------------------------------------------- +Mon Jul 13 13:12:38 UTC 2015 - toddrme2178@gmail.com + +- Fix building on SLES 11 + +------------------------------------------------------------------- +Tue May 19 16:08:25 UTC 2015 - toddrme2178@gmail.com + +- Initial python 2.x version. + +------------------------------------------------------------------- +Wed Apr 22 04:52:58 UTC 2015 - arun@gmx.de + +- initial version + diff --git a/python-chest.spec b/python-chest.spec new file mode 100644 index 0000000..f51b57b --- /dev/null +++ b/python-chest.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-chest +# +# Copyright (c) 2017 SUSE LINUX Products 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-chest +Version: 0.2.3 +Release: 0 +Summary: Simple spill-to-disk dictionary +License: BSD-3-Clause +Group: Development/Languages/Python +Url: https://github.com/ContinuumIO/chest +Source: https://files.pythonhosted.org/packages/source/c/chest/chest-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module HeapDict} +Requires: python-HeapDict +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description +A dictionary that spills to disk. +Chest acts likes a dictionary but it can write its contents to disk. This is useful in the following two occasions: +1. Chest can hold datasets that are larger than memory +2. Chest persists and so can be saved and loaded for later use + +%prep +%setup -q -n chest-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst LICENSE.txt +%{python_sitelib}/* + +%changelog