From patchwork Wed Sep 16 10:20:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Hinsen X-Patchwork-Id: 24172 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 A337F27BBE8; Wed, 16 Sep 2020 11:21:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 07FA527BBE7 for ; Wed, 16 Sep 2020 11:21:15 +0100 (BST) Received: from localhost ([::1]:50962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIUYs-00076l-6m for patchwork@mira.cbaines.net; Wed, 16 Sep 2020 06:21:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIUYg-00075p-QB for guix-patches@gnu.org; Wed, 16 Sep 2020 06:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIUYg-0004ec-HI for guix-patches@gnu.org; Wed, 16 Sep 2020 06:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kIUYg-0008Kj-Do for guix-patches@gnu.org; Wed, 16 Sep 2020 06:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43445] [PATCH 2/2] gnu: Add python-citeproc-py. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Sep 2020 10:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43445 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43445@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160025161431933 (code B ref -1); Wed, 16 Sep 2020 10:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2020 10:20:14 +0000 Received: from localhost ([127.0.0.1]:33289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIUXt-0008Iz-KS for submit@debbugs.gnu.org; Wed, 16 Sep 2020 06:20:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:44630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIUXs-0008Ir-1g for submit@debbugs.gnu.org; Wed, 16 Sep 2020 06:20:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIUXr-0006cQ-Sh for guix-patches@gnu.org; Wed, 16 Sep 2020 06:20:11 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34185) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIUXq-0004Pl-9K for guix-patches@gnu.org; Wed, 16 Sep 2020 06:20:11 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id CFBF05C00B6; Wed, 16 Sep 2020 06:20:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 16 Sep 2020 06:20:09 -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=9CrcfB+iBfKee9C8OFjy5auXViVUoXkGF5XUu1+ByWk=; b=bh/GuffA BFReOuDi1Yrm369xAqGYnxtWnGeJ69YsBxnR4ZVkg/Icg9FH2RC9K2ZcP0TuxYw2 PrNbShwcUOBIJcbKC9EI5Dt3RWfmoHgDN9q1As3E9c/urG+kATTLY39EAx/bdkLs 6tMjx5t1CVnPCH1tj1b9shOZGTXGbXC7ogktrwpLdiqos6rEgcZtteh6VCP9ClnU Z2TB4WKiA+Qxu7ZAzjmFazBYy0UjeBIQZWAEnNmnQjWawkuHBd1QlrX/K+kKulV6 hqrnh99QDpiGOrGBMsICZsin62lJKtZzYCHw1KbnluJj41nTQQYc5MdKMQ/ErbV7 soMPdU+hu52Zvw== 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=9CrcfB+iBfKee9C8OFjy5auXViVUo XkGF5XUu1+ByWk=; b=MskgGWQb0b1QqvQWeApVoBUMPRqe/pU+pO/1VWErrvBTj dX+RF9YBYEwzD9R5HKPuTKJojuHOIBXVBPTailgf9a6nRsAZvwOsy/GYf1au/CuE C/l8X1lwHxyE4NyviU8uNmsYL96O8Tinj0xLGahvK+jblChPxweFG/0nHlBWOt0h wmngVwz/46sW/h4GctWf3maGWCbuJJJG2C5ySu+FLRVtnb83Nt3nwDqqd+fwo/8T O6NCgYgYSQ6z8F6FeHKujn+efG74/de1p9FgG9KXBc5RArNMrW43Ywh6fBiCgRrj cwIeSZ+SxNxXMeD3V9BRW5pwpDX2G7Mvk1L6y7Npg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtddvgddviecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd enucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghn sehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepffefteeuhfekleduhe ejfeekleevhfekkeelhffgleejtefgfeevueelkeegvdehnecuffhomhgrihhnpehgihht hhhusgdrtghomhenucfkphepkeeirddvfeekrddufeekrdelgeenucevlhhushhtvghruf hiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghn 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 327F7328005E; Wed, 16 Sep 2020 06:20:09 -0400 (EDT) From: Konrad Hinsen Date: Wed, 16 Sep 2020 12:20:08 +0200 Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=66.111.4.25; envelope-from=konrad.hinsen@fastmail.net; helo=out1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/16 06:19:23 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-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 (python-citeproc-py): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fd58921953..5847c88000 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22044,3 +22044,28 @@ By default it uses the open Python vulnerability database Safety DB.") "Converts RELAX NG schemata in Compact syntax (rnc) to equivalent schemata in the XML-based default RELAX NG syntax.") (license license:expat))) + +(define-public python-citeproc-py + (package + (name "python-citeproc-py") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "citeproc-py" version)) + (sha256 + (base32 + "00aaff50jy4j0nakdzq9258z1gzrac9baarli2ymgspj88jg5968")))) + (build-system python-build-system) + (propagated-inputs + `(("python-lxml" ,python-lxml) + ("python-rnc2rng" ,python-rnc2rng))) + (home-page + "https://github.com/brechtm/citeproc-py") + (synopsis "Citations and bibliography formatter") + (description + "Citeproc-py is a CSL processor for Python. It aims to implement the +CSL 1.0.1 specification. citeproc-py can output styled citations and +bibliographies in a number of different output formats. Currently supported +are plain text, reStructuredText and HTML.") + (license license:bsd-2)))