commit 22ca346d2a768089bd2d3e44bb22bdbf93e7373dc3671fddc250b0547d0a786a Author: Tomáš Chvátal Date: Mon Sep 16 08:33:37 2019 +0000 Accepting request 730482 from home:jayvdb:py-new >10k/day https://pypistats.org/packages/cleo depends on pastel and clikit pending requests OBS-URL: https://build.opensuse.org/request/show/730482 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cleo?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.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 +*.tar 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..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/cleo-0.7.5.tar.gz b/cleo-0.7.5.tar.gz new file mode 100644 index 0000000..f2f4d61 --- /dev/null +++ b/cleo-0.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:936d262102fd04681faa12979bedc57f4dde3191f8d403d8069d4119bc835c5b +size 79084 diff --git a/python-cleo.changes b/python-cleo.changes new file mode 100644 index 0000000..415574e --- /dev/null +++ b/python-cleo.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Jan 20 19:52:56 UTC 2019 - Niels Abspoel + +- initial packaging diff --git a/python-cleo.spec b/python-cleo.spec new file mode 100644 index 0000000..a751f5b --- /dev/null +++ b/python-cleo.spec @@ -0,0 +1,67 @@ +# +# spec file for package python-cleo +# +# 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-cleo +Version: 0.7.5 +Release: 0 +Summary: Cleo allows you to create beautiful and testable command-line interfaces +License: MIT +Group: Development/Languages/Python +URL: https://github.com/sdispater/cleo +Source: https://files.pythonhosted.org/packages/source/c/cleo/cleo-%{version}.tar.gz +BuildRequires: %{python_module clikit >= 0.2.4} +BuildRequires: %{python_module pastel >= 0.1.0} +BuildRequires: %{python_module pylev >= 1.3} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module typing} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: python3-dephell +Requires: python-clikit >= 0.2.4 +Requires: python-pastel >= 0.1.0 +Requires: python-pylev >= 1.3 +Requires: python-typing +BuildArch: noarch +%python_subpackages + +%description +Cleo allows you to create beautiful and testable command-line interfaces. + +%prep +%setup -q -n cleo-%{version} +dephell deps convert --from pyproject.toml --to setup.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog