diff --git a/programming/language/python/python-gtk/files/python27.patch b/programming/language/python/python-gtk/files/python27.patch
index 8683e37050..35a95d256a 100644
--- a/programming/language/python/python-gtk/files/python27.patch
+++ b/programming/language/python/python-gtk/files/python27.patch
@@ -15,7 +15,7 @@ index c0e1493..aa8cf10 100644
+#endif
+ PyDict_SetItemString(d, "_PyGtk_API", o);
Py_DECREF(o);
-
+
PyGtkDeprecationWarning = PyErr_NewException("gtk.GtkDeprecationWarning",
diff --git a/gtk/pygtk.h b/gtk/pygtk.h
index 573c3b9..e4c680f 100644
@@ -47,4 +47,4 @@ index 573c3b9..e4c680f 100644
+#endif /* PY_VERSION_HEX */
#endif
-
\ No newline at end of file
+
diff --git a/programming/language/python/python-gtk/pspec.xml b/programming/language/python/python-gtk/pspec.xml
index 72b3be5946..0a82cb34a4 100644
--- a/programming/language/python/python-gtk/pspec.xml
+++ b/programming/language/python/python-gtk/pspec.xml
@@ -27,6 +27,7 @@
0001-Fix-leaks-of-Pango-objects.patch
pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch
+ python27.patch
@@ -91,6 +92,13 @@
+
+ 2021-07-04
+ 2.24.0
+ Rebuild
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2020-02-12
2.24.0