From nobody Fri Sep 30 05:09:42 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mdyvv2xQdz4V2Yc for ; Fri, 30 Sep 2022 05:09:47 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl3.internode.on.net (ipmail05.adl3.internode.on.net [150.101.137.13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Mdyvs6S6Fz3tww for ; Fri, 30 Sep 2022 05:09:45 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) X-SMTP-MATCH: 0 IronPort-Data: =?us-ascii?q?A9a23=3ACk8Nzq/KPS7pBwPdh5WoDrUDsXyTJUtcMsCJ2?= =?us-ascii?q?f8bNWPcYEJGY0x3xzAdXmyEbPuLYTPxKIwnbozk/UJVu5Xcy9RrG1ZrpClkR?= =?us-ascii?q?iNHo5SeWY6SJRytbnvOdJKbFx5qsMxAN9WQcJg4HlbR90ynWlTDhSAsjfvSG?= =?us-ascii?q?tIQKwJl1hic9maIcQ954f5es7dRbrBA0YDR7zyl4bsek+WHULOU82Yc3lA8s?= =?us-ascii?q?spvmzs31BjGgw70i3RlDRx9UP4yoFFOZH4XDfnZw3IV2eC4FMbiLwrI5OnRE?= =?us-ascii?q?m80Y34Q5t2ZfrbTKiXmQ5bWMAGCh2AQX6+pixwqSi4aiP5gcqNGMwEN0G3Px?= =?us-ascii?q?okZJNZl7PRcTS8HJKDBst8xewJYGidzIqRc9fnNIGrXXcm7kxeaKSqynq4yZ?= =?us-ascii?q?K0xFd1FoL8paY1UztQALyoRdTiNne+7yqm3DO52iawewGPDVG8Ekml41WuCV?= =?us-ascii?q?bN/GNbYX6zW5NQe3TEsi9pIGvrTIc0fLzxicHz9j9R0Eg9/IPoDcC2A3xETq?= =?us-ascii?q?wFllW8=3D?= IronPort-HdrOrdr: =?us-ascii?q?A9a23=3ADD8eOKCkZeIYDLTlHemn55DYdb4zR+YMi2?= =?us-ascii?q?TDpHoBLCC9Ffbo8/xG/c5rtyMc5wx+ZJhNo7u90ey7MBDhHP1OgbX5X43MYO?= =?us-ascii?q?COggLBEGgh1+ffKlbbcREWmNQx6U4tSclDNOE=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DZAgCseDZj/wvmestaHAEBAQEBAQc?= =?us-ascii?q?BARIBAQQEAQFAgU+JS5BnCCmEKJpoCwFTBAEBghKCcwKEbSY4EwECBBUBAQY?= =?us-ascii?q?BAQEBAQcEgRyFdYZCAQEBAQIBIw8BVgkCGAICJgICVxMIAQGCeYJ+I45jmx1?= =?us-ascii?q?6gTKBAYoCgREskCqBA4FNgTwMgnc+hRGDCYJmBJlZJgQOAxkrHUECAQt2GAM?= =?us-ascii?q?UAwUhBwMZDyMNDQQWBwwDAwUlAwICGwcCAgMCBhMFAgJNNAgECAQrJA8FAgc?= =?us-ascii?q?vBQQvAh4EBQYRCAIWAgYEBAQEFQIQCAIIJhcHExgbGQEFWQ4JIRwKBBoNBQY?= =?us-ascii?q?TAyBvBQo4DygvaSsdGwqBDCooFQMEBAMCBhMDAyICECoxFAQpExItBytzCQI?= =?us-ascii?q?DImcFAwMEKCwDCSEfBygkPAdYOgEEAwIQIj0GAwkDAiJZdzERFQUDDRkmCAU?= =?us-ascii?q?jFxsECDwCBQZXEwIKEgMTDwYnTJxqgSukTZ5jgk6BGaAjBkGpBZcNqWGBfjM?= =?us-ascii?q?aIVKCaFAZD50AgSACBgEKAQEDCYo/AQE?= Received: from ppp230-11.static.internode.on.net (HELO leader.local) ([203.122.230.11]) by ipmail05.adl3.internode.on.net with ESMTP; 30 Sep 2022 14:39:43 +0930 From: Shane Ambler Subject: Re: Python version dependencies in pkg To: ports@freebsd.org References: <8B490359-27A3-410C-AE98-C1362D4FA9F0@gushi.org> <89D2B2D7-FA3D-46F5-A93B-4846950A157C@gushi.org> <65597c37-813b-d0ed-ea9f-8591b68cf097@gwdg.de> <20220929083939.Horde.Viq2uLBgUctcrsgmaJxN_1u@webmail.leidinger.net> Message-ID: <13cd8468-a7d4-8ffc-9568-c1ded4c62533@ShaneWare.Biz> Date: Fri, 30 Sep 2022 14:39:42 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Mdyvs6S6Fz3tww X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of FreeBSD@shaneware.biz has no SPF policy when checking 150.101.137.13) smtp.mailfrom=FreeBSD@shaneware.biz X-Spamd-Result: default: False [-2.00 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[shaneware.biz]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 29/9/22 5:36 pm, Stefan Esser wrote: > Am 29.09.22 um 08:39 schrieb Alexander Leidinger: >> To extend a little bit on that: >> "pkg info | grep py3" will give you a list of ports which are >> depending on a specific python version. If it lists py37-xxx it means >> the xxx port depends upon python 3.7. If you then delete python 3.7 >> pkg will also ask you if it is ok to delete all the py37-* ports. > > There are many ports that depend on some specific Python version without > "py3" in their package names. > > The following command lists all installed packages that depend on the > version of the python interpreter in the first column: > >     pkg query "%dn %n-%v" | grep -E "^python3[0-9]+ " I have found using pkg annotate a good source of python flavoured ports I don't think you can search for specific annotation values, but you can get all flavour values and grep that for py or py version. pkg annotate -aS flavor | grep py38 -- FreeBSD - the place to B...Software Developing Shane Ambler