Skip to content

Commit d0b9f70

Browse files
committed
Merge branch 'develop'
2 parents 2f89542 + 16fccd6 commit d0b9f70

File tree

5 files changed

+29
-6
lines changed

5 files changed

+29
-6
lines changed

bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ boldblue=${bold}$(tput setaf 4) # blue
2424
boldyellow=${bold}$(tput setaf 3) # yellow
2525
normal=$(tput sgr0)
2626

27-
export LM_VERSION="v2.16" #NOTE FOR DEVELOPER: also change version number in codemeta.json *AND* roles/lamachine-core/defaults/main.yml -> lamachine_version!
27+
export LM_VERSION="v2.17" #NOTE FOR DEVELOPER: also change version number in codemeta.json *AND* roles/lamachine-core/defaults/main.yml -> lamachine_version!
2828
echo "${bold}=====================================================================${normal}"
2929
echo " , ${bold}LaMachine $LM_VERSION${normal} - NLP Software distribution"
3030
echo " ~) (http://proycon.github.io/LaMachine)"

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@type": "SoftwareSourceCode",
1111
"identifier": "lamachine",
1212
"name": "LaMachine",
13-
"version": "2.16",
13+
"version": "2.17",
1414
"description": "LaMachine is a unified software distribution for Natural Language Processing. We integrate numerous open-source NLP tools, programming libraries, web-services, and web-applications in a single Virtual Research Environment that can be installed on a wide variety of machines.",
1515
"license": "https://spdx.org/licenses/GPL-3.0",
1616
"url": "https://proycon.github.io/LaMachine",

roles/lamachine-core/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
lamachine_version: "2.16" #also change in bootstrap.sh and codemeta.json
2+
lamachine_version: "2.17" #also change in bootstrap.sh and codemeta.json
33
conf_name: "default"
44
version: "stable" #stable, development or custom
55
controller: internal

roles/languagemachines-python-bindings/tasks/main.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,27 @@
66
include_role:
77
name: lamachine-python-install
88
with_items:
9-
- { github_user: "proycon", github_repo: "python-timbl", pip: "python3-timbl", conda: "", setup: "setup3.py" }
109
- { github_user: "proycon", github_repo: "python-ucto", pip: "python-ucto", conda: "" }
1110
- { github_user: "proycon", github_repo: "python-frog", pip: "python-frog", conda: "" }
1211
loop_control:
1312
loop_var: package
1413

1514

15+
- block:
16+
- name: Installing Python bindings (2)
17+
include_role:
18+
name: lamachine-python-install
19+
with_items:
20+
- { github_user: "proycon", github_repo: "python-timbl", pip: "python3-timbl", conda: "", setup: "setup3.py" }
21+
loop_control:
22+
loop_var: package
23+
rescue:
24+
- name: "python-timbl failure?"
25+
fail:
26+
msg: "Python-timbl installation failed!"
27+
when: ansible_distribution|lower != "macosx"
28+
29+
1630
- name: Triggering manual mode for Colibri Core #otherwise setup.py will attempt to recompile c++ sources (and fail on a permission issue)
1731
file:
1832
path: "{{source_path}}/colibri-core/manual"
@@ -43,11 +57,20 @@
4357
allow_failure: "{{ignore_tests|bool}}"
4458
with_items:
4559
- ucto
46-
- timbl
4760
- frog
4861
- colibricore
4962
ignore_errors: "{{ignore_tests|bool}}"
5063

64+
- name: Testing Python bindings (2)
65+
include_role:
66+
name: lamachine-run
67+
vars:
68+
command: "python3 -c 'import {{ item }}'"
69+
allow_failure: "{% if ignore_tests|bool or ansible_distribution|lower == 'macosx' %}True{%else%}False{% endif %}"
70+
with_items:
71+
- timbl
72+
ignore_errors: "{% if ignore_tests|bool or ansible_distribution|lower == 'macosx' %}True{%else%}False{% endif %}"
73+
5174
- name: Updating metadata for CLARIAH software
5275
include_role:
5376
name: lamachine-register

roles/phonetisaurus/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
FORCE=0
99
{% endif %}
1010
r=0
11-
if [ $force -eq 1 ] || [ ! -d openfst-{{openfst_version}} ]; then
11+
if [ $FORCE -eq 1 ] || [ ! -d openfst-{{openfst_version}} ]; then
1212
rm -Rf "openfst-{{openfst_version}}" > /dev/null 2>/dev/null
1313
wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-{{openfst_version}}.tar.gz
1414
r=$?

0 commit comments

Comments
 (0)