Title: [258328] trunk/Tools
Revision
258328
Author
[email protected]
Date
2020-03-12 08:25:47 -0700 (Thu, 12 Mar 2020)

Log Message

[GTK] Use #!/usr/bin/python3 shebang to run generate-gtkdoc
https://bugs.webkit.org/show_bug.cgi?id=208970

Patch by Michael Catanzaro <[email protected]> on 2020-03-12
Reviewed by Daniel Bates.

Fedora and Ubuntu are both patching generate-gtkdoc to use #!/usr/bin/python3 rather than
#!/usr/bin/env python.

#!/usr/bin/env and /usr/bin/python are both banned in Fedora packages. I guess Ubuntu
probably has similar rules.

Note this is the only script that attempts to use /usr/bin/python in tarball builds.
Everything else that does so is probably only used by webkit-build.

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_multiple_python_runtimes

* gtkdoc/generate-gtkdoc:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (258327 => 258328)


--- trunk/Tools/ChangeLog	2020-03-12 15:17:38 UTC (rev 258327)
+++ trunk/Tools/ChangeLog	2020-03-12 15:25:47 UTC (rev 258328)
@@ -1,3 +1,23 @@
+2020-03-12  Michael Catanzaro  <[email protected]>
+
+        [GTK] Use #!/usr/bin/python3 shebang to run generate-gtkdoc
+        https://bugs.webkit.org/show_bug.cgi?id=208970
+
+        Reviewed by Daniel Bates.
+
+        Fedora and Ubuntu are both patching generate-gtkdoc to use #!/usr/bin/python3 rather than
+        #!/usr/bin/env python.
+
+        #!/usr/bin/env and /usr/bin/python are both banned in Fedora packages. I guess Ubuntu
+        probably has similar rules.
+
+        Note this is the only script that attempts to use /usr/bin/python in tarball builds.
+        Everything else that does so is probably only used by webkit-build.
+
+        https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_multiple_python_runtimes
+
+        * gtkdoc/generate-gtkdoc:
+
 2020-03-11  Jiewen Tan  <[email protected]>
 
         [WebAuthn] Formalize the Keychain schema

Modified: trunk/Tools/gtkdoc/generate-gtkdoc (258327 => 258328)


--- trunk/Tools/gtkdoc/generate-gtkdoc	2020-03-12 15:17:38 UTC (rev 258327)
+++ trunk/Tools/gtkdoc/generate-gtkdoc	2020-03-12 15:25:47 UTC (rev 258328)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Copyright (C) 2011 Igalia S.L.
 #
 # This library is free software; you can redistribute it and/or
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to