|
@@ -1,63 +0,0 @@
|
|
|
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
-
|
|
|
-Name: python-pocketlint
|
|
|
-Version: 0.5.4
|
|
|
-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
|
|
|
-
|
|
|
-BuildRequires: python-devel
|
|
|
-BuildRequires: python-setuptools
|
|
|
-
|
|
|
-%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 Aug 16 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.4-1
|
|
|
-- initial build for VineSeed
|