Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 304575 Details for
Bug 445289
Pyrex is out of date (current is 0.9.6.4), missing emacs mode
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
updated .spec file with new version and emacs-pyrex subpackage
Pyrex.spec (text/plain), 6.82 KB, created by
Kyle VanderBeek
on 2008-05-05 22:59:54 UTC
(
hide
)
Description:
updated .spec file with new version and emacs-pyrex subpackage
Filename:
MIME Type:
Creator:
Kyle VanderBeek
Created:
2008-05-05 22:59:54 UTC
Size:
6.82 KB
patch
obsolete
>%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} > >%if %($(pkg-config emacs) ; echo $?) >%define emacs_version 22.1 >%define emacs_lispdir %{_datadir}/emacs/site-lisp >%else >%define emacs_version %(pkg-config emacs --modversion) >%define emacs_lispdir %(pkg-config emacs --variable sitepkglispdir) >%endif > >Name: Pyrex >Version: 0.9.6.4 >Release: 1%{?dist} >Epoch: 0 >BuildArch: noarch >Summary: A compiler/language for writing Python extension modules. >Group: Development/Languages >License: Public Domain >URL: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ >Source0: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-%{version}.tar.gz > >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >BuildRequires: python-devel >BuildRequires: dos2unix >BuildRequires: findutils >BuildRequires: emacs emacs-el >Requires: python-devel > >%description >Pyrex is Python with C types. It is specially designed to allow you to >write extension modules for Python that have the speed of C and the >simplicity and readability of Python. You write your code in a Python-like >language with C-typed variables, then use the pyrexc compiler to transform >it into a C representation. This is useful for speeding up critical sections >of your Python code or wrapping an external library. > >Please see the documentation for how to get the best performance from your >code. > >%package -n emacs-pyrex >Summary: emacs mode for Pyrex >Group: Applications/Editors >BuildArch: noarch >Requires: emacs(bin) >= %{emacs_version} > > >%description -n emacs-pyrex >An emacs mode for editing Pyrex source code. > >%prep >%setup -q > >%build >python setup.py build > ># Remove some Macintosh-isms >find . -name '.DS_Store' -exec rm -f \{\} \; >dos2unix -k -c mac CHANGES.txt ToDo.txt Demos/Makefile.nodistutils Tools/* >find Doc -type f | xargs dos2unix -k -c mac > ># Compile emacs module >emacs -batch -f batch-byte-compile Tools/*.el > >%install >rm -rf $RPM_BUILD_ROOT >python setup.py install --skip-build --root $RPM_BUILD_ROOT --record=INSTALLED_FILES > >mkdir -p $RPM_BUILD_ROOT/%{emacs_lispdir} >cp Tools/pyrex-mode.* $RPM_BUILD_ROOT/%{emacs_lispdir} > ># Add directories to the INSTALLED_FILES >find $RPM_BUILD_ROOT%{python_sitelib}/Pyrex -type d -print | \ >sed "s|$RPM_BUILD_ROOT|%dir |g" >>INSTALLED_FILES > >%clean >rm -rf $RPM_BUILD_ROOT > >%files -f INSTALLED_FILES >%defattr(0644,root,root,0755) >%doc USAGE.txt README.txt CHANGES.txt ToDo.txt Demos Doc > >%defattr(-,root,root,-) >%{python_sitelib}/Pyrex/*.pyo >%{python_sitelib}/Pyrex/Compiler/*.pyo >%{python_sitelib}/Pyrex/Distutils/*.pyo >%{python_sitelib}/Pyrex/DistutilsOld/*.pyo >%{python_sitelib}/Pyrex/Plex/*.pyo >%{python_sitelib}/Pyrex/Unix/*.pyo >%exclude %{python_sitelib}/Pyrex/Mac > >%files -n emacs-pyrex >%defattr(-,root,root,-) >%{emacs_lispdir}/* > > >%changelog >* Mon May 5 2008 Kyle VanderBeek <kylev@kylev.com> - 0:0.9.6.4-1 >- Update to 0.9.6.4 >- Add sub-package for emacs mode. > >* Tue Jun 26 2007 Matthew Barnes <mbarnes@redhat.com> - 0:0.9.5.1a-1.fc8 >- Update to 0.9.5.1a >- Remove Pyrex-0.9.4-fix-indent.patch (fixed upstream). >- Remove pyrex-python-2.5.patch (fixed upstream). > >* Wed Jan 3 2007 David Zeuthen <davidz@redhat.com> - 0:0.9.4-4%{?dist} >- include a patch so Pyrex works with python 2.5 > >* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0:0.9.4-2 >- rebuild against python 2.5 > >* Fri Sep 22 2006 Matthew Barnes <mbarnes@redhat.com> - 0.8.4-2.fc6 >- Don't %ghost .pyo files (bug #205445). > >* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.9.4-1.1 >- rebuild > >* Wed Apr 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.9.4-1 >- Upgrade to upstream 0.9.4 > >* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> >- rebuilt > >* Wed Oct 26 2005 John (J5) Palmieri <johnp@redhat.com> - 0.9.3.1-2 >- Remove lib64 hack since this is a noarch package >- use python_sitelib script for determining where to install to > >* Fri Sep 30 2005 John (J5) Palmieri <johnp@redhat.com> - 0.9.3.1-1 >- update to 0.9.3.1 >- remove gcc4 patch which is incorporated in this release > >* Tue Mar 22 2005 Jeremy Katz <katzj@redhat.com> - 0.9.3-0 >- update to 0.9.3 >- add patch to fix generated code to build with gcc4 >- require python-abi and python-devel instead of conflicting with > newer python-devel > >* Mon Nov 8 2004 Jeremy Katz <katzj@redhat.com> - 0:0.9.2.1-3 >- rebuild against python 2.4 > >* Wed Aug 18 2004 John (J5) Palmieri <johnp@redhat.com> - 0:0.9.2.1-2 >- Added Steve Grubb's spec file patch (RH Bug #130200) > >* Fri Jun 25 2004 John (J5) Palmieri <johnp@redhat.com> - 0:0.9.2.1-1 >- New upstream version >- Pyrex-0.9-split-base-types.patch synced for new version > >* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> >- rebuilt > >* Fri Jun 03 2004 John (J5) Palmieri <johnp@redhat.com> - 0:0.9-5 >- Built to rawhide > >* Wed May 19 2004 Florian La Roche <Florian.LaRoche@redhat.de> >- use rpm macros to determine lib64 usage > >* Fri Apr 23 2004 John (J5) Palmieri <johnp@redhat.com> - 0:0.9-3 >- Added Pyrex-0.9-split-base-types.patch which fixes > long unsigned int bug showing up in dbus python binding > builds for the x86_64 arch >- Added regex hack to spec to work around a bug in python's > distutils which would install files into /usr/lib instead of > /usr/lib64 on 64 bit archs > >* Mon Apr 19 2004 John (J5) Palmieri <johnp@redhat.com> - 0:0.9-2 >- Was informed that the epoch change was not needed so the epoch > was reverted back to 0 > >* Mon Apr 19 2004 John (J5) Palmieri <johnp@redhat.com> - 1:0.9-1 >- Upped the epoch so as to avoid clashes with the Fedora extra package > >* Mon Apr 19 2004 John (J5) Palmieri <johnp@redhat.com> - 0:0.9-1 >- Transfered to Red Hat Fedora's main tree >- Removed need for LONG_LONG patch > >* Mon Feb 02 2004 Toshio Kuratomi <toshio@tiki-lounge.com> - 0:0.9-0.fdr.4 >- Removed the site-packages directory from the directories owned by the > package > >* Mon Feb 02 2004 Toshio Kuratomi <toshio@tiki-lounge.com> - 0:0.9-0.fdr.3 >- My mistake: rpm automatically removes %%ghost files, no need to script > it manually. >- python distutils --record=FILE option doesn't record directories so include > the site-packages/[directories] manually > >* Thu Jan 15 2003 Toshio Kuratomi <toshio@tiki-lounge.com> - 0:0.9-0.fdr.2 >- Merge changes from Michel Alexandre Salim <salimma[AT]users.sf.net> > + Require build system's python version because directories are named > pythonX.Y > + Create *.pyo files and %ghost them (Privleged user with python optimize > turned on may generate them, but they aren't needed for operation. > + Do not include the Mac Pyrex compiler stuff > + Change license to Public Domain >- Script to remove any %%ghost files on package removal >- Patch around an incompatible change between python 2.2 and python 2.3's > definition of LONG_LONG being renamed to PY_LONG_LONG > >* Fri Jan 09 2003 Toshio Kuratomi <toshio@tiki-lounge.com> - 0:0.9-0.fdr.1 >- Initial RPM release.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 445289
:
304575
|
304578
|
304579