15
0
forked from pool/python-clikit
Tomáš Chvátal
2019-09-16 08:33:16 +00:00
committed by Git OBS Bridge
commit 51070a300e
5 changed files with 101 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

3
clikit-0.3.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0292de6dea7c9092686bb72336c733bd7c27f098b695a81c0c85f11cafa08b47
size 64920

4
python-clikit.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun May 19 01:42:50 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.2.4

70
python-clikit.spec Normal file
View File

@@ -0,0 +1,70 @@
#
# spec file for package python-clikit
#
# 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-clikit
Version: 0.3.1
Release: 0
Summary: Helper to build testable command line interfaces
License: MIT
Group: Development/Languages/Python
URL: https://github.com/sdispater/clikit
Source: https://github.com/sdispater/clikit/archive/%{version}.tar.gz#/clikit-%{version}.tar.gz
BuildRequires: %{python_module pastel}
BuildRequires: %{python_module pylev}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2-enum34
BuildRequires: python3-dephell
Requires: python-pastel
Requires: python-pylev
Requires: python-typing
BuildArch: noarch
%ifpython2
Requires: python2-enum34
%endif
%python_subpackages
%description
CliKit is a group of utilities to build beautiful and testable
command line interfaces.
%prep
%setup -q -n clikit-%{version}
dephell deps convert --from pyproject.toml --to setup.py
mv src/clikit .
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog