Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22235 - Pymol-0.88 out
Summary: Pymol-0.88 out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-06-04 16:27 UTC by Todd Geders
Modified: 2004-02-29 08:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pymol-0.88 ebuild (pymol.tar.bz2,1.29 KB, application/octet-stream)
2003-06-11 05:57 UTC, Ben Cornett
Details
'emerge pymol' output (testcase,147.63 KB, text/plain)
2003-06-11 10:01 UTC, Todd Geders
Details
pymol-0.88.ebuild (pymol.tar.bz2,1.57 KB, application/octet-stream)
2003-06-11 11:27 UTC, Ben Cornett
Details
pymol-0.88 ebuild (pymol.tar.bz2,1.58 KB, application/octet-stream)
2003-06-16 08:05 UTC, Ben Cornett
Details
pymol 0.88 ebuild (pymol-0.88.ebuild,923 bytes, text/plain)
2003-06-19 19:45 UTC, Ben Cornett
Details
Turns off opening picture of Warren (sorry Warren). (nosplash-gentoo.patch,332 bytes, patch)
2003-06-19 19:47 UTC, Ben Cornett
Details | Diff
Get installation script to play nice with portage (setup2.py-gentoo.patch,493 bytes, patch)
2003-06-19 19:48 UTC, Ben Cornett
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Geders 2003-06-04 16:27:16 UTC
New version of pymol is out (0.88).  Appears you can just rename the ebuild as
before and it works...

http://www.pymol.org
Comment 1 Ben Cornett 2003-06-11 05:57:24 UTC
Created attachment 13102 [details]
pymol-0.88 ebuild

Here is an ebuild for version 0.88.
I don't know whether or not simply renaming the 0.86 ebuild works, but this new
ebuild uses the distutils support that exists in version 0.88, so it is quite a
bit different than the 0.86 ebuild.

Cheers,

Ben
Comment 2 Todd Geders 2003-06-11 09:52:10 UTC
Tested out the ebuild, compiles fine, but if you try to run it you get:

[/home/geders ]$ pymol
/usr/bin/python: can't open file '/var/tmp/portage/pymol-0.88/image/usr/lib/python2.2/site-packages/pymol/__init__.py'

Looks like a path problem...
Comment 3 Todd Geders 2003-06-11 10:01:22 UTC
Created attachment 13114 [details]
'emerge pymol' output
Comment 4 Ben Cornett 2003-06-11 11:27:09 UTC
Created attachment 13120 [details]
pymol-0.88.ebuild 

Yes it was a path problem.  It should be fixed in the new attachment.  Believe
it or not I did test the original before uploading it ;-)

After looking at the code for the `dosed' command I realized two things: (1) I
had been using it wrong in the first upload, and (2) it had worked for me
because I hadn't clean out /var/tmp/portage/pymol-0.88/image prior to testing
the first ebuild.  Ooops.

On a more general note, `dosed' seems rather broken to me.  I would image that
one most frequently uses it when presented with the situation I had when
writing the pymol ebuild --- namely, you have a path like this

/var/tmp/portage/pymol-0.88/image/usr/lib/python2.2/site-packages/pymol/__init__.py


and you want to strip off the image dir portion.  Well, dosed strips out ${D}
for you, but ${D} includes a trailing slash (/).  So you get this

usr/lib/python2.2/site-packages/pymol/__init__.py

Not good.

Ben
Comment 5 Ben Cornett 2003-06-16 08:05:03 UTC
Created attachment 13364 [details]
pymol-0.88 ebuild

Small fix that causes a failure when you attempt to re-emerge the package.
Comment 6 Ben Cornett 2003-06-16 08:06:15 UTC
s/fix/fix for a bug/
Comment 7 Todd Geders 2003-06-19 15:23:45 UTC
latest ebuild works for me now...
Comment 8 George Shapovalov (RETIRED) gentoo-dev 2003-06-19 15:34:19 UTC
Hi guys.

Ben: Thanks for the reworked ebuild. However could you please submit ebuild and the patch[es] as a separate attachmentes (text files) and not a tar file? It is much easier to handle it this way (do not worry about digests and Manifest - I will regenerate them anyway).
Also, I noticed that you created 0.88 dir under files to keep patches. Is this really necessary just for the two of them? You can add $PV to their names, or if you want to keep the count of files down, even combine them in a single patch.
Could you please reformat the patches as well?

George
Comment 9 Ben Cornett 2003-06-19 19:45:51 UTC
Created attachment 13580 [details]
pymol 0.88 ebuild
Comment 10 Ben Cornett 2003-06-19 19:47:06 UTC
Created attachment 13581 [details, diff]
Turns off opening picture of Warren (sorry Warren).
Comment 11 Ben Cornett 2003-06-19 19:48:19 UTC
Created attachment 13582 [details, diff]
Get installation script to play nice with portage
Comment 12 Ben Cornett 2003-06-19 19:50:54 UTC
George,

Done.  

Yes, I guess the ${PV} subdirectory was unnecessary; it's gone now.  Please let me know if you need anything else.

Cheers,

Ben
Comment 13 George Shapovalov (RETIRED) gentoo-dev 2003-06-19 21:53:53 UTC
Thanks for quick responce.
I have processed and committed the ebuild.
Please test.

George
Comment 14 Todd Geders 2003-06-20 09:16:24 UTC
Ebuild in portage is working for our dept
Comment 15 Peter Bienstman (RETIRED) gentoo-dev 2004-02-29 08:30:46 UTC
Closing this bug as fixed.