From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oBWlDprdZWC6zwAAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 16:50:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0NV+CJrdZWC3RwAAbx9fmQ (envelope-from ) for ; Thu, 01 Apr 2021 14:50:02 +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 B8EB225A4F for ; Thu, 1 Apr 2021 16:50:01 +0200 (CEST) Received: from localhost ([::1]:48122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRye0-00077k-SZ for larch@yhetil.org; Thu, 01 Apr 2021 10:50:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRyd4-00060i-VP for guix-patches@gnu.org; Thu, 01 Apr 2021 10:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRyd4-0001xV-Nv for guix-patches@gnu.org; Thu, 01 Apr 2021 10:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRyd4-0002En-MS for guix-patches@gnu.org; Thu, 01 Apr 2021 10:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47546] [PATCH 2/2] gnu: Add python-typogrify. Resent-From: iyzsong@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47546 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47546@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16172885148544 (code B ref -1); Thu, 01 Apr 2021 14:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Apr 2021 14:48:34 +0000 Received: from localhost ([127.0.0.1]:58227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRycc-0002Dk-2f for submit@debbugs.gnu.org; Thu, 01 Apr 2021 10:48:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:44580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRycZ-0002Dc-RX for submit@debbugs.gnu.org; Thu, 01 Apr 2021 10:48:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRycY-00053e-II for guix-patches@gnu.org; Thu, 01 Apr 2021 10:48:30 -0400 Received: from mail-oln040092254065.outbound.protection.outlook.com ([40.92.254.65]:1160 helo=APC01-PU1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRycP-0001cj-RJ for guix-patches@gnu.org; Thu, 01 Apr 2021 10:48:29 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kcyve4anYBdmYbJAHPcQK6epf5olpzvpGYQ5EgSiQao8TWDgwB7WSM8p7Vr8kkCQNGU3L3QaJFVAG99eSDJ8yGbSwnLJexUtPHeldBewXG1KOhn6g2VC8sBDOVYLA7nd0f+nMsp36pybvjypzivOF8A9wywU8PMI3nVMNEPnXKo941vYjtex/M/IN3/boY//xlJMLFPecEQrVcIWg6XVm6z9SGbXbhDIiZWyr1910Vg0uTU/R/xMDePu7fXvTe5/bSJ1o1V/Dv6j5uF5HrsdrO+AFGTr+17aJL2Z8H9ocwJGAzVMFmqlVRBs9XTUcD5HpA8h14VQYc3JRoHrkvXSLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ID3d+ag2BhVNKprZISivDimqFZiUFofHeXcv+bqJBzc=; b=HfVHiYza/dmGDWjCJvIZ5Nt3uaW9frE/YJJQJ9atv77TXCs1ytAF21L73A91mOk07E1/E9iItU3spq81bPrFlAjllEbncRONciBA2SL54Jy0CsULTWL3VCF7R3Lg+RcocVvJe5QPl0gkL6b0z1bK75BvVumrr8SzZVA6MKZbMafZ0apkQDmzt0zgOSeClYXWzeBUY7PpoOmrqKjQAGmTsrJ5a7ILY8rb4Ia0ktTZ50ALXMs8SbJKtZSais+XJwnokFIyw3CLIzCGFco+8fcN3KE+KDJZlnhjOwPz359cKnPALwT/y2yl3I06EXPjfyVIiZuFYVsJ3Lf+OqWMPRa2Zg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ID3d+ag2BhVNKprZISivDimqFZiUFofHeXcv+bqJBzc=; b=rpp9mFQJlGxcewfZWW40dMS35ER6fOF2xU8CCRXWuKjKCUNtEPfrew6rte2O2506YNIfBoYgruBzFOLCUF/W7gSTvGgEqYc3R17TaaEnOZOBdzOCNS17Wjl3pb6AkSms7S6p4D/y7wbPZ/XKfSBpWDzkK9atDHaBhyIzGQ1Yv9sguyEL9utP6APM/+6A3XM3roLPDzGdS358n29E06BtGswENFJHPKJ8YU5rbJoeda4Sc8fNOE8eQ2JJ1Sapj9dHmh4z5Jc+/VyFnKtZEaHr5glwjnpUR2KAjtt3inlXVQaee1Ckvl+3l/uOk8Rx8OrZWebuVfelwDz7/x6T0n2lqA== Received: from SG2APC01FT030.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::53) by SG2APC01HT034.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::331) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.29; Thu, 1 Apr 2021 14:48:12 +0000 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (10.152.250.59) by SG2APC01FT030.mail.protection.outlook.com (10.152.250.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28 via Frontend Transport; Thu, 1 Apr 2021 14:48:12 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A2E39CF2BC1337D689BE8DE84CAC383A0D9CA19A2638E86FAE4BEBC41733FF37; UpperCasedChecksum:DC97B7726713859C47935DB790DED5E1F57E2EB3952C3B3AFAA0392EA524EC29; SizeAsReceived:8605; Count:47 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::3077:ff28:1097:42cd]) by OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::3077:ff28:1097:42cd%6]) with mapi id 15.20.3999.029; Thu, 1 Apr 2021 14:48:12 +0000 From: iyzsong@outlook.com Date: Thu, 1 Apr 2021 22:50:48 +0800 Message-ID: X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210401145048.17894-1-iyzsong@outlook.com> References: <20210401145048.17894-1-iyzsong@outlook.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [0bdgogaIsuFtNN5a3bqtQh+CKHbP7GO6qEZ1SEX4c/ihi9IoRaSzrscphWTSpenK] X-ClientProxiedBy: HK2P15301CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::19) To OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:ec::11) X-Microsoft-Original-Message-ID: <20210401145048.17894-2-iyzsong@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:376:7f20:2f1:f5ff:fe18:6bb) by HK2P15301CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.0 via Frontend Transport; Thu, 1 Apr 2021 14:48:12 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 5de6e3d9-1166-4b61-0fa2-08d8f51d2ca6 X-MS-TrafficTypeDiagnostic: SG2APC01HT034: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: STk69csnoDe8NbM7lxYvoNianyKOM2kRaSwwqNexLhJ6itDHYZQXkCjzvOCtBIs8YZlRFodQv0M2n40LsoslhWXqZlKv9q8Srwue+uhOWkAK/lJ3Ph4j+cWDaO4GVJgCYkQN6Vu4FrCkFcPK447YwQCiUsWihmf7nMRM2LEun6OrcpeszQEdQNs6jmnhcupqvD8byhkjKIrI0w5PeXcH/h/nShzb1dqtPe0YbY9JH5gs9sa4/hVeMzEPlMJKwzKqYHf4ey3qomN3ttwcZTLLLw3GmxxBbZXrtiObIHCGLm+oG2UZh9fCcYQ9UoE2dD6JLFJvH0bR93RmK+HHG6GWBhCq8lPq7h6Mmk5VBtGAeXfgZBDFrDYZzSfER0d9zGNO6uU3aBWNtKLAd+tEjn/e44La683cw6EQ6HM6EnnSp6D1rCgoDrINayx9rOyC1POk X-MS-Exchange-AntiSpam-MessageData: j3dJRFnmlfhq/Wc9bz+Wpi57GdsncydsvQGgIp5tNpd+tRsl23nPstAyX3CBYoQ83DNCweHZbrnAan1RWfyf9uVHDbVDZcGktaeRUkO/7IJLPQLUDRAyNvFYoCVVakpu4GGjdqibmfQGxgzdChx1p6/THQgyox0Q+iyTxUJjySQT2mg6+4P5PNp/l4LgBXRi0YV9LJSIpKyjJ7NUA0Tq+A== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5de6e3d9-1166-4b61-0fa2-08d8f51d2ca6 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Apr 2021 14:48:12.6306 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: SG2APC01FT030.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT034 Received-SPF: pass client-ip=40.92.254.65; envelope-from=iyzsong@outlook.com; helo=APC01-PU1-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617288602; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ID3d+ag2BhVNKprZISivDimqFZiUFofHeXcv+bqJBzc=; b=BHw6SrsWMI3X6Gp/YJEBiTFB7y0YArZ8V3+b2L6PQa8ahjGcTTQ21SrsBQSSLnNuuX1kkl RzU1Tn0U8U/M5dD+qXUKQ/ArZzMeoiU3cME38YsTLFReTn2JviG9JK2XvIEFP5Qvh6f/yJ jhjudx4L1untd2g8xWrxzU6Ce7M44FBSZ/ChSX8zfqhC1nflUZkMeBmqS9zjrTyeNeUP+R tcb2nmR99uO5gpJT7yaSTJs+jbM7QaJFJ4bUc6svRBt6czgAQUq0dawFfbemmDloQ15woh YxVIXtq5TzgVD/L1ffL8GugPpXBYL82h4ucnJTRWhNyg4rCRTkISEMcLBZTrsw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1617288602; a=rsa-sha256; cv=fail; b=Uy6eZ+yOcv9T0LOhJh/NwNQ4avTbR1P6tq3RZGG3EljpCNO8GB9xapcSVg7hzZvEa6/gTM LkWbpS9+bPibCL7BNc+yaYI1Od7PajcPLqMPeYgLDUWBue9TTgatcgt0P5kdae8vVUQ4Ym kYnt3PK4n/D7HzS+MF2vewyBzNAAOzbO5rb729XCwG5HeTauz1rmeXH0IA/pwVTLqtWyuP LEvj0646rRFCL4CE2SV1pN1CzXS5LeD/4tBhoL+EWz7y6TnNYcHliNYW4mPkwxPtpmPXxA vpNVCeQwp/6/pa1D2zi37jUWdm5Og+/8lGExM4cdA1gyHo6Pl3Uy3NNl7ZjZNQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=rpp9mFQJ; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (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-Migadu-Spam-Score: 0.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=outlook.com header.s=selector1 header.b=rpp9mFQJ; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (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-Migadu-Queue-Id: B8EB225A4F X-Spam-Score: 0.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: m8nK3wY15RiK From: 宋文武 * gnu/packages/python-xyz.scm (python-typogrify): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dfce35a212..c22f615bd9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24372,3 +24372,34 @@ entities @item Three consecutive dots (... or . . .) into an ellipsis entity @end enumerate") (license license:bsd-3))) + +(define-public python-typogrify + (package + (name "python-typogrify") + (version "2.0.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "typogrify" version)) + (sha256 + (base32 + "0f6b2gnnxjbx1fbmkcscc6qjr4hi78kwm1wx4b766ha3va66dr4b")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "nosetests" "-v")))))) + (propagated-inputs + `(("python-smartypants" ,python-smartypants))) + (native-inputs + ;; For tests. + `(("python-nose" ,python-nose))) + (home-page "https://github.com/mintchaos/typogrify") + (synopsis "Filters to transform text into typographically-improved HTML") + (description + "@code{typogrify} provides a set of custom filters that automatically +apply various transformations to plain text in order to yield +typographically-improved HTML. While often used in conjunction with Jinja and +Django template systems, the filters can be used in any environment.") + (license license:bsd-3))) -- 2.30.0