diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2023-07-22 06:16:46 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2023-07-22 07:46:38 +0000 |
commit | 7bb64b89d0e5ec8d77b28f8341269ffbad279ebf (patch) | |
tree | 91b64beb7ba38225bbc39c2734cbe4868c74be86 /CHANGES | |
parent | 173ac9651cc9ef0ab952b29e4cffa56d28e8770b (diff) | |
download | ports-7bb64b89d0e5ec8d77b28f8341269ffbad279ebf.tar.gz ports-7bb64b89d0e5ec8d77b28f8341269ffbad279ebf.zip |
framework: add Mk/Uses/pycryptography
With the added new DEFAULT_VERSION "PYCRYPTOGRAHY_DEFAULT=rust|legacy"
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=${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}
this should now be
USES=pycryptography: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 introduce a
rust dependency.
PR: 254853
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -10,6 +10,26 @@ in the release notes and/or placed into UPDATING. All ports committers are allowed to commit to this file. +20230722: +AUTHOR: tcberner@FreeBSD.org + + A new uses 'pycryptography' has been added to transparently depend on the + proper variant of 'rust' or 'legacy' depending on the default version set + by the user. + + Supported arguments: <none>,build,run + Passing no arguments (<none>) is equivalent to passing both build and run. + + Usage: + USES=pycryptography:build + -> adds a BUILD_DEPENDS only + USES=pycryptography:run + -> adds a RUN_DEPENDS only + USES=pycryptography:test + -> adds a TEST_DEPENDS only + USES=pycryptography:build,run or USES=pycryptography + -> adds a BUILD_ and RUN_DEPENDS + 20230712: AUTHOR: zirias@FreeBSD.org |