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
This commit is contained in:
commit
9b9b8f3548
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
invoke-0.6.1.tar.gz
Normal file
3
invoke-0.6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b431ffb01962b7ee160bbbd3ca07240e890d86ee6f801dbde2f3f3567e7c8bf
|
||||
size 102372
|
5
python-invoke.changes
Normal file
5
python-invoke.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 12 12:54:12 UTC 2014 - toms@opensuse.org
|
||||
|
||||
- Initial version 0.6.1
|
||||
|
77
python-invoke.spec
Normal file
77
python-invoke.spec
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user