]> git.pld-linux.org Git - packages/pylint.git/blobdiff - pylint.spec
- release 2 (by relup.sh)
[packages/pylint.git] / pylint.spec
index 877bf46ce4e6f566cb41a08bec0d7be436047252..076152b3d8eeb3a10061cc15c32dc55b2e09ecc3 100644 (file)
@@ -8,30 +8,32 @@
 Summary:       Python tool that checks if a module satisfy a coding standard
 Summary(pl.UTF-8):     Pythonowe narzędzie sprawdzające zgodność modułu ze standardem kodowania
 Name:          pylint
-Version:       1.2.1
-Release:       1
+Version:       1.4.3
+Release:       2
 License:       GPL v2+
 Group:         Development/Languages/Python
+#Source0Download: https://pypi.python.org/pypi/pylint
 Source0:       https://pypi.python.org/packages/source/p/pylint/pylint-%{version}.tar.gz
-# Source0-md5: c49008134f2905cc88251f19d33e616c
-Patch0:                %{name}-type_error.patch
+# Source0-md5: 5924c1c7ca5ca23647812f5971d0ea44
 URL:           http://www.pylint.org/
 %if %{with python2}
 BuildRequires: python-devel
 BuildRequires: python-modules >= 1:2.5
+BuildRequires: python-setuptools >= 7.0
 %endif
 %if %{with python3}
-BuildRequires: python-2to3
+BuildRequires: python3-2to3
 BuildRequires: python3-devel
-BuildRequires: python3-distribute
 BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-setuptools >= 7.0
 %endif
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
 BuildRequires: sphinx-pdg
-Requires:      python-astroid >= 0.24.3
+Requires:      python-astroid >= 1.3.2
 Requires:      python-logilab-common >= 0.53.0
 Requires:      python-modules
+Requires:      python-six
 Suggests:      python-devel-src
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -63,8 +65,9 @@ Oparty na bibliotece Tk graficzny interfejs użytkownika dla pylinta.
 Summary:       Python tool that checks if a module satisfy a coding standard
 Summary(pl.UTF-8):     Pythonowe narzędzie sprawdzające zgodność modułu ze standardem kodowania
 Group:         Development/Languages/Python
-Requires:      python3-astroid >= 0.24.3
+Requires:      python3-astroid >= 1.3.2
 Requires:      python3-logilab-common >= 0.53.0
+Requires:      python3-six
 Obsoletes:     pylint-python3 < 1.0.0-2
 
 %description -n py3lint
@@ -94,11 +97,14 @@ Oparty na bibliotece Tk graficzny interfejs użytkownika dla pylinta.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %if %{with python2}
 %{__python} setup.py build
+%else
+# for sphinx
+install -d build/lib
+ln -sf ../.. build/lib/pylint
 %endif
 
 %if %{with python3}
@@ -107,7 +113,8 @@ export NO_SETUPTOOLS=1
 unset NO_SETUPTOOLS
 %endif
 
-%{__make} -C doc text
+%{__make} -C doc text \
+       PYTHONPATH=$PWD/build/lib
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.110666 seconds and 4 git commands to generate.