From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 05:59:26 2020 Received: (at submit) by debbugs.gnu.org; 16 Sep 2020 09:59:26 +0000 Received: from localhost ([127.0.0.1]:33265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIUDl-0007dM-TH for submit@debbugs.gnu.org; Wed, 16 Sep 2020 05:59:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:39158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIUDk-0007dD-7a for submit@debbugs.gnu.org; Wed, 16 Sep 2020 05:59:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIUDj-0000GM-SL for guix-patches@gnu.org; Wed, 16 Sep 2020 05:59:23 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIUDh-0001Ns-Nr for guix-patches@gnu.org; Wed, 16 Sep 2020 05:59:23 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6FE6E5C00F9; Wed, 16 Sep 2020 05:59:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 16 Sep 2020 05:59:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=S8e4lY3ZIM9Opj+tTdlSVQC07ojk6YrD1xpt+6Kh4ow=; b=oipBpme6 w6DPbil8lsQQ0Z9mqYf1P9Ny/h5SHCUqK6+uDw41Upu+CNovH3QuniVWUYUl4iro TVmuC51Xy2DBbflwlecPkQL1lP6jUCzvLoR+s0rxBpkxqxnMMAN8xj/zxkzv3Xh5 biVsklFUeZf5i5zYoSek/RLExU2NQ4n9eSxOanIJVix6EGTeIDqXvKOqAx2YhEYj S91OZZUrL5i3iIqjvAyHcsBrm6pC3F/M4M4LzcA3y0X1wcZ24PJh38nm2Tpgy8O6 73lQqfrb/Kr5enjo4xB0jvopJy/SQw7uXZSoy7V3Ozwhoq1R/v77dqg2TSdqkv2U EOsSy+KXiXEOxg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=S8e4lY3ZIM9Opj+tTdlSVQC07ojk6 YrD1xpt+6Kh4ow=; b=e3aV4ybJvA1WRy8jqaLnQSx5aAFiTGoq0szCgO0WuX/j8 ugiXEPwaVJO/IkIzjs3tGXcrXVfZwcLmr8yGG3yflCSVlyAB37WKHpp/lKVDh5Xm LdE/dEjoIEo2DdcQF4DGC/MEMFBZWMQdM6C+O7T/VuD3Qu3cLa+UHVhKMtfagb2x 8HtjbmVkQX0evSlVcRluWqXEQyroYYreBukWL28sq7jsucsiM7TJHYKTWyb3nLwo pLk5TgoZbBtfUv0DG7o0Yf6XR9hXVvIbFbMCjC0G+NUJbMzmPREUC9wPKXSZCbKn d42VVeO8rDMLZnAJgugaNa3r1mqa2fKSC2UyLELvQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtddvgddvvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd enucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghn sehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepffefteeuhfekleduhe ejfeekleevhfekkeelhffgleejtefgfeevueelkeegvdehnecuffhomhgrihhnpehgihht hhhusgdrtghomhenucfkphepkeeirddvfeekrddufeekrdelgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghn sehfrghsthhmrghilhdrnhgvth 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 D92CB3064610; Wed, 16 Sep 2020 05:59:18 -0400 (EDT) From: Konrad Hinsen To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-pypandoc. Date: Wed, 16 Sep 2020 11:59:18 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=konrad.hinsen@fastmail.net; helo=out5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 05:59:19 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) * gnu/packages/python-xyz.scm (python-pypandoc): New variable. --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 593bb3f468..24fc512178 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,39 @@ 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" ,ghc-pandoc) + ("pandoc-citeproc" ,ghc-pandoc-citeproc))) + (propagated-inputs + `(("pip" ,python-pip) + ("setuptools" ,python-setuptools) + ("wheel" ,python-wheel))) + (native-inputs + `(("texlive" ,texlive))) + (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")) + #t))))) + (home-page "https://github.com/bebraw/pypandoc") + (synopsis "Python wrapper for pandoc.") + (description "Thin Python wrapper for pandoc.") + (license license:expat))) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 06:08:03 2020 Received: (at 43443) by debbugs.gnu.org; 16 Sep 2020 10:08:03 +0000 Received: from localhost ([127.0.0.1]:33274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIUM7-0007u5-2Z for submit@debbugs.gnu.org; Wed, 16 Sep 2020 06:08:03 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIUM4-0007tY-7l for 43443@debbugs.gnu.org; Wed, 16 Sep 2020 06:08:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600250877; cv=none; d=zohomail.com; s=zohoarc; b=Pft4H3nOF0ShtULBJ5WonVH+vygdfrb1pWkb0e8sg92Q+o2ocWYAd1tXELs7vaFL3u7DddT7ne7VeoBJ2Hu2lfypKgKJM9kBcpAyMPu4Ji5tIjv3UwqOaPZMAAgshooGd8uyhfC8PtJKLEHApaofXDp6Oak9wnjGwxihkkoWcBk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600250877; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ZdSVqxcPKropYbtt3OqZAcMeTb26WC/6n2wHPkhMyV8=; b=hNOfA8Nta9xO6SAPb9HVW9iTKJG/7/VtDkLOoZRrj6uRj7qx+9w+IP1ljlsh5/HTQ9nUOqYKQuBUNXP//CgmwTA3PzsF4J/7+oLzD8ndOKh7Q2avDE6uf89v4KY+m63WJFTNVlQIVyMI7uzBxra1H+IbzTYacEbs7I9EKJa4wfM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600250877; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ZdSVqxcPKropYbtt3OqZAcMeTb26WC/6n2wHPkhMyV8=; b=Li20PNamZ/cMEgFeTLHYPP4ApH4VZ4humRl+qDhVa7htpRf3a8zWTgmK7jfeBQjL j+GoF4+RWV8DHFkBBOw7h+po6RoQp3dVSOpBHHk3ZIIRlWYCoBsBD38c9OYUusoO+ml 5KRMzx/MezGqOb81CJ3ndyArdlwF4ko25h0wrPs8= Received: from localhost (p54ad4084.dip0.t-ipconnect.de [84.173.64.132]) by mx.zohomail.com with SMTPS id 1600250876102426.32999964136116; Wed, 16 Sep 2020 03:07:56 -0700 (PDT) References: User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Konrad Hinsen Subject: Re: [bug#43443] [PATCH] gnu: Add python-pypandoc. In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 16 Sep 2020 12:09:14 +0200 Message-ID: <878sdavxrp.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43443 Cc: 43443@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Konrad, > * gnu/packages/python-xyz.scm (python-pypandoc): New variable. [=E2=80=A6] > + (inputs > + `(("pandoc" ,ghc-pandoc) > + ("pandoc-citeproc" ,ghc-pandoc-citeproc))) Should this really be the Haskell library variants? Or just the executables? If it=E2=80=99s just the executables you can use the =E2=80= =9Cpandoc=E2=80=9D and =E2=80=9Cpandoc-citeproc=E2=80=9D packages. > + (propagated-inputs > + `(("pip" ,python-pip) > + ("setuptools" ,python-setuptools) > + ("wheel" ,python-wheel))) > + (native-inputs > + `(("texlive" ,texlive))) It would be better to avoid this huge monolithic package. Does texlive-tiny work? If it doesn=E2=80=99t: what else does it need that coul= d be added to a texlive-union? > + (synopsis "Python wrapper for pandoc.") There should be no trailing period. > + (description "Thin Python wrapper for pandoc.") This should be a complete sentence. < --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 10:57:57 2020 Received: (at 43443) by debbugs.gnu.org; 16 Sep 2020 14:57:57 +0000 Received: from localhost ([127.0.0.1]:35679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIYsf-00017D-Jx for submit@debbugs.gnu.org; Wed, 16 Sep 2020 10:57:57 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIYsd-00016z-GT for 43443@debbugs.gnu.org; Wed, 16 Sep 2020 10:57:56 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DCB345C0646; Wed, 16 Sep 2020 10:57:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 16 Sep 2020 10:57:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:to:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= OIQN+ub6K4Im9e4KzUDS/5bGOcBBgE0sm0GKRO9i0Fk=; b=p1CpfnWjaW078UKz Y++L7px54nExqLItM49rdKL+PRXt7VMMdvsNhy7FQyh0nfAYqBk39afqkgG4Dhhh pLtO1a7m1WRlVOEz1mKPrZbvmKat05WVWKDp6o5+nCqQl/EhwtWUtHeh2y1GF/b/ hHZ+y/cIucX/X/hkcTHwqyiqMhcyI+o9WoMbdri6Smp2C4UNZW2EXXQhRrI+x8CU Xo0DYeLIPud5PwN6KvwxOOTyLz3w9R6yFTzJIYk1jjOQcRi+W8sWp1HR+7vk3D2r M3PlyVjc2SMsqFRBPapRmUdkC5wZHHsKc5XlZOXusg+CU9MEKu287HCdYra/mCTD ZrTseA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=OIQN+ub6K4Im9e4KzUDS/5bGOcBBgE0sm0GKRO9i0 Fk=; b=oR0xcr47OaX428iGE8mbkORSke/CEW53d/zI17gj8chJ7B9JQx642dhYP 8dIWw+H3Sjb4NCf7bwOaz+0RkeePWa7Ro7006enofiLRceFnjFXey2XzT5FiS+35 hL2Oeipdr5PUezBKyYcv2F3gTW+n9YVbe27ZKpdv5ZGu5FKjXbM2pcD4QfuDNBdi i1VQEzJj8evxJGGqIt/jCV+Lro605D2QIegEYrT6XW0VF59MkToW3eMGz1ybHA6E g7r2xPEZEAwkNusofH/liKQWWRuviGD/dnV+cXeWlYUG5rXmV++5jjelqNrC4D6B dF4TsGIW4BIiDOiAijiIJ2htw3Rsw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtddvgdekfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecuogfthfevqddqjfgurhdqufhushhpvggtthdqlhhofi culdehmdenucfjughrpefhvffvufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhm pefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgvnhesfhgrshhtmh grihhlrdhnvghtqeenucggtffrrghtthgvrhhnpedufefgieehieefgeffgffgvdevvdfg feehieehteffgfeiheegvedvveegkeelgfenucfkphepkeeirddvfeekrddufeekrdelge enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhn rhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth 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 1BD983280059; Wed, 16 Sep 2020 10:57:49 -0400 (EDT) From: Konrad Hinsen To: Ricardo Wurmus To: 43443@debbugs.gnu.org Subject: Re: [bug#43443] [PATCH] gnu: Add python-pypandoc. In-Reply-To: <878sdavxrp.fsf@elephly.net> References: <878sdavxrp.fsf@elephly.net> Date: Wed, 16 Sep 2020 16:57:47 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43443 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Ricardo, Thanks for your comments! > Should this really be the Haskell library variants? Or just the > executables? If it=E2=80=99s just the executables you can use the =E2=80= =9Cpandoc=E2=80=9D and > =E2=80=9Cpandoc-citeproc=E2=80=9D packages. Ooops, I didn't know there were distinct packages for that! The binaries are sufficient here. > It would be better to avoid this huge monolithic package. Does > texlive-tiny work? If it doesn=E2=80=99t: what else does it need that co= uld be > added to a texlive-union? texlive-tiny doesn't work, and after experimenting for about an hour I have given up on finding a small combination of packages for a texlive-union. It needs ifluatex.sty which apparently is part of texlive-latex-oberdiek, but if I add that package the test fails in creating a temporary directory for whatever reason. Another shortcut is disabling the one test case that depends on LaTeX, and thus completely remove texlive from native-inputs. Does that sound like an acceptable solution? Cheers, Konrad From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 11:17:44 2020 Received: (at 43443) by debbugs.gnu.org; 16 Sep 2020 15:17:44 +0000 Received: from localhost ([127.0.0.1]:35716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIZBo-0001g3-0X for submit@debbugs.gnu.org; Wed, 16 Sep 2020 11:17:44 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIZBm-0001fv-Rb for 43443@debbugs.gnu.org; Wed, 16 Sep 2020 11:17:43 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600269460; cv=none; d=zohomail.com; s=zohoarc; b=RKvW7SpUHWD25I8YpddvD13PzfDD61xaboDBwz3Cle/CyN55S862fcH3yXzvDA4rLPZbBJvqS/1xnVRm+6O4gJL92SGWZFPu9yoCCi1HnjWvn93W8hMGXMyCyppY/XZkxanKUqpntcQKM1x5MzfSwHpRxFZrnCSByVV2PpD2KtI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600269460; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=bTl3uiDCVxa+grK82KiwXxN5BPjQA7a44UL7n8lr5Xc=; b=V44gKpfQoRPzqkEIBwwKbtROkR1ylTU3ZSoq6khAof6RoST7X/9oCkynvyOPyqNhwZogvuXaCg5GWAFOlBQz6kyY1NRxNRsO7T3vFrOPwBBQPazaRbn4Mtb7Xe3SgvQyToRZ3dKn98F9InvZU/4iyvo82gDd4sYeqxVArdg38J4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600269460; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=bTl3uiDCVxa+grK82KiwXxN5BPjQA7a44UL7n8lr5Xc=; b=Zre0yw9u6CO1rmNR1PUremk9M4dGsto0tR73MBydz3xZseXTglg33g+BNEPGhdMK qY5tKO93SROvtSXu649FVeYvMv0GirmhVzHu4qr3m1Guvu9pZ0V+F2ukxuif1LXKZyA r3CpA2yEPJ62+NZUW8uO70wxnG2JDVBj6djMYn4E= Received: from localhost (p54ad4084.dip0.t-ipconnect.de [84.173.64.132]) by mx.zohomail.com with SMTPS id 1600269458170440.20376908872026; Wed, 16 Sep 2020 08:17:38 -0700 (PDT) References: <878sdavxrp.fsf@elephly.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Konrad Hinsen Subject: Re: [bug#43443] [PATCH] gnu: Add python-pypandoc. In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 16 Sep 2020 17:18:55 +0200 Message-ID: <875z8dwy00.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-ZohoMailClient: External X-Zoho-Virus-Status: 1 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43443 Cc: 43443@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Konrad Hinsen writes: >> It would be better to avoid this huge monolithic package. Does >> texlive-tiny work? If it doesn=E2=80=99t: what else does it need that c= ould be >> added to a texlive-union? > > texlive-tiny doesn't work, and after experimenting for about an hour > I have given up on finding a small combination of packages for > a texlive-union. It needs ifluatex.sty which apparently is part of > texlive-latex-oberdiek, but if I add that package the test fails > in creating a temporary directory for whatever reason. The attached thing works for me: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=p.patch diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 24fc512178..7f724bc907 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21994,14 +21994,19 @@ By default it uses the open Python vulnerability database Safety DB.") "1zvn9764cf7kkjkmr9gw6wc8adpk06qxr1rhxwa9pg0zmdvrk90l")))) (build-system python-build-system) (inputs - `(("pandoc" ,ghc-pandoc) - ("pandoc-citeproc" ,ghc-pandoc-citeproc))) + `(("pandoc" ,pandoc) + ("pandoc-citeproc" ,pandoc-citeproc))) (propagated-inputs `(("pip" ,python-pip) ("setuptools" ,python-setuptools) ("wheel" ,python-wheel))) (native-inputs - `(("texlive" ,texlive))) + `(("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 @@ -22011,6 +22016,8 @@ By default it uses the open Python vulnerability database Safety DB.") (substitute* "tests.py" (("test_basic_conversion_from_http_url") "skip_test_basic_conversion_from_http_url")) + ;; XXX: Needed by texlive-union to generate fonts + (setenv "HOME" "/tmp") #t))))) (home-page "https://github.com/bebraw/pypandoc") (synopsis "Python wrapper for pandoc.") --=-=-= Content-Type: text/plain -- Ricardo --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 12:36:56 2020 Received: (at 43443) by debbugs.gnu.org; 16 Sep 2020 16:36:56 +0000 Received: from localhost ([127.0.0.1]:35792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIaQS-0003Zs-3y for submit@debbugs.gnu.org; Wed, 16 Sep 2020 12:36:56 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:47705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIaQQ-0003Zg-C7 for 43443@debbugs.gnu.org; Wed, 16 Sep 2020 12:36:54 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id F3A305C083E; Wed, 16 Sep 2020 12:36:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 16 Sep 2020 12:36:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=M1DKZrvieym6NuzD4v9wZNgjhe ifzld/TV1LLQxYHQM=; b=uOeHL1WQjz/aYs4N/ff0pUlanpf11sMmMIdnixW01X QI4AEBfcbnoVSQZ71Rmsm8WwRvzcgCuvkvX50c1M9XXU5URpOax919fEBM4YgQlj JgSokIlA8jsczD+1+4iCWe19YlSOjNXXcV6RTBYbHt7tc6tRL1OWtVIQ5u2sWRMs BhJDPoonhRS0fZ2yzuLJJAkA4028lyPF7ML4Gc11EaS4QBBBXrKm2bht+MM46m3i kJkwssYrPgP/sWEbwbwYGpIvtXGVDrGy5P0tgkKCe8duc0rd9gCPfesZ7+z9Rl4X 9BKIFM91+r0LBMEZYZNLNlO7r1nQDx1juitglPg9BZTg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=M1DKZr vieym6NuzD4v9wZNgjheifzld/TV1LLQxYHQM=; b=RL6KuJ6FKfW/469PYemfzR BvsgdNkbCUow4IsP0/AF7gIYD+N4f4PstQIGl8mvBjbDFg28ibPK98QDRR3IJy1s tf9PEp4aApH3wTvfxt7lhS//M3wDFOBKkghOEEMT1gAqkgHNksD0zbNI1alWO25M ufz8cdvSfioeWxm+fTZRyWuRH3q19jrsMnXyHxpirVpphdcSSaPpV+Ir58D5BaFA tLKmF80M8LQuGtShqamhN1agi2xTujgd0NMZ98r/98hMCxPkJzY9an+iUdYW3dNX c4vNxk9hiMaoae9ffBignLj64bYjVQNIjQjWXXI44gqe8hdWiwpZKmc29mgW/68w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtddvgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkgggtsehttdertd dttddtnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhn shgvnhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeeikeejjeevue eifeejhedtgeethfdutefgveffhfeuheejveeiieegvdfhtdeifeenucfkphepkeeirddv feekrddufeekrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth 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 2F6953064610; Wed, 16 Sep 2020 12:36:48 -0400 (EDT) From: Konrad Hinsen To: Ricardo Wurmus Subject: Re: [bug#43443] [PATCH] gnu: Add python-pypandoc. In-Reply-To: <875z8dwy00.fsf@elephly.net> References: <878sdavxrp.fsf@elephly.net> <875z8dwy00.fsf@elephly.net> Date: Wed, 16 Sep 2020 18:36:46 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43443 Cc: 43443@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Ricardo Wurmus writes: > The attached thing works for me: OK, so the trick was to set $HOME! I'll send an updated complete patch in a second... Cheers, Konrad From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 12:37:48 2020 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 To: 43443@debbugs.gnu.org Subject: [PATCH] gnu: Add python-pypandoc. 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-Debbugs-Envelope-To: 43443 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 16 15:30:49 2020 Received: (at submit) by debbugs.gnu.org; 16 Sep 2020 19:30:49 +0000 Received: from localhost ([127.0.0.1]:35928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kId8i-0007g7-Pl for submit@debbugs.gnu.org; Wed, 16 Sep 2020 15:30:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:45500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kId8h-0007fv-9d for submit@debbugs.gnu.org; Wed, 16 Sep 2020 15:30:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kId8g-0008KV-Qv for guix-patches@gnu.org; Wed, 16 Sep 2020 15:30:47 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kId8e-00011C-Sm for guix-patches@gnu.org; Wed, 16 Sep 2020 15:30:46 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600284641; cv=none; d=zohomail.com; s=zohoarc; b=Dixr7rkXh0IIlWJ7BXuz4hzd79Y9AujI/PYXzgnXTyWsHgAMXsnknHsMAh5ZFD9eP/7nlTeCPSPFluk+VybrPVx5uGIbn891ZjsinQdHEaEVuI9i7vAgScLZeAORxfc9cYgS73fb03gYnBtyiI3GYvL7WlnGZn6NV3RGJx2AQIs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600284641; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=gPB6JtCTXRSImLzssHYOd5Bzk8mB3V4JnZoo4JmVix0=; b=hBBHsWxUUqZCdySY1hW0/MOpIAMhtyDu8YuSoVGNpQ+AhnvpZ2TKtgX/qg3bJsrwhb6cxkY2J4M7mywDcUUB6+Q4fdOLkyYNrsYmrnqSaR9JBvVDKu8CncuWvj/xOIGs/gGIiitClqChDD/9S4MH19kUdHESpHgLJnQ8bLA6BoU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600284641; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=gPB6JtCTXRSImLzssHYOd5Bzk8mB3V4JnZoo4JmVix0=; b=A0nzwFnFhdGWLLAPx+aaxD2OdZE/ov3G29yXMxRji9WhYxx1dQRclAE+WAQWSuUQ TgNv8SQiNOm/vhpXYNyFdlV/bV2W5BfRFN/rgojCGQuD/v8FcpYOgJ26CAphv4Nf3a0 Ad93+mUJZUylSq1RLgZILWH55+pGm7fTZ4Cr3KMU= Received: from localhost (p54ad4084.dip0.t-ipconnect.de [84.173.64.132]) by mx.zohomail.com with SMTPS id 1600284639148710.5257000060332; Wed, 16 Sep 2020 12:30:39 -0700 (PDT) References: <878sdavxrp.fsf@elephly.net> <875z8dwy00.fsf@elephly.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Konrad Hinsen Subject: Re: [bug#43443] [PATCH] gnu: Add python-pypandoc. In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 16 Sep 2020 21:31:56 +0200 Message-ID: <87lfh9v7pv.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 11:20:28 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 43443@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Konrad Hinsen writes: > * gnu/packages/python-xyz.scm (python-pypandoc): New variable. Looks good to me. =E2=80=9Cguix lint python-pypandoc=E2=80=9D says that we= don=E2=80=99t need pip and setuptools as propagated-inputs, and I can confirm that the package builds fine without them. Is it okay to remove them? --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 17 01:54:37 2020 Received: (at submit) by debbugs.gnu.org; 17 Sep 2020 05:54:37 +0000 Received: from localhost ([127.0.0.1]:37127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kImsP-0008RW-4o for submit@debbugs.gnu.org; Thu, 17 Sep 2020 01:54:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:56936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kImsN-0008RO-Ey for submit@debbugs.gnu.org; Thu, 17 Sep 2020 01:54:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kImsN-00035q-4c for guix-patches@gnu.org; Thu, 17 Sep 2020 01:54:35 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:32867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kImsL-0007sL-A9 for guix-patches@gnu.org; Thu, 17 Sep 2020 01:54:34 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 59FC7882; Thu, 17 Sep 2020 01:54:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 17 Sep 2020 01:54:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= XXLuzwMyv06x6b/nXSR0I/qhpiwpv+JFOwwA4FjBXuM=; b=bTakF95FTTE8s3PC cWCtpSZqo7PDXNUdpXBNqLxKUAwQHoHpZ2yVtDrpSxZfQ1Pg5Lu8GACResvQl+gG 9LHbnAC9JqMKuT3PuR3UFnVkroIwhZLJjSGranIHaeNpKFGsku5AeVUXkmWoAmNi XGYiXXxY5GBsAhalCzeRXmyeB3TOPLLnMlEZiFBRnuWTuPBgCaRlB1xiEdwKgwiV QP/di5JSGxgzjmINK6oOthjVuIoO42lnu0arKSAgEV91Qpu/Kv9N614OlTLIoowp xN8wOIvSK9D9PebagJE6dWYPxYep+AKa+diQNMOaQoDBcwSa6ON2tWbyuz4LExQU XU1Drw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=XXLuzwMyv06x6b/nXSR0I/qhpiwpv+JFOwwA4FjBX uM=; b=QnT3WtIGrGJVYocoEGcd8as6sFo1kibSQQaqtv5e87YexuwjLL2vABAu6 we14YZxRlTwIlMGZG/Yx4opaXjeIXWh0JB63ZbghlyUKYQ+VbdJjW4U9NyHKko/L s65MovmqPLWN21WPW8HkeJfxqq22p5qaT/mrsucnuOJ+/Eipla/gA7FFSC/jHbSG iIr0pWl+yiko2E/F+223GdZasftK7TMEp5xnkJ3GKEiMqXQr9sdhKKCbo7Ag+XIq NWykW88hv7SECOkfrwbjZoZbZYLvc4lE5QIt5cpsatFuFaRGD5Ye+hTdWs1z/LOi QTJgycE4A2qhKog9pw/ZnpBVwtvaA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtdefgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhffkfggtgfgsehtqhertd dttdejnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhn shgvnhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeevheelveegje duvdfgudeifeevteffvdetgeefkefgudeujeefgedvheegkefhjeenucfkphepkeeirddv feekrddufeekrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghsthhmrghilhdrnhgvth X-ME-Proxy: Received: from ordinateur-de-catherine--konrad.home (lfbn-idf2-1-907-94.w86-238.abo.wanadoo.fr [86.238.138.94]) by mail.messagingengine.com (Postfix) with ESMTPA id 222C53064610; Thu, 17 Sep 2020 01:54:30 -0400 (EDT) From: Konrad Hinsen To: Ricardo Wurmus Subject: Re: [bug#43443] [PATCH] gnu: Add python-pypandoc. In-Reply-To: <87lfh9v7pv.fsf@elephly.net> References: <878sdavxrp.fsf@elephly.net> <875z8dwy00.fsf@elephly.net> <87lfh9v7pv.fsf@elephly.net> Date: Thu, 17 Sep 2020 07:54:29 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.24; envelope-from=konrad.hinsen@fastmail.net; helo=wout1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/17 01:54:32 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 43443@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Ricardo Wurmus writes: > Looks good to me. =E2=80=9Cguix lint python-pypandoc=E2=80=9D says that = we don=E2=80=99t need > pip and setuptools as propagated-inputs, and I can confirm that the > package builds fine without them. > > Is it okay to remove them? Sure! And I have to admit that I completely forgot to run lint. Summer vacation made me forget some good habits! Konrad. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 17 03:25:08 2020 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 To: 43443@debbugs.gnu.org Subject: Re: [PATCH] gnu: Add python-pypandoc. 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-Debbugs-Envelope-To: 43443 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 17 05:42:46 2020 Received: (at 43443-done) by debbugs.gnu.org; 17 Sep 2020 09:42:46 +0000 Received: from localhost ([127.0.0.1]:37346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIqRC-0005bx-1J for submit@debbugs.gnu.org; Thu, 17 Sep 2020 05:42:46 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIqR9-0005bn-7N for 43443-done@debbugs.gnu.org; Thu, 17 Sep 2020 05:42:45 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600335759; cv=none; d=zohomail.com; s=zohoarc; b=gs3dVidg7sSgZDzwVgK+VThSwrEXMY6eLDnjIEevNH/HRwGXbC31rUhGWoNomdzOuxI5jtKBRjIcGEfxgr69b+7V08LCbTPb548gGhwCI8JmdS/xSK6sQPz9noficWYwY4c6/tFxa+c2fszNUGReb+Mql2ubLbD8SGvDztzixZw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600335759; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=QAaUOfnyvbP7zDN2Iu8Y3EhMDTjX8AS+lJEzCOjlVXY=; b=dqbAkyydtoH5us8EFrfmpWW6pJgWM83dXV8QNxtEs4gAKIhDdBMzlbOJMf8X1oGoAYVpckTsyl5hpzITMVWGdQoycYYRWklAaVLEB30DPy108+bQSfEgV3kwdpG3qF0xEVPymsqWG7s7PGl4M9FLCq9XRGaQADUy3UxaT2aGGq0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600335759; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=QAaUOfnyvbP7zDN2Iu8Y3EhMDTjX8AS+lJEzCOjlVXY=; b=hlG6vsK6r6B2vN5AC8OXznp7Wj0HsT0jf32sPNUvESlfqTIHjaaDPimJ8I05OaX+ UrzZmpPfyntwT2MxB0QWl7kUGu8dpyTNLjGnRzUVEZrmrtL5TE5w/ZRA5HTh1ZoMrRI 1+qjGYi7qGcKIKtni5t3fHxFdgb7aeMHY0wmeA5E= Received: from localhost (p54ad4c4f.dip0.t-ipconnect.de [84.173.76.79]) by mx.zohomail.com with SMTPS id 1600335756688430.0530980851629; Thu, 17 Sep 2020 02:42:36 -0700 (PDT) References: <878sdavxrp.fsf@elephly.net> <875z8dwy00.fsf@elephly.net> <87lfh9v7pv.fsf@elephly.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Konrad Hinsen Subject: Re: [bug#43443] [PATCH] gnu: Add python-pypandoc. In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 17 Sep 2020 11:43:56 +0200 Message-ID: <87imccviub.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43443-done Cc: 43443-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Konrad Hinsen writes: > Ricardo Wurmus writes: > >> Looks good to me. =E2=80=9Cguix lint python-pypandoc=E2=80=9D says that= we don=E2=80=99t need >> pip and setuptools as propagated-inputs, and I can confirm that the >> package builds fine without them. >> >> Is it okay to remove them? > > Sure! And I have to admit that I completely forgot to run lint. > Summer vacation made me forget some good habits! Heh, no problem! I pushed it with these changes to the =E2=80=9Cmaster=E2=80=9D branch with = commit 731354b8d7. --=20 Ricardo From unknown Thu Jun 19 14:06:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Oct 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator