From nobody Sat Jul 22 12:51:43 2023 X-Original-To: dev-commits-ports-main@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 4R7RC21r7cz4p6nl; Sat, 22 Jul 2023 12:51:58 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 4R7RC20503z4SMB; Sat, 22 Jul 2023 12:51:58 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-4fde022de07so3376553e87.1; Sat, 22 Jul 2023 05:51:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690030315; x=1690635115; 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=kd3YyKcvbhF3m0EXgJbNEcu05eRimqAjhYng8w1VJ2w=; b=OKDbkEIoE0U8voy3bTb1Lq2bgyBzaBAlRSSDvYBf2my24nyfK9HbIhx91M1xtAMaBy Xq4ZS7oUoOq8K+/tI2q8bzTcBNq7Y/IdrOsM70Ha1I8D6h74npPjWPJXpf8Qh1UIFAs0 nrmbIJZInYggq92A54mfZubgGq9R6n/lbKy7f9rLJgejleSzinvAQFao4PZXBVLl8gTF QzPmAVZ8aDFmJM2QNcm0SNeEb1hWFADBMtQESq66FpsTFzfYl2LzQfFu1uMh5q1ZxOpi 2HPUJyVEImlzHMp/yG+fC7WOFzd0eLxw0mm4F8ByzOOmfR+KV7Oq5zcDRH4v2wzGTMQm dexw== X-Gm-Message-State: ABy/qLaUd4SMpuJ7kpMDnEBEF0/Dru7MxI63XcC83f+h0WCbkz7ZbM5F cC8787Jpumx2pqIv0s9Lv8z82JobxvPrL3zPvdqi/bfmLmY= X-Google-Smtp-Source: APBJJlHztWODtj/Yje9NHMdt6HWScNu7GRANJOYWBmAJI7aTMn7Sc4qf/S2tCiAzwSL9clucSDHk3ScHolNGWsoVSKQ= X-Received: by 2002:a05:6512:2036:b0:4fb:cab9:ddf with SMTP id s22-20020a056512203600b004fbcab90ddfmr2685631lfs.57.1690030314354; Sat, 22 Jul 2023 05:51:54 -0700 (PDT) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 References: <202307220748.36M7mgIt016872@gitrepo.freebsd.org> In-Reply-To: <202307220748.36M7mgIt016872@gitrepo.freebsd.org> From: Antoine Brodin Date: Sat, 22 Jul 2023 12:51:43 +0000 Message-ID: Subject: Re: git: 7bb64b89d0e5 - main - framework: add Mk/Uses/pycryptography To: "Tobias C. Berner" Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4R7RC20503z4SMB X-Spamd-Bar: ---- 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]; TAGGED_FROM(0.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated On Sat, Jul 22, 2023 at 7:48=E2=80=AFAM Tobias C. Berner wrote: > > The branch main has been updated by tcberner: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D7bb64b89d0e5ec8d77b28f83= 41269ffbad279ebf > > commit 7bb64b89d0e5ec8d77b28f8341269ffbad279ebf > Author: Tobias C. Berner > AuthorDate: 2023-07-22 06:16:46 +0000 > Commit: Tobias C. Berner > CommitDate: 2023-07-22 07:46:38 +0000 > > framework: add Mk/Uses/pycryptography > > With the added new DEFAULT_VERSION "PYCRYPTOGRAHY_DEFAULT=3Drust|lega= cy" > it is important to transparently depend on the right one. > > This is the job of this new uses. > > So instead of manually adding dependency lines like > > RUN_DEPENDS=3D${PYTHON_PKGNAMEPREFIX}cryptography>0:security/= py-cryptography@${PY_FLAVOR} > > this should now be > > USES=3Dpycryptography:run > > Supported arguments: ,build,run,test > If no argument is given, it defaults to 'build,run'. > > A future commit will update to security/py-cryptography will introduc= e a > rust dependency. > > PR: 254853 Hi, Why isn't it a USE_PYTHON=3D pycryptography? Antoine