From patchwork Sun Jan 2 22:00:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 35901 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B073527BBEA; Sun, 2 Jan 2022 22:02:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6746527BBE9 for ; Sun, 2 Jan 2022 22:02:20 +0000 (GMT) Received: from localhost ([::1]:45474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n48vj-0008OA-JQ for patchwork@mira.cbaines.net; Sun, 02 Jan 2022 17:02:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n48vS-0008Nm-Tm for guix-patches@gnu.org; Sun, 02 Jan 2022 17:02:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n48vS-0004Wk-JX for guix-patches@gnu.org; Sun, 02 Jan 2022 17:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n48vS-000787-Gj for guix-patches@gnu.org; Sun, 02 Jan 2022 17:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52966] [PATCH 6/6] gnu: Add nikola. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 Jan 2022 22:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52966 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52966@debbugs.gnu.org Received: via spool by 52966-submit@debbugs.gnu.org id=B52966.164116086327302 (code B ref 52966); Sun, 02 Jan 2022 22:02:02 +0000 Received: (at 52966) by debbugs.gnu.org; 2 Jan 2022 22:01:03 +0000 Received: from localhost ([127.0.0.1]:33842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n48uV-00076C-EQ for submit@debbugs.gnu.org; Sun, 02 Jan 2022 17:01:03 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:35559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n48uU-00074w-8i for 52966@debbugs.gnu.org; Sun, 02 Jan 2022 17:01:03 -0500 Received: from hermia.goebel-consult.de ([87.176.157.184]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mzz6m-1m9j4A1WDu-00x7KW for <52966@debbugs.gnu.org>; Sun, 02 Jan 2022 23:00:56 +0100 Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id 02208661EA; Sun, 2 Jan 2022 23:00:56 +0100 (CET) From: Hartmut Goebel Date: Sun, 2 Jan 2022 23:00:43 +0100 Message-Id: <2c252ec0c5f63c949a739403f8dab21be1af1a9a.1641160577.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <05cc89ec4c7cb0eda6945690544469f519811ecf.1641160577.git.h.goebel@crazy-compilers.com> References: <05cc89ec4c7cb0eda6945690544469f519811ecf.1641160577.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:hXEj83ykSo3mndQUFUH373aagPRZ39088IukkWvNaD4rriEL1B/ eL1rh6p87ZOsMB1UcFVUnTGCKLfV/qKw80N6qQYZbOLjcvgwUzAPD4WW8KMb0EPRDU2G4ir 9D2e86MkdMsPIScHv8OHqYsTsFMB2hRI6QXYymQCJ6rWyctuT+5mqQGvETA/s1iSgSzrKJt mEjfMMlyBH3aKGzJmx2bQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:U9ic+jTGlMk=:e6zRYV5gqZvlS/WeHge6SQ QvtEOGyHO/RLRPgZcduL4zN+jVBdWAm92HgIm1vX0OTIGxVyon38boDP/wy61Dyioa1iQbDqG 83zJ21PJGdLVVjFEO4wB0d0aR9mHi0qilQXuEaO2grgcFvNhuFSsyXDORaeNRblZijTCcPlRw ceYAgeg5nyhroiE9en63JWI2pfOchVqP8wPAfJptW0/sU6uejLeH/pNpjH+kvzip70pHZrUjA xlDjH54hh2ytP8byvWmnDasz25AJZrQcovv8FMdplLB1/4kldpfu0DDPUHi7sUYKZWJCjYqDq 6x1RB1YzfAdFpMgWhxKSF7nH8iP8Zpsyx9Y6jG4lNxyu1PUXwg9mNg36t2wADGfwsHFKmeyBl /ytStSriB0lQNcn2GxX9reQQCUvnBf+nmaTQAtsmq+TFCtBdjz67ExTeDYsE6r7N2xDiIjqUO G52g8Y+dr4A/OXYOakepu8LcO1ECLotsZUodENWGhYvRZBJAEOW5gUdFO0kbEy9J8OMhboSsz cJkyJRATyHEoiIHWOxpItR5s3V/Tp50zW8MR/oPNFumxc4ZaHI4/liTFyF5VfbLFAI5nWRSbX UuFaCrCAzJuEyGZAQI7+r2PMM+9Agm/8ZMzznV6XQqvcXXy/lAH6UmtWe47jed1yyINL2vFUU qH4tqqK46bD50Fld/9bDL8xs0N/ho9CPpyGwq5zJiVSElwoKXsdS6sHLSC01d0601EJDdyyjj ZvL8OwU/fJ0BZh6A X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (nikola): New variable. --- gnu/packages/python-xyz.scm | 55 +++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ede70c5fb9..70de72425d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27983,3 +27983,58 @@ meta-data to: (description "This package provides a port of the serialize and unserialize functions of PHP for Python") (license license:bsd-3))) + +(define-public nikola + (package + (name "nikola") + (version "8.1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Nikola" version)) + (sha256 + (base32 "1vspzvi4039zgjc93bspqjb384r6c9ksvmidbp8csws2pdbc7sh5")))) + (build-system python-build-system) + (propagated-inputs + (list python-babel + python-blinker + python-dateutil + python-docutils + python-doit + python-jinja2 ;; for themes + python-lxml + python-mako + python-markdown + python-natsort + python-notebook ;; for ipynb + python-phpserialize ;; for wordpress import + python-piexif + python-pillow + python-pygments + python-pyrss2gen + python-requests + python-ruamel.yaml ;; for YAML metadata + python-unidecode + python-yapsy)) + (native-inputs + (list python-coverage + python-flake8 + python-freezegun + python-pytest + python-pytest-cov)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;;(add-installed-pythonpath inputs outputs) + (invoke "pytest" "tests" "--no-cov" + "-k" "not test_compiling_markdown[hilite]"))))))) + (home-page "https://getnikola.com/") + (synopsis "Modular, fast and simple static website and blog generator") + (description "@code{Nikola} generated static websites and blogs. Out of the +box, it supports reStructuredText, Markdown, IPython (Jupyter) Notebooks and +HTML, and has plugins for many other formats.") + (license license:expat)))