From 51070a300ee3b823d1ee9da188d3f00a747126a2ad51156b00e9a6b9b12e6735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 16 Sep 2019 08:33:16 +0000 Subject: [PATCH] Accepting request 730481 from home:jayvdb:py-new dep of https://pypistats.org/packages/cleo OBS-URL: https://build.opensuse.org/request/show/730481 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-clikit?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + clikit-0.3.1.tar.gz | 3 ++ python-clikit.changes | 4 +++ python-clikit.spec | 70 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 101 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 clikit-0.3.1.tar.gz create mode 100644 python-clikit.changes create mode 100644 python-clikit.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/clikit-0.3.1.tar.gz b/clikit-0.3.1.tar.gz new file mode 100644 index 0000000..f594288 --- /dev/null +++ b/clikit-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0292de6dea7c9092686bb72336c733bd7c27f098b695a81c0c85f11cafa08b47 +size 64920 diff --git a/python-clikit.changes b/python-clikit.changes new file mode 100644 index 0000000..d58856c --- /dev/null +++ b/python-clikit.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun May 19 01:42:50 AM UTC 2019 - John Vandenberg + +- Initial spec for v0.2.4 diff --git a/python-clikit.spec b/python-clikit.spec new file mode 100644 index 0000000..053829e --- /dev/null +++ b/python-clikit.spec @@ -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