From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EO0yB9o/Yl/EAwAA0tVLHw (envelope-from ) for ; Wed, 16 Sep 2020 16:39:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SOLwAto/Yl9uCQAAB5/wlQ (envelope-from ) for ; Wed, 16 Sep 2020 16:39:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6DA299400C9 for ; Wed, 16 Sep 2020 16:39:53 +0000 (UTC) Received: from localhost ([::1]:38860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIaTI-0005XA-Dj for larch@yhetil.org; Wed, 16 Sep 2020 12:39:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIaRW-000494-KK for guix-patches@gnu.org; Wed, 16 Sep 2020 12:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIaRW-0002vS-AA for guix-patches@gnu.org; Wed, 16 Sep 2020 12:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kIaRW-0003bq-7f for guix-patches@gnu.org; Wed, 16 Sep 2020 12:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43443] [PATCH] gnu: Add python-pypandoc. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Sep 2020 16:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43443 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43443@debbugs.gnu.org Received: via spool by 43443-submit@debbugs.gnu.org id=B43443.160027426813851 (code B ref 43443); Wed, 16 Sep 2020 16:38:02 +0000 Received: (at 43443) by debbugs.gnu.org; 16 Sep 2020 16:37:48 +0000 Received: from localhost ([127.0.0.1]:35798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIaRI-0003bL-C4 for submit@debbugs.gnu.org; Wed, 16 Sep 2020 12:37:48 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIaRG-0003b9-HT for 43443@debbugs.gnu.org; Wed, 16 Sep 2020 12:37:46 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6D35B5C08A8; Wed, 16 Sep 2020 12:37:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 16 Sep 2020 12:37:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=J5allsPUquhWSF4CqQIdUx/bG5 jauCf898Oda5YFmqs=; b=B58gmdvgSrlPOYCOybWtTUjum9YVMc1jkDHBuSvKnt CgAFJjHVsF/k27lGzNmHNP7Fk4tCUxGJPsnv830lfSI2v7Th62oAI66zOSTUzTM7 kDI/8t42RsOuMZQqzG3bIsvkJLO4a9CtV/+XUO+nie1yGfbw1mjZalKdn9sqw2y3 t8JyDgy0lcYueMV8c5KiEnyNS+bf09Fm4pvT5Sexvz/snLxpwGy2RH9WLEobW/jv oO+rf5ItxdWhULSPCeX/JwnHy67xIY3XmHK6BkRPnPttnBU1u8zIoTfMcx3TVzb+ PhAqdWmT95xMYSL8m3CJE8yJ659h4cGP9OtRfvG0hfHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=J5alls PUquhWSF4CqQIdUx/bG5jauCf898Oda5YFmqs=; b=WX6n3TQ7z2Nb+ZWzAiFzr4 lbWB4h/d40gGMq4wW9egMmiJFB+iOIJ+OsA+iTtksvmq6dRrjk1xbihCCjVkggqU i4LBa4l+v8y/LtqBrrx9sm54pRxIUis7e1IePOm4EoUXY04GlWI+2Zivl3YbY4SR hVEPQc0UT70ucT4Gvf7Hh365yX8plcbPEWcqgKL35YMrjHpdxj3nq8UFoLK8u0ps 8ELyXqsECGQ1gbtsAvCvfKYAfnuU4UhlbNLx/ZaWQG2NmNR5D4QQ50YnuZjgAU6q wtOr9MNk+xGZPKv4AyvVu/V2fJegOwfJxDDB1MxcI9WHgne5/8FRU46dT34MGRng == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtddvgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkgggtsehttdertd dttddtnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhn shgvnhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeffleehuedvud evtdekleelveeifeejtedvgeegveejlefgieejvdfhfeevteejgeenucffohhmrghinhep ghhithhhuhgsrdgtohhmnecukfhppeekiedrvdefkedrudefkedrleegnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhn shgvnhesfhgrshhtmhgrihhlrdhnvght X-ME-Proxy: Received: from khs-macbook.home (lfbn-idf2-1-907-94.w86-238.abo.wanadoo.fr [86.238.138.94]) by mail.messagingengine.com (Postfix) with ESMTPA id C9E9C3280064; Wed, 16 Sep 2020 12:37:40 -0400 (EDT) From: Konrad Hinsen In-Reply-To: <875z8dwy00.fsf@elephly.net> References: <878sdavxrp.fsf@elephly.net> <875z8dwy00.fsf@elephly.net> Date: Wed, 16 Sep 2020 18:37:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.net header.s=fm1 header.b=B58gmdvg; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=WX6n3TQ7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: cRtHAxB1meTG * gnu/packages/python-xyz.scm (python-pypandoc): New variable. --- gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 593bb3f468..2f66e3ff31 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -129,6 +129,7 @@ #:use-module (gnu packages gsasl) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) @@ -21979,3 +21980,47 @@ dates in almost any string formats commonly found on web pages.") (description "Safety checks installed dependencies for known vulnerabilities. By default it uses the open Python vulnerability database Safety DB.") (license license:expat))) + +(define-public python-pypandoc + (package + (name "python-pypandoc") + (version "1.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pypandoc" version)) + (sha256 + (base32 + "1zvn9764cf7kkjkmr9gw6wc8adpk06qxr1rhxwa9pg0zmdvrk90l")))) + (build-system python-build-system) + (inputs + `(("pandoc" ,pandoc) + ("pandoc-citeproc" ,pandoc-citeproc))) + (propagated-inputs + `(("pip" ,python-pip) + ("setuptools" ,python-setuptools) + ("wheel" ,python-wheel))) + (native-inputs + `(("texlive" ,(texlive-union (list texlive-amsfonts + texlive-fonts-ec + texlive-latex-hyperref + texlive-latex-oberdiek + texlive-lm + texlive-xcolor))))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'disable-tests + (lambda _ + ;; Disable test requiring network access + (substitute* "tests.py" + (("test_basic_conversion_from_http_url") + "skip_test_basic_conversion_from_http_url")) + ;; Needed by texlive-union to generate fonts + (setenv "HOME" "/tmp") + #t))))) + (home-page "https://github.com/bebraw/pypandoc") + (synopsis "Python wrapper for pandoc") + (description "pypandoc is a thin Python wrapper around pandoc +and pandoc-citeproc.") + (license license:expat))) -- 2.28.0