forked from pool/python-cli-helpers
Accepting request 670795 from home:jayvdb:coala
- Initial spec for cli-helpers v1.1.0 OBS-URL: https://build.opensuse.org/request/show/670795 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cli-helpers?expand=0&rev=1
This commit is contained in:
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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
cli_helpers-1.1.0.tar.gz
Normal file
3
cli_helpers-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7c2038bba0c41f41acae0f6e660ff3b00d69f55d9d968f024952cace78111e12
|
||||
size 29998
|
||||
4
python-cli-helpers.changes
Normal file
4
python-cli-helpers.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 3 04:52:48 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for cli-helpers v1.1.0
|
||||
87
python-cli-helpers.spec
Normal file
87
python-cli-helpers.spec
Normal file
@@ -0,0 +1,87 @@
|
||||
#
|
||||
# spec file for package python-cli-helpers
|
||||
#
|
||||
# Copyright (c) 2019 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
|
||||
# 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/
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-cli-helpers
|
||||
Version: 1.1.0
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: Helpers for building command-line apps
|
||||
Url: https://github.com/dbcli/cli_helpers
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cli-helpers/cli_helpers-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest >= 3.0.7}
|
||||
BuildRequires: %{python_module mock >= 2.0.0}
|
||||
# Package dependencies
|
||||
BuildRequires: %{python_module configobj >= 5.0.5}
|
||||
BuildRequires: %{python_module tabulate >= 0.8.2}
|
||||
BuildRequires: %{python_module terminaltables >= 3.0.0}
|
||||
BuildRequires: %{python_module Pygments >= 1.6}
|
||||
BuildRequires: %{python_module wcwidth}
|
||||
%ifpython2
|
||||
BuildRequires: python2-backports.csv >= 1.0.0
|
||||
%endif
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildArch: noarch
|
||||
Requires: python-configobj >= 5.0.5
|
||||
Requires: python-tabulate >= 0.8.2
|
||||
Requires: python-terminaltables >= 3.0.0
|
||||
Requires: python-wcwidth
|
||||
Requires: python-Pygments >= 1.6
|
||||
%ifpython2
|
||||
Requires: python2-backports.csv >= 1.0.0
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
CLI Helpers is a Python package that makes it easy to perform common tasks when
|
||||
building command-line apps. It's a helper library for command-line interfaces.
|
||||
|
||||
Libraries like `Click <http://click.pocoo.org/5/>`_ and
|
||||
`Python Prompt Toolkit <https://python-prompt-toolkit.readthedocs.io/en/latest/>`_
|
||||
are amazing tools that help you create quality apps. CLI Helpers complements
|
||||
these libraries by wrapping up common tasks in simple interfaces.
|
||||
|
||||
CLI Helpers is not focused on your app's design pattern or framework -- you can
|
||||
use it on its own or in combination with other libraries. It's lightweight and
|
||||
easy to extend.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n cli_helpers-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec -m pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst AUTHORS CHANGELOG docs
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user