/[packages]/cauldron/python-cmdln/current/SPECS/python-cmdln.spec
ViewVC logotype

Contents of /cauldron/python-cmdln/current/SPECS/python-cmdln.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 550935 - (show annotations) (download)
Wed Nov 13 12:48:51 2013 UTC (10 years, 5 months ago) by philippem
File size: 1200 byte(s)
imported package python-cmdln
1 Name: python-cmdln
2 Version: 1.1.2
3 Release: %mkrel 0
4 Url: http://code.google.com/p/cmdln/
5 Summary: An improved cmd.py for Writing Multi-command Scripts and Shells
6 License: MIT
7 Group: Development/Python
8 Source: https://pypi.python.org/packages/source/c/cmdln/cmdln-%{version}.zip
9 BuildRequires: python-devel
10 BuildRequires: python-setuptools
11 BuildArch: noarch
12
13 %description
14 `cmdln.py` is an extension of Python's default `cmd.py` module that
15 provides "a simple framework for writing line-oriented command
16 interpreters". The idea (with both cmd.py and cmdln.py) is to be able
17 to quickly build multi-sub-command tools (think cvs or svn) and/or
18 simple interactive shells (think gdb or pdb). Cmdln's extensions make
19 it more natural to write sub-commands, integrate optparse for simple
20 option processing, and make having good command documentation easier.
21
22 %prep
23 %setup -q -n cmdln-%{version}
24
25 %build
26 %{__python} setup.py build
27
28 %install
29 %{__python} setup.py install --skip-build --root=%{buildroot}
30
31 %files
32 %doc LICENSE.txt README.txt docs/ examples/
33 %{python_sitelib}/cmdln-%{version}-py%{py_ver}.egg-info
34 %{python_sitelib}/cmdln*
35

  ViewVC Help
Powered by ViewVC 1.1.30