From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNdSX-0002F4-Rb for guix-patches@gnu.org; Wed, 21 Jun 2017 07:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNdSU-0000Wo-JI for guix-patches@gnu.org; Wed, 21 Jun 2017 07:06:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNdSU-0000Wk-Gt for guix-patches@gnu.org; Wed, 21 Jun 2017 07:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dNdSU-00029j-7X for guix-patches@gnu.org; Wed, 21 Jun 2017 07:06:02 -0400 Subject: [bug#27440] [PATCH 1/4] gnu: python: Add python2-pyopengl. References: <2197677c7e5c479f7f4c3f7dbab9c8a3@mykolab.com> In-Reply-To: <2197677c7e5c479f7f4c3f7dbab9c8a3@mykolab.com> Resent-Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 21 Jun 2017 13:05:01 +0200 From: Rutger Helling Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27440@debbugs.gnu.org * 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 ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 José Miguel Sánchez García +;;; Copyright © 2017 Rutger Helling ;;; ;;; 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