Represent an APKBUILD syntax fix: ``if_these_strings_are_present`` in ``text``, call ``function(text, *args)`` that returns ``text``.
| 630 | |
| 631 | @attr.s |
| 632 | class ApkBuildFixer: |
| 633 | """ |
| 634 | Represent an APKBUILD syntax fix: |
| 635 | |
| 636 | ``if_these_strings_are_present`` in ``text``, call ``function(text, *args)`` |
| 637 | that returns ``text``. |
| 638 | """ |
| 639 | if_these_strings_are_present = attr.ib(default=tuple()) |
| 640 | function = attr.ib(default=replace_fix) |
| 641 | args = attr.ib(default=tuple()) |
| 642 | |
| 643 | |
| 644 | def fix_apkbuild(text): |