- Add LICENSE-MIT README.rst, use proper macros and use setuptools
instead of distribte (upstreams merged) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docopt?expand=0&rev=2
This commit is contained in:
parent
9b25345421
commit
b76a723b67
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 10 10:21:01 UTC 2014 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Add LICENSE-MIT README.rst, use proper macros and use setuptools
|
||||||
|
instead of distribte (upstreams merged)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 5 17:52:12 UTC 2014 - arun@gmx.de
|
Wed Feb 5 17:52:12 UTC 2014 - arun@gmx.de
|
||||||
|
|
||||||
|
@ -13,20 +13,25 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python-docopt
|
Name: python-docopt
|
||||||
Version: 0.6.1
|
Version: 0.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
License: MIT
|
|
||||||
Summary: Pythonic argument parser, that will make you smile
|
Summary: Pythonic argument parser, that will make you smile
|
||||||
Url: http://docopt.org
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
Url: http://docopt.org
|
||||||
Source: https://pypi.python.org/packages/source/d/docopt/docopt-%{version}.tar.gz
|
Source: https://pypi.python.org/packages/source/d/docopt/docopt-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-setuptools
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
docopt creates beautiful command-line interfaces.
|
docopt creates beautiful command-line interfaces.
|
||||||
@ -55,6 +60,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE-MIT README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user