blob: 605dea76e18097a9b622b765f4d633b69bdb7b9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# -*- shell-script-mode -*-
[Meta]
RootName: @python.org/python-xml
DisplayName: Python bindings for XML
ShortName: python-xml
Skeleton-Author: Filippos Papadopoulos <filip@cs.uoi.gr>
Skeleton-Version: 1
[Notes]
Distros like SuSE split some features of core python (like xml) to python-xml e.t.c
So python-xml must have the same versions as python
[Test]
SOFTWARE_VERSIONS=$( locateCommand python -V 2>&1 | cut -f2 -d' ' )
testForPythonModule xml
if [[ "$?" != "0" ]]; then
INTERFACE_VERSIONS=""
else
INTERFACE_VERSIONS=$( echo $SOFTWARE_VERSIONS | awk -F. '{print $1 "." $2}' )
fi
|