Browse Source

%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name: python-pocket-lint
Version: 0.5.21
Release: 1%{?_dist_release}
Summary: Pocket-lint a composite linter and style checker
Summary(ja): ソースコードのコンポジットリンターとスタイルチェッカー Pocket-lint

Group: Development/Languages
License: MIT
URL: https://launchpad.net/pocket-lint
Source0: http://launchpad.net/pocket-lint/trunk/%{version}/+download/pocketlint-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root

BuildArch: noarch

BuildRequires: python-devel
BuildRequires: python-setuptools

Obsoletes: python-pocketlint

%description
Pocket-lint has several notable features:

* Provides a consistent report of issues raised by the subordinate checkers.
* Alternate Reports can be written to change the report, or integrate the report
  into another application.
* Supports checking of multiple source types:
  * Python syntax and style
  * Python doctest style
  * XML/HTML style and entities
  * CSS style
  * JavaScript syntax and style
  * Plain text
* Supports reporting:
  * Python doctests
  * CSS
  * XML/HTML


%prep
%setup -q -n pocketlint-%{version}


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog HACKING INSTALL PKG-INFO README
%{_bindir}/pocketlint
%{python_sitelib}/*


%changelog
* Mon Sep 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.21-1
- new upstream release

* Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.19-1
- new upstream release

* Wed May 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.17-1
- new upstream release

* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.14-1
- new upstream release
- changed BuildArch to noarch

* Sun Dec 19 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-1
- new upstream release

* Sun Oct 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-3
- rebuilt with rpm-4.8.1 for pkg-config

* Tue Aug 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-2
- changed package name a little

* Mon Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1
- initial build for VineSeed


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4793 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 12 years ago
parent
commit
f258ae8243
1 changed files with 4 additions and 1 deletions
  1. 4 1
      p/python-pocket-lint/python-pocket-lint-vl.spec

+ 4 - 1
p/python-pocket-lint/python-pocket-lint-vl.spec

@@ -1,7 +1,7 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name: python-pocket-lint
-Version: 0.5.19
+Version: 0.5.21
 Release: 1%{?_dist_release}
 Summary: Pocket-lint a composite linter and style checker
 Summary(ja): ソースコードのコンポジットリンターとスタイルチェッカー Pocket-lint
@@ -63,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Sep 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.21-1
+- new upstream release
+
 * Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.19-1
 - new upstream release