rpms/python-rabbyt/F-9 Rabbyt-compile.patch, NONE, 1.1 import.log, NONE, 1.1 python-rabbyt.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Simon Wesp cassmodiah at fedoraproject.org
Tue Oct 28 15:11:54 UTC 2008


Author: cassmodiah

Update of /cvs/pkgs/rpms/python-rabbyt/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12628/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	Rabbyt-compile.patch import.log python-rabbyt.spec 
Log Message:


Rabbyt-compile.patch:

--- NEW FILE Rabbyt-compile.patch ---
--- Rabbyt-0.8.2/setup.py.old	2008-10-22 06:28:17.000000000 +0200
+++ Rabbyt-0.8.2/setup.py	2008-10-22 06:27:15.000000000 +0200
@@ -43,7 +43,7 @@
 
         transform = {}
         exclude = []
-        compile_args = ["-O3"]
+        compile_args = []
         link_args = []
         if sys.platform == "win32":
             transform = {'GL':'opengl32', 'GLU':'glu32'}


--- NEW FILE import.log ---
python-rabbyt-0_8_2-4_fc10:F-9:python-rabbyt-0.8.2-4.fc10.src.rpm:1225206616


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

%define srcname Rabbyt
%define eggname rabbyt
%define pyv py2.5

Name:           python-rabbyt
Version:        0.8.2
Release:        4%{?dist}
Summary:        Sprite library for Python

Group:          System Environment/Libraries
License:        MIT
URL:            http://matthewmarshall.org/projects/rabbyt
Source0:        http://pypi.python.org/packages/source/R/%{srcname}/%{srcname}-%{version}.tar.gz
Patch0:         %{srcname}-compile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel
BuildRequires:  python-setuptools-devel
BuildRequires:  mesa-libGL-devel
BuildRequires:  mesa-libGLU-devel
BuildRequires:  Django
BuildRequires:  python-pygments
BuildRequires:  python-docutils
Requires:       python-pygame


%description
Rabbyt is a sprite library for Python with game development in mind.
It has two goals:

* To be fast, without sacrificing ease of use.
* To be easy to use, without sacrificing speed.

Rabbyt makes it very easy to create lots of sprites very 
fast that run very fast with little code.


%prep
%setup -q -n %{srcname}-%{version}
%patch0 -p1 -b .compile


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf %{buildroot}

%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%{__chmod} -R u=rwX,go=rX %{buildroot}%{python_sitearch}/%{eggname}

# sorry, but i didn't find a better way to build the docs, because 
# the rabbyt is a dependency of rabbyt-docs
cd docs;  PYTHONPATH=%{buildroot}%{python_sitearch} %{__python} make_docs.py; cd ..


%clean
rm -rf %{buildroot}

%check
cd tests
export PYTHONPATH=%{buildroot}%{python_sitearch}
# some tests do not run due to rounding problems
#%%{__python} anim_tests.py
#%%{__python} collisions_tests.py
#%%{__python} sprite_tests.py
%{__python} test_quad.py


%files
%defattr(-,root,root,-)
%doc CHANGELOG COPYING INSTALL README THANKS
%doc docs/rabbyt
%doc examples
%{python_sitearch}/%{eggname}
%{python_sitearch}/%{srcname}-%{version}-%{pyv}.egg-info


%changelog
* Thu Oct 23 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.8.2-4
- Correct spec bug #458345 c12 c14

* Wed Oct 22 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.8.2-3
- Build documentation.
- Pack examples.
- Try to run some tests.

* Wed Oct 22 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.8.2-2
- Add Patch0 (again)

* Mon Sep 08 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.8.2-1
- New upstream release

* Mon Aug 11 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.8.1-3
- Correct Patch0

* Sun Aug 10 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.8.1-2
- Change name to python-rabbit to honor the Python Naming Guidelines

* Thu Aug 07 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.8.1-1
- Initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-rabbyt/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Oct 2008 04:21:34 -0000	1.1
+++ .cvsignore	28 Oct 2008 15:11:24 -0000	1.2
@@ -0,0 +1 @@
+Rabbyt-0.8.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-rabbyt/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Oct 2008 04:21:34 -0000	1.1
+++ sources	28 Oct 2008 15:11:24 -0000	1.2
@@ -0,0 +1 @@
+b8a90d1793ce37fdac47f54aa08a94f4  Rabbyt-0.8.2.tar.gz




More information about the fedora-extras-commits mailing list