Commit bb7742eb authored by Zen Fu's avatar Zen Fu
Browse files

[weblate] Install cheroot (dep for tmserver)

parent e6510abd
...@@ -25,6 +25,12 @@ class tails::weblate::python_modules () { ...@@ -25,6 +25,12 @@ class tails::weblate::python_modules () {
url => 'https://github.com/django/asgiref/', url => 'https://github.com/django/asgiref/',
} }
tails::pip_package_from_repo { 'backports.functools-lru-cache':
version => '1.6.1',
tag => 'v1.6.1',
url => 'https://github.com/jaraco/backports.functools_lru_cache',
}
tails::pip_package_from_repo { 'billiard': tails::pip_package_from_repo { 'billiard':
version => '3.6.3.0', # >=3.6.3.0, <4.0 version => '3.6.3.0', # >=3.6.3.0, <4.0
url => 'https://github.com/celery/billiard', url => 'https://github.com/celery/billiard',
...@@ -44,6 +50,12 @@ class tails::weblate::python_modules () { ...@@ -44,6 +50,12 @@ class tails::weblate::python_modules () {
require => [Exec['pip_install_celery']], require => [Exec['pip_install_celery']],
} }
tails::pip_package_from_repo { 'cheroot':
version => '8.3.0',
tag => 'v8.3.0',
url => 'https://github.com/cherrypy/cheroot',
require => [Exec['pip_install_backports.functools-lru-cache'], Exec['pip_install_jaraco.functools'], Exec['pip_install_more-itertools'], Exec['pip_install_six']],
}
tails::pip_package_from_repo { 'django': tails::pip_package_from_repo { 'django':
version => '1.11.29', # >=1.11, <2.0 version => '1.11.29', # >=1.11, <2.0
url => 'https://github.com/django/django', url => 'https://github.com/django/django',
...@@ -93,6 +105,13 @@ class tails::weblate::python_modules () { ...@@ -93,6 +105,13 @@ class tails::weblate::python_modules () {
require => [Exec['pip_install_zipp']], require => [Exec['pip_install_zipp']],
} }
tails::pip_package_from_repo { 'jaraco.functools':
version => '3.0.1',
tag => 'v3.0.1',
url => 'https://github.com/jaraco/jaraco.functools',
require => [Exec['pip_install_more-itertools']],
}
tails::pip_package_from_repo { 'jellyfish': tails::pip_package_from_repo { 'jellyfish':
version => '0.8.2', # >=0.6.1 version => '0.8.2', # >=0.6.1
url => 'https://github.com/jamesturk/jellyfish', url => 'https://github.com/jamesturk/jellyfish',
...@@ -105,6 +124,12 @@ class tails::weblate::python_modules () { ...@@ -105,6 +124,12 @@ class tails::weblate::python_modules () {
require => [Exec['pip_install_amqp'], Exec['pip_install_importlib-metadata'], Exec['pip_install_redis']], require => [Exec['pip_install_amqp'], Exec['pip_install_importlib-metadata'], Exec['pip_install_redis']],
} }
tails::pip_package_from_repo { 'more-itertools':
version => '8.4.0', # >=2.6
tag => 'v8.4.0',
url => 'https://github.com/more-itertools/more-itertools',
}
tails::pip_package_from_repo { 'oauthlib': tails::pip_package_from_repo { 'oauthlib':
version => '3.1.0', # >=3.0.0 version => '3.1.0', # >=3.0.0
tag => 'v3.1.0', tag => 'v3.1.0',
......
...@@ -15,6 +15,8 @@ require_pip: ...@@ -15,6 +15,8 @@ require_pip:
- django-compressor - django-compressor
- jellyfish - jellyfish
- translate-toolkit - translate-toolkit
extra_pip:
- cheroot # optional dependency of "translate-toolkit" for the tmserver backend
require_debian: require_debian:
- python3-levenshtein # optional Weblate dependency to speed up DB migrations - python3-levenshtein # optional Weblate dependency to speed up DB migrations
- python3-memcache - python3-memcache
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment