SPECS: python-pyunit.spec (NEW) - new, python testing framework

arekm arekm at pld-linux.org
Tue Mar 21 17:59:21 CET 2006


Author: arekm                        Date: Tue Mar 21 16:59:20 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, python testing framework

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

---- Diffs:

================================================================
Index: SPECS/python-pyunit.spec
diff -u /dev/null SPECS/python-pyunit.spec:1.1
--- /dev/null	Tue Mar 21 17:59:21 2006
+++ SPECS/python-pyunit.spec	Tue Mar 21 17:59:15 2006
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+
+%define 	module	pyunit
+
+Summary:	the standard unit testing framework for Python
+Name:		python-%{module}
+Version:	1.4.1
+Release:	1
+License:	BSD-like
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	658ff16afc469a3898260cc72bbea993
+URL:		http://pyunit.sourceforge.net/
+BuildRequires:	python-devel >= 1:2.3
+Requires:	python >= 2.3
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Lets you write tests easily, aggregate them to run en-masse, and run
+them in text or GUI mode.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build_ext
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/* CHANGES examples
+%{py_sitescriptdir}/*.*
+
+%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  2006/03/21 16:59:15  arekm
+- new, python testing framework
+
+
================================================================


More information about the pld-cvs-commit mailing list