summaryrefslogtreecommitdiff
path: root/net-p2p/c-lightning/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/c-lightning/files')
-rwxr-xr-xnet-p2p/c-lightning/files/check_python_plugins_deps.sh28
-rwxr-xr-xnet-p2p/c-lightning/files/update_crates.sh10
2 files changed, 0 insertions, 38 deletions
diff --git a/net-p2p/c-lightning/files/check_python_plugins_deps.sh b/net-p2p/c-lightning/files/check_python_plugins_deps.sh
deleted file mode 100755
index 48382a145b4c..000000000000
--- a/net-p2p/c-lightning/files/check_python_plugins_deps.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-declare -A requirements=(["plugins/wss-proxy/requirements.txt"]="WSSPROXYDEPS_RUN_DEPENDS")
-
-WRKSRC=$(make -V WRKSRC)
-
-for file in ${!requirements[@]} ; do
- (cd ${WRKSRC}/$(dirname ${file}) && poetry lock && poetry export --output $(basename ${file}))
- make_var="${requirements[${file}]}"
- ok=1
- for req in $(grep -E '^[^[:space:]]' "${WRKSRC}/${file}" |cut -f 1 -d =) ; do
- # "cryptography" is handled separately via USE_PYTHON+=cryptography
- # "pkgutil-resolve-name" is included in Python 3.9
- if [ "${req}" != "cryptography" -a \
- "${req}" != "pkgutil-resolve-name" -a \
- -z "$(make -V "${make_var}" |grep -i "$(make -V PYTHON_PKGNAMEPREFIX)${req/-/.}>")" ] ; then
-
- echo "missing in ${file}: ${req}"
- ok=0
- fi
- done
- if [ ${ok} -eq 1 ] ; then
- echo "ok: ${make_var} matches ${WRKSRC}/${file}"
- rm "${WRKSRC}/${file}"
- fi
-done
diff --git a/net-p2p/c-lightning/files/update_crates.sh b/net-p2p/c-lightning/files/update_crates.sh
deleted file mode 100755
index 49dc2fa6506b..000000000000
--- a/net-p2p/c-lightning/files/update_crates.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-# cargo install cargo-lock --features cli
-# make clean extract
-
-cargo-lock --file "$(make -V WRKSRC)/Cargo.lock" \
- | grep -vE "(cln-rpc|cln-grpc|clnrest|grpc-plugin|rest-plugin)" \
- | sed -E 's/^- ([^ ]+) (.+)$/CARGO_CRATES+=\t\1-\2/g' > Makefile.crates