From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QHO2CScQY19iRwAA0tVLHw (envelope-from ) for ; Thu, 17 Sep 2020 07:28:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wCWSBScQY1+mWQAAbx9fmQ (envelope-from ) for ; Thu, 17 Sep 2020 07:28:39 +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 B0B6694042A for ; Thu, 17 Sep 2020 07:28:38 +0000 (UTC) Received: from localhost ([::1]:59912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIoLN-0001gM-Ni for larch@yhetil.org; Thu, 17 Sep 2020 03:28:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIoIs-00077C-Te for guix-patches@gnu.org; Thu, 17 Sep 2020 03:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIoIr-00023W-Rf for guix-patches@gnu.org; Thu, 17 Sep 2020 03:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kIoIr-0002FJ-Ns for guix-patches@gnu.org; Thu, 17 Sep 2020 03:26:01 -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: Thu, 17 Sep 2020 07:26:01 +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.16003275098567 (code B ref 43443); Thu, 17 Sep 2020 07:26:01 +0000 Received: (at 43443) by debbugs.gnu.org; 17 Sep 2020 07:25:09 +0000 Received: from localhost ([127.0.0.1]:37227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIoI0-0002E6-Kz for submit@debbugs.gnu.org; Thu, 17 Sep 2020 03:25:08 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:43371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIoHy-0002DV-GI for 43443@debbugs.gnu.org; Thu, 17 Sep 2020 03:25:07 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 4C41A764; Thu, 17 Sep 2020 03:25:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 17 Sep 2020 03:25:00 -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=iOx5abtSl6xn3FquRhxBmmRElB tf/nSJksPVSf5x1mI=; b=IB67lg7Lk8b5f44/AeV1pnplXTzdM0ojqN2uaqf+WN AWVlkLbegx0cmyjo6ju9AfcggVbKZEnWx/JUeRAT3MnBOh2NL7u5WyF3wx6S2G6R 3i7ey4YfuwNyW4xE5FAG3oLggbbSYji523SMGPw6khLn5krx6U0DrWSL6sqDaTGE 2xFOYFoow0Nb665VV4CiGRoDGQ6t5nOTz3rJWfSS/4unygwNMKmGi5P+eATFTT12 /zD+f14iDChWvHqTLrPuLelWJ+JI6AX5UIfO15o9Tx7bhtILAGoEvI2SgiculoIw OWprTRW+X1vAtwSVyypdYPQ6UKTNrt3zsYD0pEC0o6HA== 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=iOx5ab tSl6xn3FquRhxBmmRElBtf/nSJksPVSf5x1mI=; b=NpRfM+pKgm7pswslBuJ5u0 OMLU6dFO0gEaPGUCHOPH3KTtf0XA+imhZCB7ZsAZTKb/KZsl2FCob7BgX66UBeSe XwurizJyn71WQItNmSXGzi8s3L9JnlU2jArYRbIxa/2iHLMbHXCMCosHakE188SR VxfmcRRvmJuy0oARxPkk1UGoNsbahf4CwhiEEMrq8cP170l2keKKDnTg4Afs/BUG +d/YGFq489dsc4GEFOoBSPxKWY8R8ue30POdMr39gKBDREC7qOwFh5I92gp/9JEw F9f8G3vyawVGlTG1HeTlEhTklZeEbJW+lCL9qfXvAQLbqgSptJPWHHxuOYJUpDjA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtdefgdduudekucetufdoteggodetrfdotf 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 4E0A0328005A; Thu, 17 Sep 2020 03:24:59 -0400 (EDT) From: Konrad Hinsen In-Reply-To: References: <878sdavxrp.fsf@elephly.net> <875z8dwy00.fsf@elephly.net> Date: Thu, 17 Sep 2020 09:24:57 +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=IB67lg7L; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=NpRfM+pK; 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: FQHkHZPyz5rV * gnu/packages/python-xyz.scm (python-pypandoc): New variable. --- gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 593bb3f468..147c3bccb8 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,45 @@ 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 + `(("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 "The package pypandoc is a thin Python wrapper around +pandoc and pandoc-citeproc.") + (license license:expat))) -- 2.28.0