From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [WIP v3 3/5] gnu: Add python-sphinx-alabaster-theme. Date: Thu, 13 Oct 2016 08:40:44 +0200 Message-ID: <20161013064046.14200-4-dannym@scratchpost.org> References: <20161013064046.14200-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buZhR-0002nt-8w for guix-devel@gnu.org; Thu, 13 Oct 2016 02:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buZhL-0006AN-Qa for guix-devel@gnu.org; Thu, 13 Oct 2016 02:41:04 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:32990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buZhL-0006AH-Jy for guix-devel@gnu.org; Thu, 13 Oct 2016 02:40:59 -0400 In-Reply-To: <20161013064046.14200-1-dannym@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python-sphinx-alabaster-theme-0.7, python2-sphinx-alabaster-theme-0.7): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0948c9b..d9dd467 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11072,3 +11072,33 @@ related extensions.") (define-public python2-sphinx-cloud-sptheme (package-with-python2 (strip-python2-variant python-sphinx-cloud-sptheme))) + +(define-public python-sphinx-alabaster-theme-0.7 + (package + (name "python-sphinx-alabaster-theme") + (version "0.7.9") + (source + (origin + (method url-fetch) + (uri (pypi-uri "alabaster" version)) + (sha256 + (base32 + "027anxzcb951gjlcc43y3rbn9qrw36d16vj9wd2smv5410xx9bs7")))) + (build-system python-build-system) + (home-page "https://alabaster.readthedocs.io") + (synopsis + "A configurable sidebar-enabled Sphinx theme") + (description + "Alabaster is a visually (c)lean, responsive, configurable theme for +the Sphinx documentation system. It's the default theme of Sphinx.") + (license license:bsd-3) + (properties `((python2-variant . + ,(delay python2-sphinx-alabaster-theme-0.7)))))) + +(define-public python2-sphinx-alabaster-theme-0.7 + (let ((base (package-with-python2 (strip-python2-variant + python-sphinx-alabaster-theme-0.7)))) + (package + (inherit base) + (native-inputs `(("python2-setuptools" ,python2-setuptools) + ,@(package-native-inputs base))))))