summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/helper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libre/parabolaweb-utils/helper.sh')
-rw-r--r--libre/parabolaweb-utils/helper.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/libre/parabolaweb-utils/helper.sh b/libre/parabolaweb-utils/helper.sh
deleted file mode 100644
index ce8638e7e..000000000
--- a/libre/parabolaweb-utils/helper.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-_mksource() {
- pushd "${startdir:-.}" >/dev/null
- if [[ -z $_DO_NOT_RUN_MKSOURCE && $0 =~ ^makepkg ]]; then
- local flags=(-o)
- (( EUID )) || flags+=(--asroot)
- _DO_NOT_RUN_MKSOURCE=true "${0}" "${flags[@]}"
- fi
- popd >/dev/null
-}
-
-_get_depends() {
- _mksource 1>&2
- if [[ -f "${srcdir:-${startdir:-.}/src}/parabolaweb/requirements_prod.txt" ]]; then
- pushd "${srcdir:-src}" >/dev/null
- < parabolaweb/requirements_prod.txt sed -r \
- -e 's/.*/\L&/' -e 's/==/>=/' \
- -e 's/^(python2?-)?/python2-/' \
- -e 's/python2-django/django/'
- popd >/dev/null
- fi
-}
-
-_get_depends_nover() {
- _get_depends | sed 's/[<>=].*//'
-}