Accepting request 655396 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/655396 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-docopt?expand=0&rev=7
This commit is contained in:
commit
db5adf1231
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 5 01:03:34 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Remove rhetorics and bias from descriptions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:47:24 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 18:42:12 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-docopt
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -20,38 +20,28 @@
|
||||
Name: python-docopt
|
||||
Version: 0.6.2
|
||||
Release: 0
|
||||
Summary: Pythonic argument parser, that will make you smile
|
||||
Summary: Pythonic argument parser
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://docopt.org
|
||||
URL: http://docopt.org
|
||||
Source: https://files.pythonhosted.org/packages/source/d/docopt/docopt-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
docopt creates beautiful command-line interfaces.
|
||||
docopt creates command-line interfaces.
|
||||
|
||||
Isn't it awesome how optparse and argparse generate help
|
||||
messages based on your code?!
|
||||
|
||||
Hell no! You know what's awesome? It's when the option parser is
|
||||
generated based on the beautiful help message that you write yourself!
|
||||
This way you don't need to write this stupid repeatable parser-code,
|
||||
and instead can write only the help message--the way you want it.
|
||||
|
||||
docopt helps you create most beautiful command-line interfaces
|
||||
easily.
|
||||
This way one does not need to write repeatable parser-code,
|
||||
and instead can write only the help message.
|
||||
|
||||
%prep
|
||||
%setup -q -n docopt-%{version}
|
||||
|
||||
# Fix wrong-script-interpreter
|
||||
sed -i "s|#! /usr/bin/env python||" examples/git/git.py
|
||||
sed -i "s|#! %{_bindir}/env python||" examples/git/git.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -61,8 +51,8 @@ sed -i "s|#! /usr/bin/env python||" examples/git/git.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE-MIT README.rst
|
||||
%license LICENSE-MIT
|
||||
%doc README.rst
|
||||
%doc examples/
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user