diff --git a/python-flake8.spec b/python-flake8.spec index 6775e5f..17654a0 100644 --- a/python-flake8.spec +++ b/python-flake8.spec @@ -13,15 +13,16 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-flake8 Version: 2.0 Release: 0 -License: MIT Summary: Modular source code checker: pep8, pyflakes and co -Url: http://bitbucket.org/tarek/flake8 +License: MIT Group: Development/Languages/Python +Url: http://bitbucket.org/tarek/flake8 Source: http://pypi.python.org/packages/source/f/flake8/flake8-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-distribute diff --git a/python3-flake8.changes b/python3-flake8.changes deleted file mode 100644 index f820057..0000000 --- a/python3-flake8.changes +++ /dev/null @@ -1,12 +0,0 @@ -------------------------------------------------------------------- -Wed Apr 24 09:07:31 UTC 2013 - speilicke@suse.com - -- Spec file cleanup -- Run testsuite -- Add LICENSE (for legal) - -------------------------------------------------------------------- -Sun Apr 21 23:40:09 UTC 2013 - dmueller@suse.com - -- Initial package (2.0) - diff --git a/python3-flake8.spec b/python3-flake8.spec deleted file mode 100644 index dec614c..0000000 --- a/python3-flake8.spec +++ /dev/null @@ -1,68 +0,0 @@ -# -# spec file for package python-flake8 -# -# Copyright (c) 2013 SUSE LINUX Products 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/ - - -Name: python3-flake8 -Version: 2.0 -Release: 0 -License: MIT -Summary: Modular source code checker: pep8, pyflakes and co -Url: http://bitbucket.org/tarek/flake8 -Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/f/flake8/flake8-%{version}.tar.gz -BuildRequires: python3-devel -BuildRequires: python3-distribute -# Test requirements: -BuildRequires: python3-mccabe >= 0.2 -BuildRequires: python3-nose -BuildRequires: python3-pep8 >= 1.4.3 -BuildRequires: python3-pyflakes >= 0.6.1 -Requires: python3-mccabe >= 0.2 -Requires: python3-pep8 >= 1.4.3 -Requires: python3-pyflakes >= 0.6.1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - -%description -Flake8 is a wrapper around these tools: - -- PyFlakes -- pep8 -- Ned Batchelder's McCabe script - -Flake8 runs all the tools by launching the single ``flake8`` script. - -%prep -%setup -q -n flake8-%{version} - -%build -python3 setup.py build - -%install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -# Avoid file conflict with Python-2.x version: -mv %{buildroot}%{_bindir}/flake8{,-%{py3_ver}} - -%check -python3 setup.py test - -%files -%defattr(-,root,root,-) -%doc LICENSE README.rst -%{_bindir}/flake8-%{py3_ver} -%{python3_sitelib}/* - -%changelog