From 1ce2b7c4f826d1027002db20ab6115b17be44f39b9060a59125ab86855f41ebd Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 8 Sep 2017 18:40:17 +0000 Subject: [PATCH] Accepting request 522413 from home:TheBlackCat:branches:devel:languages:python singlespec version of python3-minidb OBS-URL: https://build.opensuse.org/request/show/522413 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-minidb?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + minidb-2.0.2.tar.gz | 3 ++ python-minidb.changes | 4 +++ python-minidb.spec | 66 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 97 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 minidb-2.0.2.tar.gz create mode 100644 python-minidb.changes create mode 100644 python-minidb.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/minidb-2.0.2.tar.gz b/minidb-2.0.2.tar.gz new file mode 100644 index 0000000..cc49044 --- /dev/null +++ b/minidb-2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43d59231556e9ed43d88c8c1ffcca30886b4db6436625599eeeb22bb9f74ab2b +size 13928 diff --git a/python-minidb.changes b/python-minidb.changes new file mode 100644 index 0000000..900285d --- /dev/null +++ b/python-minidb.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Sep 7 22:41:50 UTC 2017 - toddrme2178@gmail.com + +- initial version diff --git a/python-minidb.spec b/python-minidb.spec new file mode 100644 index 0000000..5683fa7 --- /dev/null +++ b/python-minidb.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-minidb +# +# 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-%{**}} +%define skip_python2 1 +%bcond_without test +Name: python-minidb +Version: 2.0.2 +Release: 0 +License: ISC +Summary: SQLite3-based store for Python objects +Url: http://thp.io/2010/minidb/ +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/m/minidb/minidb-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if %{with test} +BuildRequires: %{python_module nose} +BuildRequires: python3-testsuite +%endif +BuildRequires: fdupes +BuildArch: noarch + +%python_subpackages + +%description +Minidb 2 allows you store Python objects in a SQLite 3 database. + +%prep +%setup -q -n minidb-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_expand nosetests-%{$python_bin_suffix} +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc README +%{python_sitelib}/minidb.py* +%{python_sitelib}/minidb-%{version}-py*.egg-info +%pycache_only %{python_sitelib}/__pycache__/minidb*.py* + +%changelog