From 492b518ed452a31995a6bd47a0e7e313f77b1b28 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jun 02 2018 04:49:09 +0000 Subject: Update to 2.4.0 (#1565613) - ship LICENSE file - switch to Python 3 Sphinx --- diff --git a/.gitignore b/.gitignore index 5e4bc6f..2490193 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pycodestyle-2.0.0.tar.gz /pycodestyle-2.3.1.tar.gz +/pycodestyle-2.4.0.tar.gz diff --git a/python-pycodestyle.spec b/python-pycodestyle.spec index 15cedc3..a2ca4c6 100644 --- a/python-pycodestyle.spec +++ b/python-pycodestyle.spec @@ -1,12 +1,9 @@ %global module_name pycodestyle Name: python-%{module_name} -Version: 2.3.1 -Release: 2%{?dist} +Version: 2.4.0 +Release: 1%{?dist} Summary: Python style guide checker - -# License is held in the comments of pycodestyle.py -# setup.py claims license is Expat license, which is the same as MIT License: MIT URL: https://pypi.python.org/pypi/%{module_name} Source0: https://pypi.io/packages/source/p/%{module_name}/%{module_name}-%{version}.tar.gz @@ -25,8 +22,6 @@ Summary: Python style guide checker BuildRequires: python2-devel BuildRequires: python2-setuptools -BuildRequires: python2-sphinx -BuildRequires: python2-sphinx_rtd_theme Requires: python2-setuptools @@ -43,8 +38,8 @@ Summary: Python style guide checker BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools -#Docs are actually built with python2 sphinx -#BuildRequires: python%{python3_pkgversion}-sphinx +BuildRequires: python%{python3_pkgversion}-sphinx +BuildRequires: python%{python3_pkgversion}-sphinx_rtd_theme Requires: python%{python3_pkgversion}-setuptools @@ -68,7 +63,7 @@ sed --in-place "s:#!\s*/usr.*::" pycodestyle.py %py2_build %py3_build -make -C docs man +make -C docs man SPHINXBUILD=sphinx-build-3 %install @@ -93,6 +88,7 @@ install -D docs/_build/man/%{module_name}.1 %{buildroot}%{_mandir}/man1/%{module %files -n python2-%{module_name} %doc CHANGES.txt README.rst +%license LICENSE %{_bindir}/pycodestyle %{_bindir}/pycodestyle-2 %{_bindir}/pycodestyle-2.7 @@ -101,6 +97,7 @@ install -D docs/_build/man/%{module_name}.1 %{buildroot}%{_mandir}/man1/%{module %files -n python%{python3_pkgversion}-pycodestyle %doc README.rst CHANGES.txt +%license LICENSE %{_mandir}/man1/%{module_name}.1.gz %{_bindir}/pycodestyle-3 %{_bindir}/pycodestyle-%{python3_version} @@ -109,6 +106,9 @@ install -D docs/_build/man/%{module_name}.1 %{buildroot}%{_mandir}/man1/%{module %{python3_sitelib}/__pycache__/%{module_name}* %changelog +* Sat Jun 02 2018 Miro Hrončok - 2.4.0-1 +- Update to 2.4.0 (#1565613) + * Fri Feb 09 2018 Fedora Release Engineering - 2.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 6f0bb51..654346c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pycodestyle-2.3.1.tar.gz) = 276bc21b4e6898e379be88f3582135a21314460ad20d4b6c3e12825ac1a72082b2c08bb62099e704c3222f879a1098d0b305132fac1095aaa60ca239b9763a2d +SHA512 (pycodestyle-2.4.0.tar.gz) = cb35238291fed30f1a4363e65b754165772d01e6006e19ce31769691aed17411cd893899fcd22dfca0455401bee899097fff6f3d63825c7656f186e37b7da3a0