Skip to content

Commit

Permalink
Moving install_os_dependencies script and adding runtime requirements…
Browse files Browse the repository at this point in the history
… files.
  • Loading branch information
adrianwebb committed Aug 26, 2024
1 parent 3870d1c commit 268a9a8
Show file tree
Hide file tree
Showing 12 changed files with 232 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

WORK_DIR="$(dirname "$0")"
DISTRO_NAME=$(lsb_release -sc)
OS_REQUIREMENTS_FILENAME="requirements-$DISTRO_NAME.apt"
OS_REQUIREMENTS_FILENAME="requirements/requirements-$DISTRO_NAME.apt"

cd $WORK_DIR

Expand Down
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-bionic.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Ubuntu Bionic 18.04
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg8-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
libgraphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-bookworm.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Debian Bookworm 12.x
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg62-turbo-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
libgraphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-bullseye.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Debian Bullseye 11.x
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg62-turbo-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
libgraphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-buster.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Debian Jessie 10.x
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg62-turbo-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
libgraphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-focal.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Ubuntu Focal 20.04
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg8-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
graphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-jammy.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Ubuntu Jammy 22.04
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg8-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
graphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-jessie.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Debian Jessie 8.x
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg62-turbo-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
graphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-stretch.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Debian Jessie 9.x
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg62-turbo-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
graphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-trusty.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Ubuntu Trusty 14.04
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff4-dev
libjpeg8-dev
libfreetype6-dev
liblcms1-dev
libwebp-dev

##django-extensions
graphviz-dev
23 changes: 23 additions & 0 deletions scripts/requirements/requirements-xenial.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
##basic build dependencies of various Django apps for Ubuntu Xenial 16.04
#build-essential metapackage install: make, gcc, g++,
build-essential
#required to translate
gettext
python3-dev

##shared dependencies of:
##Pillow, pylibmc
zlib1g-dev

##Postgresql and psycopg dependencies
libpq-dev

##Pillow dependencies
libtiff5-dev
libjpeg8-dev
libfreetype6-dev
liblcms2-dev
libwebp-dev

##django-extensions
graphviz-dev
2 changes: 1 addition & 1 deletion tests/test_bare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -o errexit
set -x

# Install OS deps
sudo tests/install_os_dependencies.sh install
sudo scripts/install_os_dependencies.sh install

# create a cache directory
mkdir -p .cache/bare
Expand Down

0 comments on commit 268a9a8

Please sign in to comment.