commit 1c8d2f5db44bc767c32fec5304f1d4461e15fa2170148cfd27664d705e5860fd Author: Todd R Date: Tue Oct 31 21:03:12 2017 +0000 Accepting request 537243 from home:alois:branches:devel:languages:python - Update to version 0.6.4 - Converted to single-spec - Initial version OBS-URL: https://build.opensuse.org/request/show/537243 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mando?expand=0&rev=1 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/mando-0.6.4.tar.gz b/mando-0.6.4.tar.gz new file mode 100644 index 0000000..fd76623 --- /dev/null +++ b/mando-0.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79feb19dc0f097daa64a1243db578e7674909b75f88ac2220f1c065c10a0d960 +size 214068 diff --git a/python-mando.changes b/python-mando.changes new file mode 100644 index 0000000..2ee0136 --- /dev/null +++ b/python-mando.changes @@ -0,0 +1,12 @@ +------------------------------------------------------------------- +Tue Oct 24 20:13:04 UTC 2017 - aloisio@gmx.com + +- Update to version 0.6.4 + +- Converted to single-spec + +------------------------------------------------------------------- +Fri Oct 14 19:21:27 UTC 2016 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-mando.spec b/python-mando.spec new file mode 100644 index 0000000..015459f --- /dev/null +++ b/python-mando.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-mando +# +# Copyright (c) 2017 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-mando +Version: 0.6.4 +Release: 0 +Summary: Create Python CLI apps with little to no effort at all +License: MIT +Group: Development/Languages/Python +URL: https://mando.readthedocs.org/ +Source: https://files.pythonhosted.org/packages/source/m/mando/mando-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: python3-Sphinx +Requires: python-six +Recommends: python-rst2ansi +BuildArch: noarch +%python_subpackages + +%description +Mando is a wrapper around `argparse`, and allows you to +write complete CLI applications in seconds while +maintaining all the flexibility. + +%prep +%setup -q -n mando-%{version} +sed -i '1d' mando/tests/capture.py mando/tests/run.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc LICENSE README.rst +%{python_sitelib}/* + +%changelog