xbps-src: added "pycompile_version" to specify python version used in the pycompile trigger.
This commit is contained in:
parent
45d79b96ea
commit
ac91238431
2 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,7 @@ unset -v font_dirs
|
||||||
unset -v xml_entries sgml_entries xml_catalogs sgml_catalogs
|
unset -v xml_entries sgml_entries xml_catalogs sgml_catalogs
|
||||||
|
|
||||||
# xbps-triggers: pycompile
|
# xbps-triggers: pycompile
|
||||||
unset -v pycompile_dirs pycompile_module
|
unset -v pycompile_version pycompile_dirs pycompile_module
|
||||||
|
|
||||||
# xbps-triggers: dkms
|
# xbps-triggers: dkms
|
||||||
unset -v dkms_modules
|
unset -v dkms_modules
|
||||||
|
|
|
@ -239,6 +239,7 @@ _EOF
|
||||||
# Handle python bytecode archives with pycompile trigger.
|
# Handle python bytecode archives with pycompile trigger.
|
||||||
#
|
#
|
||||||
if [ -n "${pycompile_dirs}" -o -n "${pycompile_module}" ]; then
|
if [ -n "${pycompile_dirs}" -o -n "${pycompile_module}" ]; then
|
||||||
|
echo "export pycompile_version=\"${pycompile_version:=2.7}\"" >>$tmpf
|
||||||
if [ -n "${pycompile_dirs}" ]; then
|
if [ -n "${pycompile_dirs}" ]; then
|
||||||
echo "export pycompile_dirs=\"${pycompile_dirs}\"" >>$tmpf
|
echo "export pycompile_dirs=\"${pycompile_dirs}\"" >>$tmpf
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue