From owner-svn-ports-head@freebsd.org Mon Jan 25 19:58:04 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B1B04EFAC8; Mon, 25 Jan 2021 19:58:04 +0000 (UTC) (envelope-from rene@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DPgdm0HkYz3FWc; Mon, 25 Jan 2021 19:58:04 +0000 (UTC) (envelope-from rene@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1611604684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rQVPwsVFv1mBRmCARct9duW912seMizXpeUJbYFuJkE=; b=b/P0tlFDidVE41Scg3L09eRnNSSio4JVaaNOehOPQhx1AviiJDnO+6EtD0Ht9vLoIV7yRs 9xFFEWDvTUYfXfe5s7ceOqrbrz1wtdXbHe9qMftVORXBQB3PWz1/rzLoyygli4bdqJ6jRW GmuIgOs2KFg3a86rP3GtB9My3GZAdavIKPCqMRQGB6QQoyARDkhLcgleJx6gKoTD86zfZx L9DG/kT9ijjKQZ5rVCHRDSyBmGoT05RKEIm90AXIycrWVmkguRvDV9PdBXfYUuLslIdl7g 51/jZBuRblWn93WmZizMQkPA73vhFlr++14OCkvMYciMfYzV8clqI7A02Yc7Kw== Received: by freefall.freebsd.org (Postfix, from userid 1185) id EF0D78DAC; Mon, 25 Jan 2021 19:58:03 +0000 (UTC) Date: Mon, 25 Jan 2021 19:58:03 +0000 From: Rene Ladan To: Mathieu Arnold Cc: Yuri , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r562338 - in head: . graphics graphics/py-mayavi Message-ID: <20210125195803.GA71881@freefall.freebsd.org> References: <202101222043.10MKh3gh024655@repo.freebsd.org> <20210123105803.GA23014@freefall.freebsd.org> <20210123200951.ncngmgojojrm2n5d@aching.in.mat.cc> <20210124000309.GA37534@freefall.freebsd.org> <20210125102046.epi3yuwf5akryw3c@aching.in.mat.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210125102046.epi3yuwf5akryw3c@aching.in.mat.cc> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1611604684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rQVPwsVFv1mBRmCARct9duW912seMizXpeUJbYFuJkE=; b=k4T4hBCYo2VjiKlTOnjj8l838wp/O+whueS3AA1XZR9nFIQfJ0nx4WLKQPRqjvEqTLCrJS SuSRbmrBUsKROkksJ1WhZU7ay4l1FjoYr93feUR36MvLODxwk/0CFxJLP8iYEvGQdRZoVn cstEM/NFgihphxZrrIynM2fonr1By9LnSsnGeyUaxX7kvcPngMQjnjRhHt7RI594B+eomO g+4y7fT1qv0lNNm1BmZ3VnngBjokrV1zpHYVd/ZT1PnRQlPMcnadi/Vn8uAmyOKilDZQp1 LRh/DmfvdflukdIaIdWc9X1DHzZjAdb6rxCfxcD7VAUKRBm3vyRFLmf19gHOxw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1611604684; a=rsa-sha256; cv=none; b=j500/hRqVwZ+zxKKOYp0sIg0TUYAQ0UJ0Y6/pvjT+3HquTthBHfrE+fciKQCVZuqPGrdtM QVCOxgDxSGhMETW4cibRKJuz2gkpsHTWREXojuSB8pAlb0E5YGKr+CawfyIoU9/OVU+mY+ LciQ8JlVm/M3WgoXqYT+V/7VWUhmMKMwKwQdLrqxQxs9cOuTffIFdNa0ibsiGhg06l4/Yw QLd76HF0P0sa95derk4ZlhXkhX72OPA5mNSXBZw5zXywdHtt43MYh3d0yQH2e1eC24yHVc sPRj+DXt0o9ja5/kIZ5fS9ovVoAcY0aX2uSLiKhpZdspiXBFvRiEDsuI8X9sSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2021 19:58:04 -0000 On Mon, Jan 25, 2021 at 11:20:46AM +0100, Mathieu Arnold wrote: > On Sun, Jan 24, 2021 at 12:03:09AM +0000, Rene Ladan wrote: > > On Sat, Jan 23, 2021 at 09:09:51PM +0100, Mathieu Arnold wrote: > > > On Sat, Jan 23, 2021 at 03:14:27AM -0800, Yuri wrote: > > > > On 1/23/21 2:58 AM, Rene Ladan wrote: > > > > > This should be python:3.6+ to prevent the port from using Python 2.7. > > > > > > > > > > > > USE_PYTHON=noflavors should prevent this, no? > > > > > > Nom USES=python:noflavors removes flavors from the port, thus breaking > > > it for any other module that tries to depend on it, it does not removes > > > the fact that it can be built for Python 2.7, which is what is asked > > > here. > > > > > It does "prevent" it if using the default version of Python, because > > that happens to be 3.7 at the moment. > > > > But this workaround is tricky at best. > > It is not a workaround, it removes flavors from the port, so this port > would be unflavored, so any port depending on this port would need to > magically guess that, for absolutely no reason, this port is behaving > differently than all of the other Python modules ports. > Yes (making the port unflavored).. I meant "workaround" here as a way to prevent using Python 2.7. But of course it breaks if people set DEFAULT_VERSIONS to python2.7 for some reason. Rene