/[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 1355987 - (show annotations) (download)
Sun Jan 13 17:59:00 2019 UTC (5 years, 3 months ago) by wally
File size: 1197 byte(s)
- new version 2.0.0
1 %global srcname cmdln
2
3 Name: python-cmdln
4 Version: 2.0.0
5 Release: %mkrel 1
6 Summary: An improved cmd.py for Writing Multi-command Scripts and Shells
7 License: MIT
8 Group: Development/Python
9 Url: https://github.com/trentm/cmdln
10 Source: https://files.pythonhosted.org/packages/source/c/%{srcname}/%{srcname}-%{version}.zip
11 BuildArch: noarch
12 BuildRequires: python2-devel
13 BuildRequires: python2dist(setuptools)
14
15 %description
16 `cmdln.py` is an extension of Python's default `cmd.py` module that
17 provides "a simple framework for writing line-oriented command
18 interpreters". The idea (with both cmd.py and cmdln.py) is to be able
19 to quickly build multi-sub-command tools (think cvs or svn) and/or
20 simple interactive shells (think gdb or pdb). Cmdln's extensions make
21 it more natural to write sub-commands, integrate optparse for simple
22 option processing, and make having good command documentation easier.
23
24 %prep
25 %autosetup -n %{srcname}-%{version}
26
27 %build
28 %py2_build
29
30 %install
31 %py2_install
32
33 %files
34 %license LICENSE.txt
35 %doc docs/ examples/
36 %{python2_sitelib}/cmdln-%{version}-py%{python2_version}.egg-info
37 %{python2_sitelib}/cmdln*
38

  ViewVC Help
Powered by ViewVC 1.1.30