From 0eeabacd864c7d81c5108f1ba5876c722617baf60eaa5328da1bd89993b0be7f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 3 Oct 2017 14:11:02 +0000 Subject: [PATCH] Accepting request 530863 from home:mnhauke:fedmsg initial package for python-kitchen OBS-URL: https://build.opensuse.org/request/show/530863 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kitchen?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + kitchen-1.2.5.tar.gz | 3 ++ python-kitchen.changes | 4 +++ python-kitchen.spec | 73 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 104 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 kitchen-1.2.5.tar.gz create mode 100644 python-kitchen.changes create mode 100644 python-kitchen.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/kitchen-1.2.5.tar.gz b/kitchen-1.2.5.tar.gz new file mode 100644 index 0000000..a449743 --- /dev/null +++ b/kitchen-1.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af9fbb60f68cbdb2ead402beb8fa7c7edadbe2aa7b5a70138b7c4b0fa88153fd +size 255350 diff --git a/python-kitchen.changes b/python-kitchen.changes new file mode 100644 index 0000000..388d6d9 --- /dev/null +++ b/python-kitchen.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Oct 3 13:13:50 UTC 2017 - mardnh@gmx.de + +- Initial package diff --git a/python-kitchen.spec b/python-kitchen.spec new file mode 100644 index 0000000..0e78937 --- /dev/null +++ b/python-kitchen.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-kitchen +# +# 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-%{**}} +%bcond_without test +Name: python-kitchen +Version: 1.2.5 +Release: 0 +License: LGPL-2.1+ +Summary: Kitchen contains a cornucopia of useful code +Url: https://fedorahosted.org/kitchen +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/k/kitchen/kitchen-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildArch: noarch + +%python_subpackages + +%description +We've all done it. In the process of writing a brand new application we've +discovered that we need a little bit of code that we've invented before. +Perhaps it's something to handle unicode text. Perhaps it's something to make +a bit of python-2.5 code run on python-2.3. Whatever it is, it ends up being +a tiny bit of code that seems too small to worry about pushing into its own +module so it sits there, a part of your current project, waiting to be cut and +pasted into your next project. And the next. And the next. And since that +little bittybit of code proved so useful to you, it's highly likely that it +proved useful to someone else as well. Useful enough that they've written it +and copy and pasted it over and over into each of their new projects. + +Well, no longer! Kitchen aims to pull these small snippets of code into a few +python modules which you can import and use within your project. No more copy +and paste! Now you can let someone else maintain and release these small +snippets so that you can get on with your life. + + +%prep +%setup -q -n kitchen-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc COPYING COPYING.LESSER NEWS.rst README.rst +%{python_sitelib}/* + +%changelog