SPECS: python-TestGears.spec (NEW) - new
arekm
arekm at pld-linux.org
Fri Dec 9 22:08:11 CET 2005
Author: arekm Date: Fri Dec 9 21:08:11 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-TestGears.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-TestGears.spec
diff -u /dev/null SPECS/python-TestGears.spec:1.1
--- /dev/null Fri Dec 9 22:08:11 2005
+++ SPECS/python-TestGears.spec Fri Dec 9 22:08:02 2005
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+
+%define module TestGears
+
+Summary: TestGears extensions to unittest
+Name: python-TestGears
+Version: 0.2
+Release: 1
+License: GPL
+Group: Development/Languages/Python
+Source0: http://www.turbogears.org/download/eggs/TestGears-%{version}-py2.4.egg
+# Source0-md5: 2c9393c63bafa0c69d781eb9458febe5
+URL: http://www.turbogears.org/testgears/
+%pyrequires_eq python
+BuildRequires: python-devel
+BuildRequires: unzip
+BuildRequires: python-setuptools
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+TestGears provides automatic discovery of unittest.TestCases and the
+ability to run tests that are written as simple functions. It
+generates a standard unittest.TestSuite for use with any of the
+standard frontends, and provides a distutils command to run tests with
+zero configuration.
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{_bindir}/easy_install \
+ --no-deps \
+ --script-dir="$RPM_BUILD_ROOT%{_bindir}" \
+ --install-dir="$RPM_BUILD_ROOT%{py_sitescriptdir}" \
+ --always-unzip \
+ %{SOURCE0}
+
+%py_postclean
+
+echo '%{module}-%{version}-py%{py_ver}.egg' > $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.pth
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/%{module}*
+
+%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/12/09 21:08:02 arekm
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list