From nobody Mon Jul 24 14:54:20 2023 X-Original-To: dev-commits-ports-all@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 4R8jqY4YQ0z4p6xN; Mon, 24 Jul 2023 14:54:33 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) (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 4R8jqX26gfz3CPy; Mon, 24 Jul 2023 14:54:32 +0000 (UTC) (envelope-from tcberner@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of tcberner@gmail.com designates 209.85.219.42 as permitted sender) smtp.mailfrom=tcberner@gmail.com; dmarc=none Received: by mail-qv1-f42.google.com with SMTP id 6a1803df08f44-63d0f62705dso1265216d6.0; Mon, 24 Jul 2023 07:54:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690210471; x=1690815271; 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=LpAaF7ZVbV0azszkz9X+NTZCMIFldencKdV8YyX/0UA=; b=I5rzqFnrAVYI0ucC+KfmihK292Fy5QVVW73KqR/73orwwyEUlCKACEUzTaLqLylLlr L2IuAblDQL+eOY4ZO0C22mSXcWmC62MLcSNqUNJYsfmlrqmw6/jLGDfpmfie3tJxUMge WGtw95cmdlLsvENC26YMH17erIZlFnPZxj82KS2+bCtEYMUW8TMohLS7hIyJRodF7gLZ DtxB4vyzs1Df1p4flyhQ6GErBMm5COTXOcuOxCZmuFWFCFMyGOhVJLnspvMvBI0iL0se ky0oNRi0YkyslsYOlAU5a3Q6wUN6Eqvw5Bqs5JLrZygpTNtfNVjspVoy7VTllJi4YrZI OzaA== X-Gm-Message-State: ABy/qLZtLrS66Tl6euTrGKJq2QKVAuBKHezm93U7GkqxxHhi+ZH2H0XJ Q/ZAx00yfPhWrTsOZt9cAQzHQ43O8NPYyg== X-Google-Smtp-Source: APBJJlFFJZ6Uye/Xl5oMStqB1e5VkM7mnJp/BcsPmpNXjCtEr29gJrs+4oZ3TfhOcxo8aHo5IQndAw== X-Received: by 2002:a0c:ab42:0:b0:63c:ea63:4717 with SMTP id i2-20020a0cab42000000b0063cea634717mr7124328qvb.43.1690210471101; Mon, 24 Jul 2023 07:54:31 -0700 (PDT) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com. [209.85.160.177]) by smtp.gmail.com with ESMTPSA id a23-20020a0ca997000000b006261e6a88c7sm3621664qvb.36.2023.07.24.07.54.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jul 2023 07:54:31 -0700 (PDT) Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-40648d758f1so10509231cf.0; Mon, 24 Jul 2023 07:54:31 -0700 (PDT) X-Received: by 2002:ac8:5952:0:b0:403:a261:c021 with SMTP id 18-20020ac85952000000b00403a261c021mr22627qtz.2.1690210470845; Mon, 24 Jul 2023 07:54:30 -0700 (PDT) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 References: <202307220748.36M7mgIt016872@gitrepo.freebsd.org> In-Reply-To: From: "Tobias C. Berner" Date: Mon, 24 Jul 2023 16:54:20 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 7bb64b89d0e5 - main - framework: add Mk/Uses/pycryptography To: Antoine Brodin Cc: "Tobias C. Berner" , 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-Spamd-Result: default: False [-2.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.899]; FORGED_SENDER(0.30)[tcberner@freebsd.org,tcberner@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[209.85.219.42:from,209.85.160.177:received]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.219.42:from]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[tcberner]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[tcberner@freebsd.org,tcberner@gmail.com] X-Rspamd-Queue-Id: 4R8jqX26gfz3CPy X-Spamd-Bar: -- Moin moin It seemed an easier way to stop-gap fix this issue separately. But you're probably right, that python.mk would be the preferred location to do so. I can move it there. mfg Tobias On Sat, 22 Jul 2023 at 14:51, Antoine Brodin wrote: > > 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=3D7bb64b89d0e5ec8d77b28f= 8341269ffbad279ebf > > > > 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|le= gacy" > > 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:securit= y/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 introd= uce a > > rust dependency. > > > > PR: 254853 > > Hi, > > Why isn't it a USE_PYTHON=3D pycryptography? > > Antoine