public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Dependencies and PYTHON_TARGETS
@ 2018-04-22 18:34 Ian Zimmerman
  2018-04-22 15:08 ` Alec Ten Harmsel
  0 siblings, 1 reply; 12+ messages in thread
From: Ian Zimmerman @ 2018-04-22 18:34 UTC (permalink / raw
  To: gentoo-user

I am still on the 2013 profile, and I therefore have
PYTHON_TARGETS=python2_7 python3_5.

The other day I had to install python 3.6 for reasons unrelated to
portage or other packages.  I thought I would reduce my overall snake
footprint by removing 3.5 _if_ it wasn't really necessary anymore.  To
that end, I removed the line

dev-lang/python:3.5

from /etc/portage/world, and then I did emerge --depclean.  I was
somewhat surprised when portage charged ahead and removed python 3.5,
but I said ok maybe it automatically changed the TARGETS of the
dependencies and they will be rebuilt next time.  But _no_, checks with
equery and emerge -p show that all python code providing packages still
have python_targets_python3_5 on, and python_targets_python3_6 off.

This is disappointing.  It looks like I have to do 2 things manually:

* set PYTHON_TARGETS="python2_7 python3_6" - where?  In make.conf?  Will
  it override the profile setting?

* make sure dev-lang/python:3.6 stays in the world file, even if it is
  not needed by me directly

Or I am badly confused as I often am ;-)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-04-24  6:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-22 18:34 [gentoo-user] Dependencies and PYTHON_TARGETS Ian Zimmerman
2018-04-22 15:08 ` Alec Ten Harmsel
2018-04-23  1:44   ` [gentoo-user] " Ian Zimmerman
2018-04-23  7:31     ` Neil Bothwick
2018-04-23 15:37       ` Ian Zimmerman
2018-04-23 19:15         ` Neil Bothwick
2018-04-23 22:10           ` Mike Gilbert
2018-04-23 23:46             ` Neil Bothwick
2018-04-24  6:34               ` Poncho
2018-04-23  9:54     ` Alec Ten Harmsel
2018-04-23 15:31       ` Ian Zimmerman
2018-04-23 16:07         ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox