From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QOklEDr6R2PmfwAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 13:44:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0JrGDzr6R2O5agAAauVa8A (envelope-from ) for ; Thu, 13 Oct 2022 13:44:58 +0200 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 063B837373 for ; Thu, 13 Oct 2022 13:44:58 +0200 (CEST) Received: from localhost ([::1]:48310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiwdy-0007OU-TC for larch@yhetil.org; Thu, 13 Oct 2022 07:44:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiwaF-00061q-Do for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiwaE-0003bj-Vm for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiwaE-0001pe-Qc for guix-patches@gnu.org; Thu, 13 Oct 2022 07:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58490] [PATCH 1/5] gnu: Add python-mdurl. X-Debbugs-Cc: rekado@elephly.net References: <750822584c9b40bf8bbd7e72a215e9ac@mdc-berlin.de> In-Reply-To: <750822584c9b40bf8bbd7e72a215e9ac@mdc-berlin.de> Resent-From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 11:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58490 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: <58490@debbugs.gnu.org> Received: via spool by 58490-submit@debbugs.gnu.org id=B58490.16656612466962 (code B ref 58490); Thu, 13 Oct 2022 11:41:02 +0000 Received: (at 58490) by debbugs.gnu.org; 13 Oct 2022 11:40:46 +0000 Received: from localhost ([127.0.0.1]:59763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwZx-0001oD-DK for submit@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:45 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:36135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiwZv-0001nn-Hz for 58490@debbugs.gnu.org; Thu, 13 Oct 2022 07:40:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received; s=mdc; t=1665661233; x=1667475634; bh=gsdqrNDPAX2beN0 yeuo3KmH5wEvHl+ORBcxH24BnNJg=; b=Ni97fNAb/RT9h9Y8kfP6T7TXQBOPtpu A8P5bBrebCX8HmciU8xRRC71vSbfq6o9G7qMQV3JWbVCZ3zX4cQ3e2Rhq3Kwr1fJ 9Y1CoiXbb0+hQqSzDF8VBZ8JZQNlMMWZjhWmXoE9qp3SNqoFtjV8U7Gyj8UhGczc BG0YoL1ukcGQ= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by a2062.mx.srv.dfn.de (Postfix) with ESMTPS id 8AEB7A0345 for <58490@debbugs.gnu.org>; Thu, 13 Oct 2022 13:40:33 +0200 (CEST) Received: from Guix-Ubuntu18.04 (141.80.113.106) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.12; Thu, 13 Oct 2022 13:40:23 +0200 From: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Date: Thu, 13 Oct 2022 13:40:02 +0200 Message-ID: <20221013114006.9513-1-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX1.mdc-berlin.net (141.80.113.54) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27198.007 X-TM-AS-Result: No-10--6.374300-5.000000 X-TMASE-MatchedRID: kREspPIIG7T/R1NSMc2qCU7nLUqYrlslFIuBIWrdOeOjEIt+uIPPOJG9 4MTCPIpje9miqIT5hkfuNT8xdcEnQwE+dA3RWUSvutvHF25zoU8xVUWGXs3C84GIQZIfU2iYOXf Z9OHyzWb2d+ISO7RJhwpG4pEjrtHgPdBKwuQh6lvG+nS24MzHeQmWvXEqQTm5QlnkwN3j+RRjaJ HsrxZyzPQOBfo2b70HVb2Z0ka9okEUegcXwBHh+8Yv//yaWh0DQuLGuwInWNOUKS3slq009Z4CI KY/Hg3AcmfM3DjaQLHEQdG7H66TyF82MXkEdQ77xrXA4yIwrKLS0t3G5hcEcNdS/41b1uFwuBQ5 BSs91IE8UQhwG9b68w== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--6.374300-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27198.007 X-TM-SNTS-SMTP: 94A9DBACD2F5D9114C1C9FB10E992A8885CB07734563C9FE8886268101E7A7F02002:F 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665661498; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Luf7HQ8h1t2O2WgI4MnKpu9Ww3zqWJOXxBHEkUbsC4M=; b=IgLqMX+7nnki1482hdKYAba4HeywnOF1abAAogIekfZc1r69Z5qXYIMks2FVZ2kKDaRvay 0GjuIELFVWttdGbszOKakD3axkFsvu2gJsJwNFD/KlVAMh9KnazKrv6YlGTiK8ErVesYR9 KuKVx/U0q/SltIwW+GWAmgS2epGBuTHhzOc6F8Gv7Sy0vse55PJ3po9pVnAQDNCQA6hFo6 AvZcP00phPstugWqswopoctU+aCAzrZUbYCHqlwx62FqyGnU2XNlrravzl0l+Yj5Z63L+S s2+U27Awt+KV0ZhW2s3INf2WSEGLG6os3HPbsy74L0fnI9unGor72SzdnOolmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665661498; a=rsa-sha256; cv=none; b=MPYB6fX+fy2HP6FDfH2ruo3j7kwDkzkwztMEcwOycxDi9mX4QXV1LJEJM54YgbKc949n3V Qadij8YGU4XTUrfdzvCq+wcPQxLlp+U2Z5agtZD7ROaYKQqlPltQ/L+lx4iEyZpS1/K6hC O+YT1c6cJhB/4ZkjsDRJxuJ2MfbzLbCfIhqUAULsQN0srMk00XDh1Aq8gFOn1teKtpMM9S aI1RiOyJhe1UI11oVaK/vsVaUU+OaQuDN5CAegQ1iMzyxjM0PVZzfVhxAvm8Vyv/HXOGJY M1Ji+hQbMkmWpkWdYjplDkOQjog62udibfRyZU9g1GpauEbtniHBB68hHk7nHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=Ni97fNAb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=Ni97fNAb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mdc-berlin.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 063B837373 X-Spam-Score: 7.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: vaCDvRb6tbrw * gnu/packages/python-xyz.scm (python-mdurl): New variable. --- gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8575d4a67e..b95d598c07 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -66,7 +66,7 @@ ;;; Copyright © 2019, 2020, 2021 Giacomo Leidi ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour -;;; Copyright © 2019, 2021 Mădălin Ionel Patrașcu +;;; Copyright © 2019, 2021, 2022 Mădălin Ionel Patrașcu ;;; Copyright © 2020 Riku Viitanen ;;; Copyright © 2020 Jakub Kądziołka ;;; Copyright © 2020 sirgazil @@ -625,6 +625,42 @@ (define-public python-lunr that best match text queries.") (license license:expat))) +(define-public python-mdurl + (package + (name "python-mdurl") + (version "0.1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "mdurl" version)) + (sha256 + (base32 + "1fn1hy35h9grggwqax90zcb52inlfxrxsm27vlqqz8zfyllkshdv")))) + (build-system python-build-system) + (arguments + (list + #:tests? #f ;pypi source does not contains tests + #:phases + #~(modify-phases %standard-phases + (replace 'build + (lambda _ + (invoke "flit" "build"))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (for-each + (lambda (wheel) + (format #t wheel) + (invoke "python" "-m" "pip" "install" + wheel (string-append "--prefix=" #$output))) + (find-files "dist" "\\.whl$"))))))) + (native-inputs (list python-flit)) + (home-page "https://github.com/executablebooks/mdurl") + (synopsis "Markdown URL utilities") + (description + "This package implements a @code{Python} port of the @code{JavaScript} +@code{mdurl}.") + (license license:expat))) + (define-public python-mrkd (package (name "python-mrkd") base-commit: 9ed65e6af77893b658a7159b091b5002892c2f95 -- 2.37.3