Date: Mon, 24 Jul 2023 16:54:20 +0200 From: "Tobias C. Berner" <tcberner@freebsd.org> To: Antoine Brodin <antoine@freebsd.org> Cc: "Tobias C. Berner" <tcberner@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 7bb64b89d0e5 - main - framework: add Mk/Uses/pycryptography Message-ID: <CAOshKte4QVfiRuqrJMfJeF2Qc%2BuLhJOo2v=CLUVdceS=SiSapA@mail.gmail.com> In-Reply-To: <CAALwa8ntOrr3TB7WALhWMrj59_f2=THeuMzQDJt29hHAVpQZkw@mail.gmail.com> References: <202307220748.36M7mgIt016872@gitrepo.freebsd.org> <CAALwa8ntOrr3TB7WALhWMrj59_f2=THeuMzQDJt29hHAVpQZkw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <antoine@freebsd.org> wrote: > > On Sat, Jul 22, 2023 at 7:48=E2=80=AFAM Tobias C. Berner <tcberner@freebs= d.org> 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 <tcberner@FreeBSD.org> > > AuthorDate: 2023-07-22 06:16:46 +0000 > > Commit: Tobias C. Berner <tcberner@FreeBSD.org> > > 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: <none>,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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOshKte4QVfiRuqrJMfJeF2Qc%2BuLhJOo2v=CLUVdceS=SiSapA>