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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 600102 by philippem, Wed Nov 13 12:48:51 2013 UTC revision 600103 by philippem, Wed Mar 5 18:56:34 2014 UTC
# Line 1  Line 1 
1    %define commit dcf678068233bb4efd0449bcd003f3f435f49bd1
2    %define shortcommit %(c=%{commit}; echo ${c:0:7})
3    
4    
5  Name:           python-cmdln  Name:           python-cmdln
6  Version:        1.1.2  Version:        1.3.0
7  Release:        %mkrel 0  Release:        %mkrel 1
8  Url:            http://code.google.com/p/cmdln/  Url:            http://code.google.com/p/cmdln/
9  Summary:        An improved cmd.py for Writing Multi-command Scripts and Shells  Summary:        An improved cmd.py for Writing Multi-command Scripts and Shells
10  License:        MIT  License:        MIT
11  Group:          Development/Python  Group:          Development/Python
12  Source:         https://pypi.python.org/packages/source/c/cmdln/cmdln-%{version}.zip  Source:         https://github.com/trentm/cmdln/archive/%{commit}/cmdln-%{version}-%{shortcommit}.tar.gz
13  BuildRequires:  python-devel  BuildRequires:  python-devel
14  BuildRequires:  python-setuptools  BuildRequires:  python-setuptools
15  BuildArch:      noarch  BuildArch:      noarch
# Line 20  it more natural to write sub-commands, i Line 24  it more natural to write sub-commands, i
24  option processing, and make having good command documentation easier.  option processing, and make having good command documentation easier.
25    
26  %prep  %prep
27  %setup -q -n cmdln-%{version}  %setup -q -n cmdln-%{commit}
28    
29  %build  %build
30  %{__python} setup.py build  %{__python} setup.py build
# Line 29  option processing, and make having good Line 33  option processing, and make having good
33  %{__python} setup.py install --skip-build --root=%{buildroot}  %{__python} setup.py install --skip-build --root=%{buildroot}
34    
35  %files  %files
36  %doc LICENSE.txt README.txt docs/ examples/  %doc LICENSE.txt README.md docs/ examples/
37  %{python_sitelib}/cmdln-%{version}-py%{py_ver}.egg-info  %{python_sitelib}/cmdln-%{version}-py%{py_ver}.egg-info
38  %{python_sitelib}/cmdln*  %{python_sitelib}/cmdln*
39    

Legend:
Removed from v.600102  
changed lines
  Added in v.600103

  ViewVC Help
Powered by ViewVC 1.1.30