aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-11-28 22:09:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-11-28 22:09:22 -0300
commita62ead73e3adb0646addb16f67e49a4daa4446af (patch)
tree6e29c65f67177c5444c9b30e990387e9be4f5552 /share
parente3e8bcf045236d77e95cd7a96e0f279feed1c82f (diff)
downloadtrashman-a62ead73e3adb0646addb16f67e49a4daa4446af.tar.gz
trashman-a62ead73e3adb0646addb16f67e49a4daa4446af.tar.bz2
Feat: adds PyBOMBS
Diffstat (limited to 'share')
-rw-r--r--share/hoarder/pybombs/info1
-rwxr-xr-xshare/hoarder/pybombs/unix/linux/debian/install34
-rwxr-xr-xshare/hoarder/pyenv/unix/install2
3 files changed, 36 insertions, 1 deletions
diff --git a/share/hoarder/pybombs/info b/share/hoarder/pybombs/info
new file mode 100644
index 0000000..99b18c1
--- /dev/null
+++ b/share/hoarder/pybombs/info
@@ -0,0 +1 @@
+Python Bundles Overlay Managed Build System is a meta-package manager
diff --git a/share/hoarder/pybombs/unix/linux/debian/install b/share/hoarder/pybombs/unix/linux/debian/install
new file mode 100755
index 0000000..76d2cce
--- /dev/null
+++ b/share/hoarder/pybombs/unix/linux/debian/install
@@ -0,0 +1,34 @@
+#!/usr/bin/env sh
+#
+# Install PyBOMBS
+#
+
+# Parameters
+SHARE="$1"
+LIB="$2"
+
+# Include basic functions
+. $LIB/trashman/functions || exit 1
+. $LIB/trashman/debian || exit 1
+
+# Additional parameters
+PREFIX="$HOME/.local/share/pybombs/prefix-3.8"
+PYBOMBS="$HOME/.local/bin/pybombs"
+
+# Requirements
+trashman_apt_install python3-pip
+
+# Install PyBOMBS
+pip3 install pybombs
+mkdir -p $HOME/.local/share/pybombs
+
+# Configure PyBOMBS
+$PYBOMBS auto-config
+$PYBOMBS recipes add-defaults
+
+# Install gnuradio
+$PYBOMBS prefix init $PREFIX -R gnuradio-default
+
+# Process environment and run a command
+#source $PREFIX/setup_env.sh
+#gnuradio-companion
diff --git a/share/hoarder/pyenv/unix/install b/share/hoarder/pyenv/unix/install
index 42f910e..eedc5da 100755
--- a/share/hoarder/pyenv/unix/install
+++ b/share/hoarder/pyenv/unix/install
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
#
-# Install grab-site
+# Install pyenv
#
# Parameters