From 47afbdf71decddfd2faf45a0ca53e4b3ad7793e1fb4fcb93767bebe8701d4004 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 9 May 2018 13:47:59 +0000 Subject: [PATCH] Accepting request 605769 from devel:languages:python:misc Quote style checker for python OBS-URL: https://build.opensuse.org/request/show/605769 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-quotes?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + flake8-quotes-1.0.0.tar.gz | 3 ++ python-flake8-quotes.changes | 49 ++++++++++++++++++++++++++ python-flake8-quotes.spec | 66 ++++++++++++++++++++++++++++++++++++ 5 files changed, 142 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 flake8-quotes-1.0.0.tar.gz create mode 100644 python-flake8-quotes.changes create mode 100644 python-flake8-quotes.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/flake8-quotes-1.0.0.tar.gz b/flake8-quotes-1.0.0.tar.gz new file mode 100644 index 0000000..2efefa5 --- /dev/null +++ b/flake8-quotes-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd9127ad8bbcf3b546fa7871a5266fd8623ce765ebe3d5aa5eabb80c01212b26 +size 10472 diff --git a/python-flake8-quotes.changes b/python-flake8-quotes.changes new file mode 100644 index 0000000..f0d840d --- /dev/null +++ b/python-flake8-quotes.changes @@ -0,0 +1,49 @@ +------------------------------------------------------------------- +Wed May 9 02:22:33 UTC 2018 - toddrme2178@gmail.com + +- Update to version 1.0.0 + * Docstring detection + * requirements-dev: remove tox + * Remove trailing dot from checker messages + +------------------------------------------------------------------- +Tue Feb 20 19:31:40 UTC 2018 - arun@gmx.de + +- specfile: + * update copyright year + +- update to version 0.13.1: + * Added a note about escaping quotes in the doc (#68) + +------------------------------------------------------------------- +Sat Dec 9 20:10:27 UTC 2017 - arun@gmx.de + +- update to version 0.13.0: + * Moved to twine for upload (#62) + * Run Travis tests on Python 3.4-3.6 (#63) + +------------------------------------------------------------------- +Sun Dec 3 18:30:17 UTC 2017 - arun@gmx.de + +- specfile: + * changed from zip to tar.gz + +- update to version 0.12.1: + * Add a framework classifier (#61) + Warehouse (pypi.org) allows search results to be filtered by trove + classifiers. One such classifier is `Framework`, which accepts + `Flake8` as a value. Setting the classifier should help people + find flake8-comprehensions when searching for flake8 plugins. + +------------------------------------------------------------------- +Wed Oct 18 16:43:26 UTC 2017 - toddrme2178@gmail.com + +- Implement single-spec version +- Update to 0.12.0 + * No changelog + +------------------------------------------------------------------- +Mon Mar 24 13:08:43 UTC 2014 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-flake8-quotes.spec b/python-flake8-quotes.spec new file mode 100644 index 0000000..510bb6b --- /dev/null +++ b/python-flake8-quotes.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-flake8-quotes +# +# 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-%{**}} +# Tests require access to stdin +%bcond_with test +Name: python-flake8-quotes +Version: 1.0.0 +Release: 0 +Summary: Flake8 lint for quotes +License: MIT +Group: Development/Languages/Python +Url: http://github.com/zheller/flake8-quotes/ +Source: https://files.pythonhosted.org/packages/source/f/flake8-quotes/flake8-quotes-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module flake8} +%endif +Requires: python-flake8 +BuildArch: noarch + +%python_subpackages + +%description +Flake8 Extension to lint for quotes. + +%prep +%setup -q -n flake8-quotes-%{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