Deprecate DEVICE, GL, gl, and the related modules cgen and cgensupport for removal in 3.0.
diff --git a/Lib/plat-irix5/DEVICE.py b/Lib/plat-irix5/DEVICE.py
index 7ace8cb..14fd534 100755
--- a/Lib/plat-irix5/DEVICE.py
+++ b/Lib/plat-irix5/DEVICE.py
@@ -1,3 +1,7 @@
+from warnings import warnpy3k
+warnpy3k("the DEVICE module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
NULLDEV = 0
BUTOFFSET = 1
VALOFFSET = 256
diff --git a/Lib/plat-irix5/GL.py b/Lib/plat-irix5/GL.py
index 9f02f65..d0e0074 100755
--- a/Lib/plat-irix5/GL.py
+++ b/Lib/plat-irix5/GL.py
@@ -1,3 +1,7 @@
+from warnings import warnpy3k
+warnpy3k("the GL module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
NULL = 0
FALSE = 0
TRUE = 1
diff --git a/Lib/plat-irix6/DEVICE.py b/Lib/plat-irix6/DEVICE.py
index 7ace8cb..14fd534 100644
--- a/Lib/plat-irix6/DEVICE.py
+++ b/Lib/plat-irix6/DEVICE.py
@@ -1,3 +1,7 @@
+from warnings import warnpy3k
+warnpy3k("the DEVICE module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
NULLDEV = 0
BUTOFFSET = 1
VALOFFSET = 256
diff --git a/Lib/plat-irix6/GL.py b/Lib/plat-irix6/GL.py
index 9f02f65..d0e0074 100644
--- a/Lib/plat-irix6/GL.py
+++ b/Lib/plat-irix6/GL.py
@@ -1,3 +1,7 @@
+from warnings import warnpy3k
+warnpy3k("the GL module has been removed in Python 3.0", stacklevel=2)
+del warnpy3k
+
NULL = 0
FALSE = 0
TRUE = 1
diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py
index e622284..4a08c51 100644
--- a/Lib/test/test_py3kwarn.py
+++ b/Lib/test/test_py3kwarn.py
@@ -132,7 +132,8 @@
'Bastion', 'compiler', 'dircache', 'fpformat',
'ihooks', 'mhlib')
inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
- 'cdplayer', 'CL', 'cl'),
+ 'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
+ 'gl'),
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
'icglue', 'Nav', 'MacOS', 'aepack',
'aetools', 'aetypes', 'applesingle',