xbps-src: added "pycompile_version" to specify python version used in the pycompile trigger.

This commit is contained in:
Juan RP 2014-06-18 11:31:32 +02:00
parent 45d79b96ea
commit ac91238431
2 changed files with 2 additions and 1 deletions

View file

@ -239,6 +239,7 @@ _EOF
# Handle python bytecode archives with pycompile trigger.
#
if [ -n "${pycompile_dirs}" -o -n "${pycompile_module}" ]; then
echo "export pycompile_version=\"${pycompile_version:=2.7}\"" >>$tmpf
if [ -n "${pycompile_dirs}" ]; then
echo "export pycompile_dirs=\"${pycompile_dirs}\"" >>$tmpf
fi