SPECS: python-testoob.spec (NEW) - initial release - STBR

maciek2w maciek2w at pld-linux.org
Sat Jan 26 17:48:15 CET 2008


Author: maciek2w                     Date: Sat Jan 26 16:48:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release
- STBR

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

---- Diffs:

================================================================
Index: SPECS/python-testoob.spec
diff -u /dev/null SPECS/python-testoob.spec:1.1
--- /dev/null	Sat Jan 26 17:48:15 2008
+++ SPECS/python-testoob.spec	Sat Jan 26 17:48:10 2008
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+%define		pname	testoob
+Summary:	An advanced unit testing framework for Python
+Summary(pl.UTF-8):	Zaawansowany framework testów jednostkowych dla Pythona
+Name:		python-testoob
+Version:	1.13
+Release:	1
+License:	Apache v2.0
+Group:		Development/Languages/Python
+Source0:	http://dl.sourceforge.net/%{pname}/%{pname}-%{version}.tar.gz
+# Source0-md5:	92cbf328647488ed21a55cfe0f74b2cf
+URL:		http://testoob.sourceforge.net/
+Patch0:		%{pname}-pyo.patch
+BuildRequires:  rpm-pythonprov
+%pyrequires_eq  python-modules
+BuildArch:      noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Testoob is an advanced unit testing framework for Python. It
+integrates effortlessly with existing PyUnit (module "unittest") test
+suites.
+
+%description -l pl.UTF-8
+Testoob jest zaawansowanym frameworkiem testów jednostkowych 
+dla Pythona. Integruje się bezproblemowo z istniejącym środowiskiem 
+do testów PyUnit (moduł "unitest").
+
+%prep
+%setup -q -n %{pname}-%{version}
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--install-purelib=%{py_sitedir}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc docs/CHANGELOG README
+%attr(755,root,root) %{_bindir}/*
+%dir %{py_sitedir}/testoob
+%{py_sitedir}/testoob/*.py[co]
+%{py_sitedir}/testoob/*/*.py[co]
+
+%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  2008-01-26 16:48:10  maciek2w
+- initial release
+- STBR
+
================================================================


More information about the pld-cvs-commit mailing list