From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3FFF11382C5 for ; Sun, 22 Apr 2018 18:34:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B9BAE085E; Sun, 22 Apr 2018 18:34:45 +0000 (UTC) Received: from very.loosely.org (very.loosely.org [173.255.215.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9D05E0845 for ; Sun, 22 Apr 2018 18:34:44 +0000 (UTC) Received: from [10.8.78.6] (port=44114 helo=matica.foolinux.mooo.com) by ahiker.mooo.com with esmtp (Exim 4.89) (envelope-from ) id 1fAJox-0000CN-Fx for gentoo-user@lists.gentoo.org; Sun, 22 Apr 2018 11:34:43 -0700 Received: from itz by matica.foolinux.mooo.com with local (Exim 4.90_1) (envelope-from ) id 1fAJor-0006u4-1G for gentoo-user@lists.gentoo.org; Sun, 22 Apr 2018 11:34:37 -0700 Date: Sun, 22 Apr 2018 11:34:36 -0700 From: Ian Zimmerman To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Dependencies and PYTHON_TARGETS Message-ID: <20180422183436.vema66qk5wq7zsrc@matica.foolinux.mooo.com> Mail-Followup-To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Loosely-Listed: yes User-Agent: NeoMutt/20170707-dirty (1.8.3) X-Archives-Salt: 13db0aa7-0b95-4eea-b86b-181a2d76ebbe X-Archives-Hash: 287dcfcaea2caa96299554ac9af96c5e 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.