Bug 445289

Summary: Pyrex is out of date (current is 0.9.6.4), missing emacs mode
Product: [Fedora] Fedora Reporter: Kyle VanderBeek <kylev>
Component: PyrexAssignee: Matthew Barnes <mbarnes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: nobody
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-07 15:46:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
updated .spec file with new version and emacs-pyrex subpackage
none
Updated .spec with site-start for emacs package
none
emacs site init for pyrex-mode none

Description Kyle VanderBeek 2008-05-05 22:59:54 UTC
Description of problem:
Pyrex has had several updates and bugfixes since the last Fedora packaged
version.  Additionally, the emacs mode included in the distribution isn't being
 packaged.

Version-Release number of selected component (if applicable):
0.9.5.1a

How reproducible:
Always.

Steps to Reproduce:
1. Look at version of Pyrex.
2. Realize that it is old.

I'm including an updated spec file.

Comment 1 Kyle VanderBeek 2008-05-05 22:59:54 UTC
Created attachment 304575 [details]
updated .spec file with new version and emacs-pyrex subpackage

Comment 2 Kyle VanderBeek 2008-05-05 23:42:09 UTC
Don't bother with this yet.  I need to write an auto-load hook file for emacs.

Comment 3 Kyle VanderBeek 2008-05-06 00:03:30 UTC
Created attachment 304578 [details]
Updated .spec with site-start for emacs package

Comment 4 Kyle VanderBeek 2008-05-06 00:04:11 UTC
Created attachment 304579 [details]
emacs site init for pyrex-mode

Comment 5 Matthew Barnes 2008-05-06 00:46:06 UTC
I'm having a different problem with this.  The emacs package names its binary
emacs-22.2, so this command fails:

  "emacs -batch -f batch-byte-compile Tools/*.el"

Not sure how best to address that.  I'd really hate to have to rebuild this
package for every minor version increment of emacs.

Comment 6 Kyle VanderBeek 2008-05-06 02:36:43 UTC
Sounds like you might be getting bit by an "alternatives" bug:
https://bugzilla.redhat.com/show_bug.cgi?id=394131

Properly installed, there will be a plain emacs command.

Comment 7 Kyle VanderBeek 2008-05-06 19:30:29 UTC
I noticed in the build log at
http://koji.fedoraproject.org/packages/Pyrex/0.9.6.4/1.fc10/data/logs/noarch/build.log
that it had trouble figuring out the macros based on the pkg-config command
which wasn't present.  Eventually, this will break things when it can't figure
out the emcas directories.

Should we add a "BuildRequires: pkgconfig"?



Comment 8 Matthew Barnes 2008-05-06 20:11:28 UTC
Done.  How does this look?
http://koji.fedoraproject.org/packages/Pyrex/0.9.6.4/2.fc10/data/logs/noarch/build.log

Comment 9 Kyle VanderBeek 2008-05-06 21:01:00 UTC
Looks good to me!

Comment 10 Matthew Barnes 2008-05-07 15:46:10 UTC
Packages built for Fedora 8 and 9.  The F9 one will have to wait a week and go
out as a post-release update.

Thanks a lot for your help with this, Kyle.  It would have taken me ages to
figure out the emacs stuff.

Comment 11 Fedora Update System 2008-05-07 16:07:35 UTC
Pyrex-0.9.6.4-1.fc8 has been submitted as an update for Fedora 8

Comment 12 Fedora Update System 2008-05-07 16:08:55 UTC
Pyrex-0.9.6.4-1.fc9 has been submitted as an update for Fedora 9

Comment 13 Fedora Update System 2008-05-21 10:59:42 UTC
Pyrex-0.9.6.4-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2008-05-21 11:08:13 UTC
Pyrex-0.9.6.4-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Kyle VanderBeek 2008-06-02 04:04:37 UTC
*** Bug 226339 has been marked as a duplicate of this bug. ***