Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 213616
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Chemistry-Related Packages <sci-chemistry@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Justin Lecher (jlec) <jlec@j-schmitz.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pymol-1.0-r2.ebuild pymol-1.0-r2.ebuild text/plain Justin Lecher (jlec) 2008-03-16 18:15 0000 2.40 KB Details
pymol-1.0-r2.ebuild pymol-1.0-r2.ebuild text/plain Justin Lecher (jlec) 2008-03-22 18:51 0000 2.42 KB Details
pymol.diff pymol-1.0-r1.ebuild patch patch Justin Lecher (jlec) 2008-03-23 11:31 0000 3.04 KB Details | Diff
pymol.diff pymol.diff text/plain Justin Lecher (jlec) 2008-03-24 18:43 0000 3.09 KB Details
pymol.diff pymol.diff patch Justin Lecher (jlec) 2008-03-30 17:26 0000 3.10 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 213616 depends on: 213346 Show dependency tree
Bug 213616 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: 2008-03-16 18:14 0000
As the native install of pymol provides a plugin interface for apbs, it should
depend. Second for the right functionality of apbs with pymol two env variables
should be set. From the ideas discussed in bug #213346 I rewrote the ebuild a
little bit and introduced the USE flag apbs. It makes pymol depend on
sci-chemistry/apbs and for the USE="-apbs" it removes the plugin.

Additionally I added the python_mod_cleanup in the pkg_postrm section.

Reproducible: Always

------- Comment #1 From Justin Lecher (jlec) 2008-03-16 18:15:13 0000 -------
Created an attachment (id=146328) [details]
pymol-1.0-r2.ebuild

------- Comment #2 From Justin Lecher (jlec) 2008-03-22 18:51:20 0000 -------
Created an attachment (id=146934) [details]
pymol-1.0-r2.ebuild

Made it some more portable.

------- Comment #3 From Markus Dittrich 2008-03-23 11:06:10 0000 -------
Hi Justin,

That looks good, thanks much for your work. In general, it is better 
to post a diff to an exisiting ebuild rather than the ebuild itself since
it is much easier to spot the differences that way! Unless of course
the changes are very significant.

I think you can pull the line
APBS_VER="$(best_version sci-chemistry/apbs | cut -d/ -f2)"
into the "if use apbs" conditional later on.

Also, I will try to have apbs install its files into /usr/share/apbs
rather than apbs-<version>. Otherwise pymol will hard depend on a
particular apbs version forcing a recompile of pymol 
every time apbs will be bumped. In that case you can get rid
of the APBS_VER alltogether and replace it by just apbs.
I'll post back once this is done.

cheers,
Markus

------- Comment #4 From Justin Lecher (jlec) 2008-03-23 11:31:06 0000 -------
(In reply to comment #3)
> I think you can pull the line
> APBS_VER="$(best_version sci-chemistry/apbs | cut -d/ -f2)"
> into the "if use apbs" conditional later on.
It must be in in the conditional, because there is no reason to have a
"best_version sci-chemistry/apbs". I changed the lines and at a diff.

------- Comment #5 From Justin Lecher (jlec) 2008-03-23 11:31:13 0000 -------
Created an attachment (id=146996) [details]
pymol-1.0-r1.ebuild patch

Now a diff.

------- Comment #6 From Markus Dittrich 2008-03-23 14:47:25 0000 -------
Cool, thanks!

I changed apbs to install into /usr/share/apbs. 
I did not bump abps to a new revision though, hence users that 
have apbs already installed will need to recompile it to pick up
this change. You may want to add a few einfo lines pointing
this out (probably wrapped in a "if use apbs") to the ebuild.

Thanks,
Markus

------- Comment #7 From Justin Lecher (jlec) 2008-03-24 18:38:53 0000 -------
Hi Markus!

I changed the lines and added the ewarn. Hope the test case is legal. If not,
please correct me.

Thanks,
Justin

------- Comment #8 From Justin Lecher (jlec) 2008-03-24 18:43:56 0000 -------
Created an attachment (id=147156) [details]
pymol.diff

------- Comment #9 From Justin Lecher (jlec) 2008-03-30 17:26:20 0000 -------
Created an attachment (id=147706) [details]
pymol.diff

Forgott some dependencies.

------- Comment #10 From Donnie Berkholz 2008-07-07 04:40:35 0000 -------
Fixed in the science overlay. I noticed your ebuild had some apbs variables
commented out, so could you clarify the status of bug #213346 on that bug?

------- Comment #11 From Justin Lecher (jlec) 2008-07-07 07:23:49 0000 -------
The updated version of the apbs plugin allows to define default locations
inside the plugin. I set the right paths there so that there is no need to set
them somewhere else. BUG #213346 is obsolete now.

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