Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 22235
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: George Shapovalov <george@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Todd Geders <geders@purdue.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pymol.tar.bz2 pymol-0.88 ebuild application/octet-stream Ben Cornett 2003-06-11 05:57 0000 1.29 KB Details
testcase 'emerge pymol' output text/plain Todd Geders 2003-06-11 10:01 0000 147.63 KB Details
pymol.tar.bz2 pymol-0.88.ebuild application/octet-stream Ben Cornett 2003-06-11 11:27 0000 1.57 KB Details
pymol.tar.bz2 pymol-0.88 ebuild application/octet-stream Ben Cornett 2003-06-16 08:05 0000 1.58 KB Details
pymol-0.88.ebuild pymol 0.88 ebuild text/plain Ben Cornett 2003-06-19 19:45 0000 923 bytes Details
nosplash-gentoo.patch Turns off opening picture of Warren (sorry Warren). patch Ben Cornett 2003-06-19 19:47 0000 332 bytes Details | Diff
setup2.py-gentoo.patch Get installation script to play nice with portage patch Ben Cornett 2003-06-19 19:48 0000 493 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 22235 depends on: Show dependency tree
Bug 22235 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-06-04 16:27 0000
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 From Ben Cornett 2003-06-11 05:57:24 0000 -------
Created an attachment (id=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 From Todd Geders 2003-06-11 09:52:10 0000 -------
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 From Todd Geders 2003-06-11 10:01:22 0000 -------
Created an attachment (id=13114) [details]
'emerge pymol' output

------- Comment #4 From Ben Cornett 2003-06-11 11:27:09 0000 -------
Created an attachment (id=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 From Ben Cornett 2003-06-16 08:05:03 0000 -------
Created an attachment (id=13364) [details]
pymol-0.88 ebuild

Small fix that causes a failure when you attempt to re-emerge the package.

------- Comment #6 From Ben Cornett 2003-06-16 08:06:15 0000 -------
s/fix/fix for a bug/

------- Comment #7 From Todd Geders 2003-06-19 15:23:45 0000 -------
latest ebuild works for me now...

------- Comment #8 From George Shapovalov 2003-06-19 15:34:19 0000 -------
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 From Ben Cornett 2003-06-19 19:45:51 0000 -------
Created an attachment (id=13580) [details]
pymol 0.88 ebuild

------- Comment #10 From Ben Cornett 2003-06-19 19:47:06 0000 -------
Created an attachment (id=13581) [details]
Turns off opening picture of Warren (sorry Warren).

------- Comment #11 From Ben Cornett 2003-06-19 19:48:19 0000 -------
Created an attachment (id=13582) [details]
Get installation script to play nice with portage

------- Comment #12 From Ben Cornett 2003-06-19 19:50:54 0000 -------
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 From George Shapovalov 2003-06-19 21:53:53 0000 -------
Thanks for quick responce.
I have processed and committed the ebuild.
Please test.

George

------- Comment #14 From Todd Geders 2003-06-20 09:16:24 0000 -------
Ebuild in portage is working for our dept

------- Comment #15 From Peter Bienstman (RETIRED) 2004-02-29 08:30:46 0000 -------
Closing this bug as fixed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug