commit baa0852881b199033d15cb87bfc56626ffd6d828ea24fbafa654b7de3705cc16 Author: Tomáš Chvátal Date: Tue Aug 27 00:56:38 2019 +0000 Accepting request 726220 from home:jayvdb:storyscript Newly released click plugin to address a wontfix missing feature in click https://github.com/pallets/click/issues/1346 OBS-URL: https://build.opensuse.org/request/show/726220 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-aliases?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/click-aliases-1.0.1.tar.gz b/click-aliases-1.0.1.tar.gz new file mode 100644 index 0000000..2d19163 --- /dev/null +++ b/click-aliases-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f48012077e0788eb02f4f8ee458fef3601873fec6c998e9ea8b4554394e705a3 +size 4190 diff --git a/python-click-aliases.changes b/python-click-aliases.changes new file mode 100644 index 0000000..76de6f5 --- /dev/null +++ b/python-click-aliases.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Aug 26 02:14:14 AM UTC 2019 - John Vandenberg + +- Initial spec for v1.0.1 diff --git a/python-click-aliases.spec b/python-click-aliases.spec new file mode 100644 index 0000000..36fafdb --- /dev/null +++ b/python-click-aliases.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-click-aliases +# +# 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-click-aliases +Version: 1.0.1 +Release: 0 +License: MIT +Summary: Command aliases for Click +Url: https://github.com/click-contrib/click-aliases +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/c/click-aliases/click-aliases-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +# SECTION test requirements +# See https://github.com/click-contrib/click-aliases/issues/5 +# for problems with click 6.7 currently on Leap. +BuildRequires: %{python_module click >= 7.0} +BuildRequires: %{python_module pytest} +# /SECTION +BuildRequires: fdupes +Requires: python-click +BuildArch: noarch + +%python_subpackages + +%description +Command aliases for Click. + +%prep +%setup -q -n click-aliases-%{version} + +%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