File pyrex.spec of Package pyrex
#
# spec file for package pyrex (Version 0.9.8.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pyrex
BuildRequires: pkgconfig python-devel
Url: http://nz.cosc.canterbury.ac.nz/~greg/python/Pyrex/
License: Use, redistribute, modify, distribute modified versions
Group: Development/Languages/Python
Version: 0.9.8.5
Release: 2
AutoReqProv: on
Summary: lets you write code that mixes Python and C data types, and compiles it into a C extension for Python
Source0: Pyrex-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%description
Pyrex is a language specially designed for writing Python extension
modules. It's designed to bridge the gap between the nice, high-level,
easy-to-use world of Python and the messy, low-level world of C.
http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
Authors:
--------
Greg Ewing (greg@cosc.canterbury.ac.nz )
%prep
%setup -n Pyrex-%{version} -q
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-, root, root)
%doc *.txt Doc/*
%doc Demos
%changelog
* Tue Feb 17 2009 thoenig@suse.de
- use bzip2 rather than gzip
* Tue Feb 17 2009 riggwelter@opensuse.org
- new upstream version 0.9.8.5
* consistency with the way automatic conversions are done
elsewhere.
* Support for string and tuple exceptions dropped.
* Calls to many of the builtin functions are now compiled as
direct calls to Python/C API routines.
* Augmented assignment operators (+=, etc.) are now supported.
* Dependency files are only created when compiling with
timestamp checking or recursion enabled.
* Lots more features, enhancements and bug fixes, full list at
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/CHANGES.txt
- drop all patches
* Thu Mar 01 2007 thoenig@suse.de
- new upstream version 0.9.5.1a
- drop patch pyrex-python-2.5.patch
* Wed Nov 15 2006 thoenig@suse.de
- add patch pyrex-python-2.5.patch: make Pyrex run properly on
Python 2.5 (patch by Stefan Behnel)
- fixes b.n.c #221342
* Tue Aug 01 2006 thoenig@suse.de
- add patch pyrex-initialize-lineno-thoenig-01.patch to avoid
creation of C code which uses uninitialized variables
* Thu Jul 27 2006 thoenig@suse.de
- new version: new upstream version 0.9.4.1
- drop pyrex-try_finally-thoenig-01.patch
- closes b.n.c #194372
* Tue Feb 28 2006 jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Dec 17 2005 thoenig@suse.de
- new version: new upstream version 0.9.3.1
- added patch:
* pyrex-try_finally-thoenig-01.patch: fix Pyrex compiler to
initialize local variables for try, finally structures
- removed patch:
* pyrex-0.9.2.1-gcc4.patch
* Fri Jul 01 2005 kay.sievers@suse.de
- gcc4 patch from RH
* Wed Nov 24 2004 mcihar@suse.cz
- use just distutils and no other magic
* Wed Nov 24 2004 dkukawka@suse.de
- changed '%%define python_site' due to new python-version
* Thu Nov 04 2004 thoenig@suse.de
- initial rpm for suse