Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-docopt revision 494a0e204820e7fa019cfd131a9cb392
This commit is contained in:
commit
15cefdb9b2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
docopt-0.6.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
docopt-0.6.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
1
saltbundlepy-docopt-rpmlintrc
Normal file
1
saltbundlepy-docopt-rpmlintrc
Normal file
@ -0,0 +1 @@
|
|||||||
|
addFilter('python-bytecode-inconsistent-mtime')
|
65
saltbundlepy-docopt.changes
Normal file
65
saltbundlepy-docopt.changes
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 4 12:37:05 UTC 2022 - Victor Zhestkov <victor.zhestkov@suse.com>
|
||||||
|
|
||||||
|
- Strictly require Python 3.10 with saltbundlepy requrement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- Fix wrong-script-interpreter rpmlint error.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 25 16:09:02 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version
|
||||||
|
- Fix source URL.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 14 14:48:35 UTC 2015 - ms@suse.com
|
||||||
|
|
||||||
|
- Package required in SLE12 due to fate#319400
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 14 11:45:41 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to 0.6.2
|
||||||
|
* Wheel support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- initial commit to d-p-l. Below are the previous Changelog entries
|
||||||
|
* 0.6.1 Bugfix release.
|
||||||
|
* 0.6.0 options_first parameter.
|
||||||
|
Breaking changes: Corrected [options] meaning.
|
||||||
|
argv defaults to None.
|
||||||
|
* 0.5.0 Repeated options/commands are counted or accumulated into a
|
||||||
|
list.
|
||||||
|
* 0.4.2 Bugfix release.
|
||||||
|
* 0.4.0 Option descriptions become optional,
|
||||||
|
support for "--" and "-" commands.
|
||||||
|
* 0.3.0 Support for (sub)commands like "git remote add".
|
||||||
|
Introduce [options] shortcut for any options.
|
||||||
|
Breaking changes: docopt returns dictionary.
|
||||||
|
* 0.2.0 Usage pattern matching. Positional arguments parsing based on
|
||||||
|
usage patterns.
|
||||||
|
Breaking changes: docopt returns namespace (for arguments),
|
||||||
|
not list. Usage pattern is formalized.
|
||||||
|
* 0.1.0 Initial release. Options-parsing only (based on options
|
||||||
|
description).
|
66
saltbundlepy-docopt.spec
Normal file
66
saltbundlepy-docopt.spec
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
#
|
||||||
|
# spec file for package saltbundlepy-docopt
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}}
|
||||||
|
%define pythons saltbundlepy
|
||||||
|
|
||||||
|
# Disable python bytecompile for all distros
|
||||||
|
# It's called explicitly in the spec
|
||||||
|
%global __brp_python_bytecompile %{nil}
|
||||||
|
|
||||||
|
Name: saltbundlepy-docopt
|
||||||
|
Version: 0.6.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Pythonic argument parser
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: http://docopt.org
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/d/docopt/docopt-%{version}.tar.gz
|
||||||
|
BuildRequires: %{saltbundlepy_module base >= 3.10}
|
||||||
|
BuildRequires: %{saltbundlepy_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: saltbundlepy-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
docopt creates command-line interfaces.
|
||||||
|
|
||||||
|
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|#! %{_bindir}/env python||" examples/git/git.py
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE-MIT
|
||||||
|
%doc README.rst
|
||||||
|
%doc examples/
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user