/[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 879993 - (show annotations) (download)
Wed Sep 16 21:03:31 2015 UTC (8 years, 7 months ago) by philippem
File size: 1243 byte(s)
fix build, use new macros
1 %define commit dcf678068233bb4efd0449bcd003f3f435f49bd1
2 %define shortcommit %(c=%{commit}; echo ${c:0:7})
3
4
5 Name: python-cmdln
6 Version: 1.3.0
7 Release: %mkrel 6
8 Url: http://code.google.com/p/cmdln/
9 Summary: An improved cmd.py for Writing Multi-command Scripts and Shells
10 License: MIT
11 Group: Development/Python
12 Source: https://github.com/trentm/cmdln/archive/%{commit}/cmdln-%{version}-%{shortcommit}.tar.gz
13 BuildRequires: pythonegg(2)(setuptools)
14 BuildArch: noarch
15
16 %description
17 `cmdln.py` is an extension of Python's default `cmd.py` module that
18 provides "a simple framework for writing line-oriented command
19 interpreters". The idea (with both cmd.py and cmdln.py) is to be able
20 to quickly build multi-sub-command tools (think cvs or svn) and/or
21 simple interactive shells (think gdb or pdb). Cmdln's extensions make
22 it more natural to write sub-commands, integrate optparse for simple
23 option processing, and make having good command documentation easier.
24
25 %prep
26 %autosetup -n cmdln-%{commit}
27
28 %build
29 %py2_build
30
31 %install
32 %py2_install
33
34 %files
35 %doc LICENSE.txt README.md docs/ examples/
36 %{python2_sitelib}/cmdln-%{version}-py%{py2_ver}.egg-info
37 %{python2_sitelib}/cmdln*
38

  ViewVC Help
Powered by ViewVC 1.1.30