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

21 lines
692 B
Groff
Raw Normal View History

2005-05-06 14:04:50 +02:00
[Meta]
RootName: @python.org/python
DisplayName: Python language runtime
ShortName: python
Skeleton-Author: Mike Hearn <mike@theoretic.com>
Skeleton-Version: 1
[Notes]
INTERFACE_VERSIONS are set to match the currently installed version using the "python" executable name.
For instance, python 2.2 causes INTERFACE_VERSIONS to contain "2.2 2.1 2.0". This skeleton assumes python1 and python2 are not parallel installed.
SOFTWARE_VERSIONS is set to the result of python -V
[Test]
SOFTWARE_VERSIONS=$( locateCommand python -V 2>&1 | cut -f2 -d' ' )
2005-05-06 14:04:50 +02:00
if [[ "$?" != "0" ]]; then
INTERFACE_VERSIONS=""
else
INTERFACE_VERSIONS=$( echo $SOFTWARE_VERSIONS | awk -F. '{print $1 "." $2}' )
2005-05-06 14:04:50 +02:00
fi