Python-3.12 and SafeConfigParser in install_env

Which version of Python do you use?

To install 17.5.4, I’m using Python-3.12, and devtools/bin/install_env fails with this error:

  File "/usr/ports/french/aster/work/devtools/bin/install_env", line 388, in <module>
    class ConfigModifier(CP.SafeConfigParser):
                         ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

I patched it by replacing SafeConfigParser by RawConfigParser.

Already fixed in recent version.

For 18.2, minimal version will be 3.11.

For 17.5, minimal version 3.6.5

Already fixed in recent version.

For 18.2, minimal version will be 3.11.

For 17.5, minimal version 3.6.5