Subject: [PATCH 1/4] gnu: python: Add python2-pyopengl.

From: Rutger Helling <[email-masked]>
Date: Wed, 21 Jun 2017 13:05:01 +0200

* gnu/packages/python.scm (python2-pyopengl): New variable.
---
  gnu/packages/python.scm | 23 +++++++++++++++++++++++
  1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 775cab694..95723c9de 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -40,6 +40,7 @@
  ;;; Copyright © 2017 Ben Sturmfels <[email-masked]>
  ;;; Copyright © 2017 Mathieu Othacehe <[email-masked]>
  ;;; Copyright © 2017 José Miguel Sánchez García <[email-masked]>
+;;; Copyright © 2017 Rutger Helling <[email-masked]>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -15423,4 +15424,24 @@ window memory map manager.")

  (define-public python2-smmap2
    (package-with-python2 python-smmap2))
+
+(define-public python2-pyopengl
+  (package
+   (name "python2-pyopengl")
+   (version "3.1.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "PyOpenGL" version))
+     (sha256
+      (base32
+       "1byxjj6a8rwzhxhjqlc588zdad2qwxdd7vlam2653ylll31waiwv"))))
+   (arguments
+     `(#:python ,python-2))
+   (build-system python-build-system)
+   (home-page "http://pyopengl.sourceforge.net")
+   (synopsis "Standard OpenGL bindings for Python")
+   (description
+         "PyOpenGL is the most common cross platform Python binding to 
OpenGL
+and related APIs.  The binding is created using the standard ctypes 
library.")
+   (license license:bsd-3)))
-- 
2.13.1