diff options
| author | Michel Alexandre Salim <michel.salim@cs.fau.de> | 2011-04-07 18:28:47 +0200 |
|---|---|---|
| committer | Michel Alexandre Salim <michel.salim@cs.fau.de> | 2011-04-07 18:28:47 +0200 |
| commit | 5b1bad506e7f71567033d13794630b2b9582ebf3 (patch) | |
| tree | a4bdd8582c8a3899830d7c541b0879d5cf00e9d0 /python/python-testtools.spec | |
| parent | 1c62a78a5a104c3d6571ef025bee3197ca018fed (diff) | |
| download | specs-5b1bad506e7f71567033d13794630b2b9582ebf3.tar.gz specs-5b1bad506e7f71567033d13794630b2b9582ebf3.tar.xz specs-5b1bad506e7f71567033d13794630b2b9582ebf3.zip | |
queue python-testtools for review
Diffstat (limited to 'python/python-testtools.spec')
| -rw-r--r-- | python/python-testtools.spec | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/python/python-testtools.spec b/python/python-testtools.spec new file mode 100644 index 0000000..c075ad1 --- /dev/null +++ b/python/python-testtools.spec @@ -0,0 +1,42 @@ +# sitelib for noarch packages, sitearch for others (remove the unneeded one) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} + +Name: python-testtools +Version: 0.9.8 +Release: 1%{?dist} +Summary: Extensions to the Python unit testing framework + +License: MIT +URL: https://launchpad.net/testtools +Source0: http://pypi.python.org/packages/source/t/testtools/testtools-0.9.8.tar.gz + +BuildArch: noarch +BuildRequires: python-devel + +%description +testtools is a set of extensions to the Python standard library's unit testing +framework. + + +%prep +%setup -q -n testtools-%{version} + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%files +%doc LICENSE HACKING MANUAL NEWS README +%{python_sitelib}/* + + +%changelog +* Thu Apr 7 2011 Michel Salim <salimma@fedoraproject.org> - 0.9.8-1 +- Initial package + |
