commit c76930fd336c8a6be9fa28a0986a33cc883e132eceec86c1ca784add94b921e2 Author: Todd R Date: Thu May 10 03:06:12 2018 +0000 Accepting request 606018 from devel:languages:python:misc Reusable Invoke tasks OBS-URL: https://build.opensuse.org/request/show/606018 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invocations?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/invocations-0.20.0.tar.gz b/invocations-0.20.0.tar.gz new file mode 100644 index 0000000..2f6bc50 --- /dev/null +++ b/invocations-0.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:085d03a47fc46bb6d626ff59ad3a4439a95c213f27e9d71fe59b8d658d897a42 +size 23724 diff --git a/python-invocations.changes b/python-invocations.changes new file mode 100644 index 0000000..5e9c7b1 --- /dev/null +++ b/python-invocations.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Thu May 10 03:05:07 UTC 2018 - toddrme2178@gmail.com + +- Use license tag + +------------------------------------------------------------------- +Wed Oct 18 16:38:40 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-invocations.spec b/python-invocations.spec new file mode 100644 index 0000000..3550fcf --- /dev/null +++ b/python-invocations.spec @@ -0,0 +1,82 @@ +# +# spec file for package python-invocations +# +# Copyright (c) 2018 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-%{**}} +%bcond_with test +Name: python-invocations +Version: 0.20.0 +Release: 0 +License: BSD-2-Clause +Summary: Reusable Invoke tasks +Url: http://pyinvoke.org +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/i/invocations/invocations-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if %{with test} +BuildRequires: %{python_module blessings >= 1.6} +BuildRequires: %{python_module invoke >= 0.13} +BuildRequires: %{python_module releases >= 1.2} +BuildRequires: %{python_module semantic_version >= 2.4} +BuildRequires: %{python_module tabulate >= 0.7.5} +BuildRequires: %{python_module tqdm >= 4.8.1} +%endif +BuildRequires: fdupes +Requires: python-blessings >= 1.6 +Requires: python-invoke >= 0.13 +Requires: python-releases >= 1.2 +Requires: python-semantic_version >= 2.4 +Requires: python-tabulate >= 0.7.5 +Requires: python-tqdm >= 4.8.1 +BuildArch: noarch + +%python_subpackages + +%description +Invocations is a collection of reusable `Invoke `_ +tasks/task modules, including (but not limited to) Python project management +tools such as documentation building and dependency organization. + +It has no stand-alone components and is designed to be imported into your +pre-existing Invoke task files. + +Invocations is currently in pre-alpha status and is unsupported. Please follow +the Invoke project's communication channels for updates. Thanks! + +%prep +%setup -q -n invocations-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog