File netbeans_python3_shebang.patch of Package Netbeans
diff -uNr netbeans.orig/extide/ant/bin/runant.py netbeans/extide/ant/bin/runant.py
--- netbeans.orig/extide/ant/bin/runant.py 2020-05-10 23:33:18.000000000 +0200
+++ netbeans/extide/ant/bin/runant.py 2021-08-27 12:00:41.615421792 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.