15
0
forked from pool/python-docopt

- 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:
Sascha Peilicke
2014-02-10 10:21:56 +00:00
committed by Git OBS Bridge
parent 9b25345421
commit b76a723b67
2 changed files with 15 additions and 3 deletions

View File

@@ -13,20 +13,25 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-docopt
Version: 0.6.1
Release: 0
License: MIT
Summary: Pythonic argument parser, that will make you smile
Url: http://docopt.org
License: MIT
Group: Development/Languages/Python
Url: http://docopt.org
Source: https://pypi.python.org/packages/source/d/docopt/docopt-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-setuptools
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
%endif
%description
docopt creates beautiful command-line interfaces.
@@ -55,6 +60,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE-MIT README.rst
%{python_sitelib}/*
%changelog