gajim-plural/autopackage/@python.org/python-xml/skeleton.1

22 lines
593 B
Groff
Raw Normal View History

2005-11-22 01:10:28 +01:00
# -*- 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
2005-11-22 01:10:28 +01:00
[Test]
SOFTWARE_VERSIONS=$( locateCommand python -V 2>&1 | cut -f2 -d' ' )
2005-11-22 01:10:28 +01:00
testForPythonModule xml
if [[ "$?" != "0" ]]; then
INTERFACE_VERSIONS=""
else
INTERFACE_VERSIONS=$( echo $SOFTWARE_VERSIONS | awk -F. '{print $1 "." $2}' )
2005-11-22 01:10:28 +01:00
fi