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

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

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

revision 1437544 by wally, Wed Apr 17 17:45:01 2019 UTC revision 1437545 by wally, Thu Sep 5 13:28:16 2019 UTC
# Line 5  Line 5 
5    
6  Name:           python-%{srcname}  Name:           python-%{srcname}
7  Summary:        Bash tab completion for argparse  Summary:        Bash tab completion for argparse
8  Version:        1.9.5  Version:        1.10.0
9  Release:        %mkrel 1  Release:        %mkrel 1
10  Group:          Development/Python  Group:          Development/Python
11  License:        ASL 2.0  License:        ASL 2.0
# Line 29  is browsing resources over the network). Line 29  is browsing resources over the network).
29    
30  %description %{_description}  %description %{_description}
31    
 %package -n python2-%{srcname}  
 Summary:        %{summary}  
 Group:          Development/Python  
 BuildRequires:  pkgconfig(python2)  
 BuildRequires:  python2dist(setuptools)  
 %if %{with check}  
 BuildRequires:  python2dist(pexpect)  
 BuildRequires:  tcsh  
 %endif  
 %{?python_provide:%python_provide python2-%{srcname}}  
   
 %description -n python2-%{srcname} %{_description}  
   
32  %package -n python3-%{srcname}  %package -n python3-%{srcname}
33  Summary:        %{summary}  Summary:        %{summary}
34  Group:          Development/Python  Group:          Development/Python
# Line 68  rm -rf %{srcname}.egg-info Line 55  rm -rf %{srcname}.egg-info
55  sed -i -r -e '/tests_require = /s/"(coverage|flake8|wheel)"[, ]*//g' setup.py  sed -i -r -e '/tests_require = /s/"(coverage|flake8|wheel)"[, ]*//g' setup.py
56    
57  %build  %build
 %py2_build  
58  %py3_build  %py3_build
59    
60  %install  %install
 %py2_install  
61  %py3_install  %py3_install
62    
63  mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/  mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/
# Line 81  install -p -m0644 %{buildroot}%{python3_ Line 66  install -p -m0644 %{buildroot}%{python3_
66  %if %{with check}  %if %{with check}
67  %check  %check
68  export LC_ALL=C.UTF-8  export LC_ALL=C.UTF-8
 %{__python2} setup.py test  
69  %{__python3} setup.py test  %{__python3} setup.py test
70  %endif  %endif
71    
 %files -n python2-%{srcname}  
 %license LICENSE.rst  
 %doc README.rst  
 %{python2_sitelib}/%{srcname}-*.egg-info/  
 %{python2_sitelib}/%{srcname}/  
   
72  %files -n python3-%{srcname}  %files -n python3-%{srcname}
73  %license LICENSE.rst  %license LICENSE.rst
74  %doc README.rst  %doc README.rst

Legend:
Removed from v.1437544  
changed lines
  Added in v.1437545

  ViewVC Help
Powered by ViewVC 1.1.28