Skip to content

Commit 860d6d6

Browse files
committed
add devel::itstool: v2.0.7+lxml_migration
The latest itstool release failes to build, because the libxml2 python package is deprecated and broken when linked static. Use a not yet merged version of itstool using lxml instead. See itstool/itstool#57
1 parent 55a1b13 commit 860d6d6

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

recipes/devel/itstool.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
inherit: [autotools, autoconf, python3]
2+
3+
metaEnvironment:
4+
PKG_VERSION: "2.0.7+lxml_migration"
5+
PKG_LICENSE: "GPL-3.0-or-later"
6+
7+
depends:
8+
- python::lxml
9+
10+
checkoutSCM:
11+
scm: git
12+
# url: ${GITHUB_MIRROR}/itstool/itstool.git
13+
url: https://github.com/nwellnhof/itstool.git
14+
# The latest itstool release uses libxml2, but the python bindings of
15+
# libxml2 are deprecated. Use a version from the lxml transformation pull
16+
# request until it's merged and a new release is published.
17+
# See https://github.com/itstool/itstool/pull/57/
18+
commit: 0f6751a586422719442eb7e9ddfe635ec7ca06fb
19+
20+
buildScript: |
21+
export PYTHON=python3
22+
autotoolsBuild -s $1
23+
24+
packageScript: |
25+
autotoolsPackageTgt
26+
27+
provideTools:
28+
itstool: "usr/bin"

tests/buildall/recipes/buildall.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ depends:
99
- devel::gengetopt
1010
- devel::groff
1111
- devel::intltool
12+
- devel::itstool
1213
- devel::lua-bin
1314
- devel::makedepend
1415
- devel::nasm

0 commit comments

Comments
 (0)