]> git.pld-linux.org Git - packages/pylint.git/commitdiff
- -
authorwrobell <wrobell@pld-linux.org>
Mon, 1 Sep 2003 14:27:18 +0000 (14:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pylint.spec -> 1.1

pylint.spec [new file with mode: 0644]

diff --git a/pylint.spec b/pylint.spec
new file mode 100644 (file)
index 0000000..f2ce9a0
--- /dev/null
@@ -0,0 +1,41 @@
+
+%include       /usr/lib/rpm/macros.python
+
+Summary:       Python tool that checks if a module satisfy a coding standard
+Name:          pylint
+Version:       0.1.2
+Release:       0.1
+License:       GPL
+Group:         Development/Languages/Python
+Source0:       ftp://ftp.logilab.fr/pub/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: ac8e90069fefa7fb35b003507856cf34
+URL:           http://www.logilab.org/projects/%{name}/view
+BuildRequires: python-modules >= 2.2.1
+BuildRequires: rpm-pythonprov
+Requires:      python-logilab-common
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python tool that checks if a module satisfy a coding standard.
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm -f {} \;
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog TODO
+%attr(755,root,root) %{_bindir}/*
+%{py_sitedir}/*
This page took 0.179663 seconds and 4 git commands to generate.