summaryrefslogtreecommitdiff
path: root/list-depends
blob: 1aa19eab3793349a7ccf01c9f9a6792cf0ad1ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

[[ -n $stat_file ]] || stat_file='depends_static.txt'
[[ -n $prod_file ]] || 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|^-e .*/fredj/cssmin.git@master#egg=cssmin$|python2-cssmin-fredj|' \
	-e 's/.*/\L&/' \
	-e 's/==/>=/' \
	-e 's/^(python2?-)?/python2-/' \
	-e 's/jinja2?/jinja/' \
	-e 's/django.countries/django-countries/'