From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: [PATCH 2/4] gnu: Add python-sphinx-bootstrap-theme. Date: Sun, 25 Sep 2016 22:17:26 +0100 Message-ID: <20160925211728.7636-2-mbakke@fastmail.com> References: <20160925211728.7636-1-mbakke@fastmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boGoP-0002EL-LE for guix-devel@gnu.org; Sun, 25 Sep 2016 17:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boGoO-0004aZ-2L for guix-devel@gnu.org; Sun, 25 Sep 2016 17:18:13 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:44779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boGoL-0004YE-PI for guix-devel@gnu.org; Sun, 25 Sep 2016 17:18:11 -0400 In-Reply-To: <20160925211728.7636-1-mbakke@fastmail.com> 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 Cc: Marius Bakke * gnu/packages/python.scm (python-sphinx-bootstrap-theme, python2-sphinx-bootstrap-theme): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 688a5d4..4b8caea 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10939,3 +10939,31 @@ with an associated set of resolve methods that know how to fetch data.") provide extendible implementations of common aspects of a cloud so that you can focus on building massively scalable web applications.") (license license:expat))) + +(define-public python-sphinx-bootstrap-theme + (package + (name "python-sphinx-bootstrap-theme") + (version "0.4.12") + (source (origin + (method url-fetch) + (uri (pypi-uri "sphinx-bootstrap-theme" version)) + (sha256 + (base32 + "0wmm292rpfzxaib7zf2j6kdl1dl2xzx303hx8sx8qsdy0pkmrk65")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ; No tests. + #:configure-flags '("--single-version-externally-managed" "--root=/"))) + (home-page "https://ryan-roemer.github.io/sphinx-bootstrap-theme/README.html") + (synopsis "Bootstrap theme for Sphinx") + (description "Sphinx theme that integrates the Bootstrap CSS / JavaScript +framework with various layout options, hierarchical menu navigation, and +mobile-friendly responsive design.") + (license license:expat) + (properties `((python2-variant . ,(delay python2-sphinx-bootstrap-theme)))))) + +(define-public python2-sphinx-bootstrap-theme + (package (inherit (package-with-python2 (strip-python2-variant + python-sphinx-bootstrap-theme))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))))) -- 2.10.0