diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-22 21:33:12 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-22 21:33:12 -0400 |
commit | fdb45cd3d001008b7fcd7694eaa21328f26c74f6 (patch) | |
tree | 8d6a6792556779a6de2e53b7fc3c4557e69c2c07 /list-depends | |
parent | 959fdb0438d491f61ef01b5417eac4aaac09fe1f (diff) |
refactor to be a stand-alone package
Diffstat (limited to 'list-depends')
-rw-r--r-- | list-depends | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/list-depends b/list-depends new file mode 100644 index 0000000..76f7306 --- /dev/null +++ b/list-depends @@ -0,0 +1,15 @@ +#!/bin/bash + +stat_file='depends_static.txt' +prod_file='https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt' + +cat "${stat_file}" | +sed -r \ + -e 's/\s*#.*//' + +curl -s "${prod_file}" | +sed -r \ + -e 's/.*/\L&/' \ + -e 's/==/>=/' \ + -e 's/^(python2?-)?/python2-/' \ + -e 's/python2-django/django/' |