From 9b9b8f35481b5ffb44c52e3b3ad095f96007f19ccccbfcedd7bfd3941d598ed1 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Mon, 13 Jan 2014 11:36:37 +0000 Subject: [PATCH] Accepting request 213692 from home:thomas-schraitle New package, version 0.6.1 OBS-URL: https://build.opensuse.org/request/show/213692 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + invoke-0.6.1.tar.gz | 3 ++ python-invoke.changes | 5 +++ python-invoke.spec | 77 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 109 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 invoke-0.6.1.tar.gz create mode 100644 python-invoke.changes create mode 100644 python-invoke.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/invoke-0.6.1.tar.gz b/invoke-0.6.1.tar.gz new file mode 100644 index 0000000..5570aab --- /dev/null +++ b/invoke-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b431ffb01962b7ee160bbbd3ca07240e890d86ee6f801dbde2f3f3567e7c8bf +size 102372 diff --git a/python-invoke.changes b/python-invoke.changes new file mode 100644 index 0000000..0007c80 --- /dev/null +++ b/python-invoke.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Jan 12 12:54:12 UTC 2014 - toms@opensuse.org + +- Initial version 0.6.1 + diff --git a/python-invoke.spec b/python-invoke.spec new file mode 100644 index 0000000..86c0fb6 --- /dev/null +++ b/python-invoke.spec @@ -0,0 +1,77 @@ +# +# spec file for package python-invoke +# +# Copyright (c) 2014 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/ + + +Name: python-invoke +Version: 0.6.1 +Release: 0 +License: BSD-2-Clause +Summary: Pythonic Task Execution +Url: http://docs.pyinvoke.org +Group: Development/Languages/Python +Source: https://pypi.python.org/packages/source/i/invoke/invoke-%{version}.tar.gz +BuildRequires: python-devel +BuildRequires: python-setuptools +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif + +%description +Invoke is a Python (2.6+ and 3.2+) task execution tool & library, drawing +inspiration from various sources to arrive at a powerful & clean feature set. + +* Like Ruby's Rake tool and Invoke's own predecessor Fabric 1.x, it provides a + clean, high level API for running shell commands and defining/organizing + task functions from a ``tasks.py`` file + +* From GNU Make, it inherits an emphasis on minimal boilerplate for common + patterns and the ability to run multiple tasks in a single invocation:: + + $ invoke clean build + +* Following the lead of most Unix CLI applications, it offers a traditional + flag-based style of command-line parsing, deriving flag names and value types + from task signatures (optionally, of course!):: + + $ invoke clean --docs --bytecode build --docs --extra='**/*.pyo' + $ invoke clean -d -b build --docs -e '**/*.pyo' + $ invoke clean -db build -de '**/*.pyo' + +* Like many of its predecessors, it offers advanced features as well -- + namespacing, task aliasing, before/after hooks, parallel execution and more. + + + +%prep +%setup -q -n invoke-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc LICENSE README.rst +%{_bindir}/inv +%{_bindir}/invoke +%{python_sitelib}/* + +%changelog \ No newline at end of file