First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 212830
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2008-03-09 15:15 0000
I suppose a python USE flag linked to --with/--without-python would be a good
idea there.

Also, it does not use the usual postinst/postrm functions for python code so
pyc/pyo files are orphaned after removal.

------- Comment #1 From Daniel Gryniewicz 2008-03-09 15:24:05 0000 -------
Is there a reason to make the bindings optional?  It's not like you can have a
system without python...

------- Comment #2 From Daniel Gryniewicz 2008-03-09 15:24:27 0000 -------
(the postinst/postrm need to be fixed, tho)

------- Comment #3 From Diego Pettenò 2008-03-09 16:18:44 0000 -------
When you build for ROOT you _can_ have a system without Python. Think embedded
systems.

------- Comment #4 From Daniel Gryniewicz 2008-03-09 16:55:40 0000 -------
Sure, and such a system won't install the bindings, because it doesn't have
python.  I'm against adding use flags if they don't change the deps.

------- Comment #5 From Diego Pettenò 2008-03-09 17:09:53 0000 -------
No such a system _will_ install the bindings because there _is_ python on
ROOT=/ .

It's an automagic dep right now, add a python? ( dev-lang/python ) dependency
like almost any other package with optional python bindings has and it will be
fine.

Also, why should I install python bindings I'm not ever going to use? This is
what we do already for almost everything else on the tree by the way.

------- Comment #6 From Rémi Cardona 2008-03-10 09:02:27 0000 -------
If nothing in the tree uses the python bindings to gamin, we might as well use
--without-python and be done with it.

What say you?

------- Comment #7 From Tiziano Müller 2008-03-10 13:31:31 0000 -------
what about users having developing something using those bindings?
Or using an overlay with a package depending on it?
Insert that python USE-flag and dependency like everyone else!

------- Comment #8 From Gilles Dartiguelongue 2008-04-05 16:09:18 0000 -------
fixed in -r1.

------- Comment #9 From Gilles Dartiguelongue 2008-04-05 16:11:15 0000 -------
and in case anyone wonder why there is no postrm/postinst, it is because gamin
doesn't install .py, just bindings

------- Comment #10 From Gilles Dartiguelongue 2008-04-05 19:50:23 0000 -------
correction, I didn't see the .py so it's now fixed.

------- Comment #11 From Arfrever Frehtes Taifersar Arahesis 2008-04-06 14:15:30 0000 -------
"${ROOT}" probably should be used also for python_mod_cleanup in pkg_postrm().

------- Comment #12 From Gilles Dartiguelongue 2008-04-06 22:48:57 0000 -------
(In reply to comment #11)
> "${ROOT}" probably should be used also for python_mod_cleanup in pkg_postrm().
> 

no there is no need to in pkg_postrm.

First Last Prev Next    No search results available      Search page      Enter new bug