rpms/pyevent/devel import.log, NONE, 1.1 pyevent-0.3-lib64.patch, NONE, 1.1 pyevent.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Mon Aug 4 19:36:17 UTC 2008
- Previous message (by thread): rpms/qosmic/devel import.log, NONE, 1.1 .cvsignore, 1.5, 1.6 qosmic.spec, 1.8, 1.9 sources, 1.6, 1.7 qosmic-1.3.2-patches.patch, 1.1, NONE
- Next message (by thread): rpms/kernel/devel patch-2.6.27-rc1-git5.bz2.sign, NONE, 1.1 .cvsignore, 1.888, 1.889 kernel.spec, 1.842, 1.843 sources, 1.850, 1.851 upstream, 1.766, 1.767 patch-2.6.27-rc1-git4.bz2.sign, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rnorwood
Update of /cvs/pkgs/rpms/pyevent/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1748/devel
Modified Files:
.cvsignore sources
Added Files:
import.log pyevent-0.3-lib64.patch pyevent.spec
Log Message:
new pyevent module
--- NEW FILE import.log ---
pyevent-0_3-3_fc9:HEAD:pyevent-0.3-3.fc9.src.rpm:1217878521
pyevent-0.3-lib64.patch:
--- NEW FILE pyevent-0.3-lib64.patch ---
Binary files pyevent-0.3-bad/build/lib.linux-x86_64-2.5/event.so and pyevent-0.3/build/lib.linux-x86_64-2.5/event.so differ
Binary files pyevent-0.3-bad/build/temp.linux-x86_64-2.5/event.o and pyevent-0.3/build/temp.linux-x86_64-2.5/event.o differ
diff -ruN pyevent-0.3-bad/setup.py pyevent-0.3/setup.py
--- pyevent-0.3-bad/setup.py 2005-09-11 22:44:04.000000000 -0500
+++ pyevent-0.3/setup.py 2007-12-12 12:32:26.000000000 -0600
@@ -5,11 +5,17 @@
from distutils.core import setup, Extension
import glob, os, sys
+
if glob.glob('/usr/lib/libevent.*'):
print 'found system libevent for', sys.platform
event = Extension(name='event',
sources=[ 'event.c' ],
libraries=[ 'event' ])
+elif glob.glob('/usr/lib64/libevent.*'):
+ print 'found system libevent for', sys.platform
+ event = Extension(name='event',
+ sources=[ 'event.c' ],
+ libraries=[ 'event' ])
elif glob.glob('%s/lib/libevent.*' % sys.prefix):
print 'found installed libevent in', sys.prefix
event = Extension(name='event',
--- NEW FILE pyevent.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_version: %define python_version %(%{__python} -c "import sys; print sys.version[0:3]")}
Name: pyevent
Version: 0.3
Release: 3%{?dist}
Summary: Python bindings for libevent
Group: Development/Languages
License: BSD
URL: http://code.google.com/p/pyevent/
Source0: http://pyevent.googlecode.com/files/pyevent-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: pyevent-0.3-lib64.patch
BuildRequires: python-devel, Pyrex, libevent-devel
%description
Pyevent is the python bindings for libevent which is a generic event system
%prep
%setup -q
# we should build the pyrex sources to make sure
# other using the srpm to make changes can build also
touch event.pyx
%patch0 -p1 -b .lib64
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README LICENSE
%{python_sitearch}/event.so
%{python_sitearch}/event-%{version}-py%{python_version}.egg-info
%changelog
* Tue Jul 29 2008 Robin Norwood <rnorwood at redhat.com> - 0.3-3
- Spec for Fedora package review
* Wed Dec 12 2007 Dennis Gilmore <dennis at ausil.us> - 0.3-2
- apply patch to build on 64 bit systems
* Mon Aug 27 2007 John (J5) Palmieri <johnp at redhat.com> - 0.3-1
- initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyevent/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Aug 2008 18:33:24 -0000 1.1
+++ .cvsignore 4 Aug 2008 19:35:47 -0000 1.2
@@ -0,0 +1 @@
+pyevent-0.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyevent/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Aug 2008 18:33:24 -0000 1.1
+++ sources 4 Aug 2008 19:35:47 -0000 1.2
@@ -0,0 +1 @@
+584912c92d08bf005283fb29a47a6e4d pyevent-0.3.tar.gz
- Previous message (by thread): rpms/qosmic/devel import.log, NONE, 1.1 .cvsignore, 1.5, 1.6 qosmic.spec, 1.8, 1.9 sources, 1.6, 1.7 qosmic-1.3.2-patches.patch, 1.1, NONE
- Next message (by thread): rpms/kernel/devel patch-2.6.27-rc1-git5.bz2.sign, NONE, 1.1 .cvsignore, 1.888, 1.889 kernel.spec, 1.842, 1.843 sources, 1.850, 1.851 upstream, 1.766, 1.767 patch-2.6.27-rc1-git4.bz2.sign, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list