From nobody Wed May 22 11:10:33 2024 X-Original-To: freebsd-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 4VkpWv3Rbyz5LTyP for ; Wed, 22 May 2024 11:11:07 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VkpWv0mDZz51Jm; Wed, 22 May 2024 11:11:07 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-vk1-f176.google.com with SMTP id 71dfb90a1353d-4e1459a13fdso301030e0c.3; Wed, 22 May 2024 04:11:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716376264; x=1716981064; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MpJNi3wJedbpl9Vwbz9bH2b4xiqt7R4sJYSeOqCc45c=; b=Jhe8nMQ/IOaZT+nmvbV6CEq07OHmuSaOYKmBlvlEvohhbCC7oaptRZ3A4yqKicchwq IzX8OkrQnFfv7AMDS9Tyep+kg43AVCbUlhdDskEkg2UTGM2XtzG1uyM696J3xp9ebHg+ N4WYR+xPshenW3wc5WP9rTlK+seIvgB7NJTLps8pLGH7nf2DN6K8UV4ED0vFGPZqO9zR ynfUeuJ4D3RoLwqRQNspD/TSBnW/AfHQW/Q3b6H8Ino3pIvSArJXECOQZ/Tbm4XmKMGx E641fhOyKqESijfYR16N03O55gjiBTIrWUZDgoL5iC6ZxTPOhgx+rFLjTgF14fyRm9JM TtMA== X-Gm-Message-State: AOJu0YxGpx+5EnVpYvakP/c1rdExy69RAcnv9wrzB9GbN8zWRH117FsG Yk+sddIp2OVOi9hcLs5d0k1qThe+bIKKlhLUclHVe/x90WfRY0wDEOcecVZN X-Google-Smtp-Source: AGHT+IHyZEMyMbOk3SppAeQMWqPND/DjmZ1LPrndmnssQfrfr8PaOYHFO0vQqkrtg6kR0P0ZPceHLw== X-Received: by 2002:a05:6122:1d4f:b0:4d8:7359:4c25 with SMTP id 71dfb90a1353d-4e2185a5aaamr1499860e0c.12.1716376260221; Wed, 22 May 2024 04:11:00 -0700 (PDT) Received: from mail-vk1-f169.google.com (mail-vk1-f169.google.com. [209.85.221.169]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-4df7c050c57sm3640531e0c.36.2024.05.22.04.11.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 May 2024 04:11:00 -0700 (PDT) Received: by mail-vk1-f169.google.com with SMTP id 71dfb90a1353d-4df6e7414fdso251264e0c.0; Wed, 22 May 2024 04:11:00 -0700 (PDT) X-Received: by 2002:a05:6122:20ac:b0:4ca:615e:1b61 with SMTP id 71dfb90a1353d-4e2185a52b5mr1609950e0c.10.1716376259589; Wed, 22 May 2024 04:10:59 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 References: <674b2ef0-9d92-4540-afa7-9da6b625065a@freebsd.org> In-Reply-To: <674b2ef0-9d92-4540-afa7-9da6b625065a@freebsd.org> From: Gleb Popov Date: Wed, 22 May 2024 14:10:33 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to add dependency to python binary To: Matthias Fechner Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4VkpWv0mDZz51Jm On Wed, May 22, 2024 at 2:07=E2=80=AFPM Matthias Fechner wrote: > > What is the recommended why to add python as a runtime dependency that th= e python binary is available? We usually patch the software to use pythonXY everywhere. For shebangs it can be done via USES=3Dshebangfix and for other cases resort to patches or REINPLACE_CMD incantations.