diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-06 16:28:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-07 08:53:31 +0700 |
commit | 06ee7b1e1549c69aabcce6a776d3a18b5d849e9e (patch) | |
tree | c69ff31842dbba1b14eb5702482f6f8223c44c96 | |
parent | 7db56a23c47a729b5d89ef7edae5ce4c32988e92 (diff) |
python/cryptography: Add mkvendor script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/cryptography/mkvendored.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/python/cryptography/mkvendored.sh b/python/cryptography/mkvendored.sh new file mode 100644 index 0000000000000..c52093378e197 --- /dev/null +++ b/python/cryptography/mkvendored.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# This is a wrapper script for cargo-mkvendored.sh which is +# included in the cargo-vendor-filterer slackbuild and needs to be +# installed. It is only needed if you are upgrading the version and +# need new vendored rust libs. +# +# create $PRGNAM-vendored-sources-$VERSION-$VSBUILD.tar.xz +# requires network access, but does not require root privilege. +# requires that $PRGNAM's REQUIRES need to be installed first + +if [ -f /usr/bin/cargo-mkvendored.sh ]; then + /usr/bin/cargo-mkvendored.sh +else + echo " ERROR: cargo-mkvendored.sh script is not available!! + ERROR: Install the cargo-vendor-filterer slackbuild." +fi |