SPECS: pyflakes.spec (NEW) - initial

charles charles at pld-linux.org
Fri Nov 18 16:37:25 CET 2005


Author: charles                      Date: Fri Nov 18 15:37:25 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   pyflakes.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pyflakes.spec
diff -u /dev/null SPECS/pyflakes.spec:1.1
--- /dev/null	Fri Nov 18 16:37:25 2005
+++ SPECS/pyflakes.spec	Fri Nov 18 16:37:20 2005
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary:	Passive checker of Python programs
+Name:		pyflakes
+Version:	0.2.1
+Release:	0.1
+License:	MIT
+Group:		Development/Tools
+Source0:	http://www.divmod.org/static/projects/pyflakes/%{name}-%{version}.tar.gz
+# Source0-md5:	e65d9245d706350b3db811280d897f30
+Patch0:		%{name}-IOError.patch
+URL:		http://www.divmod.org/projects/pyflakes
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+%pyrequires_eq	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pyflakes is a simple program which checks Python source files for
+errors. It is similar to PyChecker in scope, but differs in that it
+does not execute the modules to check them. This is both safer and
+faster, although it does not perform as many checks. Unlike PyLint,
+Pyflakes checks only for logical errors in programs; it does not
+perform any checks on style.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python ./setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/pyflakes
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/11/18 15:37:20  charles
+- initial
+
================================================================



More information about the pld-cvs-commit mailing list