rpms/python-testosterone/devel python-testosterone.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

David Hugh Malcolm dmalcolm at fedoraproject.org
Tue May 26 23:09:50 UTC 2009


Author: dmalcolm

Update of /cvs/pkgs/rpms/python-testosterone/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10309

Modified Files:
	.cvsignore sources 
Added Files:
	python-testosterone.spec 
Log Message:
Initial import



--- NEW FILE python-testosterone.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-testosterone
Version:        0.4.1
Release:        1%{?dist}
Summary:        Text-based UI for running Python unit tests

Group:          Development/Languages
License:        BSD

URL:            http://code.google.com/p/testosterone/
# was at http://www.zetadev.com/software/testosterone/

Source0:        http://www.zetadev.com/software/testosterone/0.4.1/testosterone-0.4.1.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel

%description
Testosterone is a curses-based interface for running python tests written with
the PyUnit testing framework (aka unittest in the standard library).

%prep
%setup -q -n testosterone-%{version}


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
install -m 755 bin/testosterone.py $RPM_BUILD_ROOT/%{_bindir}/testosterone

gzip -c -9 doc/testosterone.1 > testosterone.1.gz
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
install -m 444 testosterone.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/testosterone.1.gz

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README
%{python_sitelib}/*
%{_bindir}/testosterone
%{_mandir}/man1/testosterone.1.gz

%changelog
* Wed May 20 2009 David Malcolm <dmalcolm at redhat.com> - 0.4.1-1
- initial package



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-testosterone/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	26 May 2009 22:40:39 -0000	1.1
+++ .cvsignore	26 May 2009 23:09:19 -0000	1.2
@@ -0,0 +1 @@
+testosterone-0.4.1.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-testosterone/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	26 May 2009 22:40:39 -0000	1.1
+++ sources	26 May 2009 23:09:20 -0000	1.2
@@ -0,0 +1 @@
+da54d644c61ac42214cb373aa01fed56  testosterone-0.4.1.tgz




More information about the fedora-extras-commits mailing list