From b673b35697f7e31b69aa080777ec3c118863440d Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Nov 17 2017 22:38:17 +0000 Subject: Update to 2.0.0 --- diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 8a30978..0000000 --- a/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. - diff --git a/python-pytest-flakes.spec b/python-pytest-flakes.spec index 6d21338..fd1128d 100644 --- a/python-pytest-flakes.spec +++ b/python-pytest-flakes.spec @@ -6,14 +6,13 @@ %global srcname pytest-flakes Name: python-%{srcname} -Version: 1.0.1 -Release: 7%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Pytest plugin to check source code with pyflakes License: MIT URL: https://pypi.python.org/pypi/%{srcname} -Source0: https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version}.zip -Source1: https://raw.githubusercontent.com/fschulze/pytest-flakes/master/LICENSE +Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel @@ -41,10 +40,6 @@ Py.test plugin for efficiently checking python source with pyflakes. Summary: %{summary} %{?python_provide:%python_provide python2-%{srcname}} Requires: pyflakes -%if 0%{?fedora} < 24 -# caching was moved into core pytest in 2.8, which appeared in f24 -Requires: python-pytest-cache -%endif %description -n python2-%{srcname} Py.test plugin for efficiently checking python source with pyflakes. @@ -56,10 +51,6 @@ Python 2 build. %package -n python%{python3_pkgversion}-%{srcname} Summary: Pytest plugin to check source code with pyflakes Requires: python%{python3_pkgversion}-pyflakes -%if 0%{?fedora} < 24 -# caching was moved into core pytest in 2.8, which appeared in f24 -Requires: python%{python3_pkgversion}-pytest-cache -%endif # fedora < 24 %description -n python%{python3_pkgversion}-%{srcname} Py.test plugin for efficiently checking python source with pyflakes. @@ -69,43 +60,27 @@ Python 3 build. %prep %setup -q -n %{srcname}-%{version} -cp %SOURCE1 . rm -rf *.egg-info -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' -%endif # with_python3 - %build %py2_build - %if 0%{?with_python3} -pushd %{py3dir} %py3_build -popd %endif # with_python3 %install %if 0%{?with_python3} -pushd %{py3dir} %py3_install -popd %endif # with_python3 - %py2_install %check %{__python2} setup.py test - %if 0%{?with_python3} -pushd %{py3dir} %{__python3} setup.py test -popd %endif # with_python3 @@ -125,6 +100,9 @@ popd %changelog +* Fri Nov 17 2017 Orin Poplawski - 2.0.0-1 +- Update to 2.0.0 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild