From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GHOrNyN5HmNLXQAAbAwnHQ (envelope-from ) for ; Mon, 12 Sep 2022 02:11:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iC/PNyN5HmPIUwAA9RJhRA (envelope-from ) for ; Mon, 12 Sep 2022 02:11:15 +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 86C0F22562 for ; Mon, 12 Sep 2022 02:11:15 +0200 (CEST) Received: from localhost ([::1]:57656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXX2g-0003xL-3N for larch@yhetil.org; Sun, 11 Sep 2022 20:11:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXX2U-0003wm-Mb for guix-patches@gnu.org; Sun, 11 Sep 2022 20:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXX2U-0002EQ-E1 for guix-patches@gnu.org; Sun, 11 Sep 2022 20:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXX2U-0004VL-99 for guix-patches@gnu.org; Sun, 11 Sep 2022 20:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57744] [PATCH 1/3] gnu: Add python-ebooklib. References: <20220912000915.30537-1-matf@disr.it> In-Reply-To: <20220912000915.30537-1-matf@disr.it> Resent-From: M Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Sep 2022 00:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57744 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57744@debbugs.gnu.org Cc: M Received: via spool by 57744-submit@debbugs.gnu.org id=B57744.166294144417265 (code B ref 57744); Mon, 12 Sep 2022 00:11:02 +0000 Received: (at 57744) by debbugs.gnu.org; 12 Sep 2022 00:10:44 +0000 Received: from localhost ([127.0.0.1]:43738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXX2B-0004UP-Nw for submit@debbugs.gnu.org; Sun, 11 Sep 2022 20:10:44 -0400 Received: from knopi.disroot.org ([178.21.23.139]:38202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXX2A-0004UG-2q for 57744@debbugs.gnu.org; Sun, 11 Sep 2022 20:10:42 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 855D14A059; Mon, 12 Sep 2022 02:10:40 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h6qQJAa-eoe3; Mon, 12 Sep 2022 02:10:39 +0200 (CEST) From: M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail; t=1662941437; bh=7sXHYhNn4DmJ1uedafS88lXS9t9donHjIVt7qMcEGLg=; h=From:To:Cc:Subject:Date; b=iB//wPGEfyDio5Lw+YcAjoI9zj38soDt5yY19dzvkDPBoE3W7+ko8fOT79r1aPC0R T86fT0+6rJuiXrGa1xcgK0geMvlPN+4eJ6it45QGCjJbUlukB5qienswUUNQv4QJRM f32PUEwoJnm484ECpgb/Gs9EMUM5l6UqWJDRxVoUMOf4GjGW7LdVE7mY6lV1KZ8Qgs sAp5icrT+q72Fn3J13s06vMPNAuUAr0wt6PTIVKDb4iLT5miOni2BBq+qz/jEVPvWS /PkjwEmGx9ZrZC25gVxXS7xAN27jiXD+o5JSuUg0WCxE8OtrXj5kl9/tnuRLbo2GFY RJAsrBITqbikg== Date: Mon, 12 Sep 2022 02:10:26 +0200 Message-Id: <20220912001028.8375-1-matf@disr.it> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662941475; 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=s3PipfxCkIA3Qr15fxGN0O4b1QzeH1whwTMFHYVP8Og=; b=smYPD8LJ2xbz2WJx140HSAP+Oh25n3C//eQKxvC9NosMFXLB2JcZGCcyvmkoNFknRVs/SM OP0bL9ehVBPDzGHAV1b39hxynxCJAQciyP2Vh2AqmUmXnClNIujgNfsEHtkf2dq+BkC5GG V/tV4q3epXQse96OVKqyrAw7czX+8t+zq4j6bPV2ouyriGCGp1qHvA7DC2g7165fnIZvNS pRignxyCJf/5YR7HtFqWKF8AeeVYZ+4s9B8E+uoZD1zSfSMt5B1TXq9aogtsOgLH1qqyBc IcjSxI6MrJxtUibbidqGL0wugfZWOKHeberXxL3c5lovA1Dn4Y1+cqE9IQWQ0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662941475; a=rsa-sha256; cv=none; b=gNx/HIh8CI9FQ9O+afIuTSS7VRxV7mc2eJF11dg/Ek2ysPGEE8lC+bMAgjEkq1i+J4/bnq nyYWYX3JU1zv/WkSwjA/GTlC1/K8RoQODt6uhIkvx5b0TrM3kCmMlFYbuE2/nyeUJsNr6x Yt7tnAAzOT2y3GMrrPnRME0NL2TTJjGQP4SNdR6dOel8fRMmg1WfCcPGPsfmxGQuy+PeLA ciB+SIGOebleAB8JtBO060gKYWX44UsTPNWMd7N/KXjWa5AaPz557NX7odv8nkXENSQ58q RGt+y0OYfP0ebmcXIWyrofnzAKsWIzDejzSIngAWHuBUBO0d9UINKVj38pH6eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disr.it header.s=mail header.b="iB//wPGE"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disr.it (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.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disr.it header.s=mail header.b="iB//wPGE"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disr.it (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: 86C0F22562 X-Spam-Score: 7.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2qUQV61Uxp6d * gnu/packages/ebook.scm (python-ebooklib): New variable. --- gnu/packages/ebook.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm index c3a27cb113..be41318095 100644 --- a/gnu/packages/ebook.scm +++ b/gnu/packages/ebook.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 la snesne ;;; Copyright © 2021 Petr Hodina +;;; Copyright © 2021 Mathieu Laparie ;;; ;;; This file is part of GNU Guix. ;;; @@ -678,3 +679,21 @@ (define-public libmobi @item handling encrypted documents @end itemize\n") (license license:lgpl3+))) + +(define-public python-ebooklib + (package + (name "python-ebooklib") + (version "0.17.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "EbookLib" version)) + (sha256 + (base32 + "1w972g0kmh9cdxf3kjr7v4k99wvv4lxv3rxkip39c08550nf48zy")))) + (build-system python-build-system) + (propagated-inputs (list python-lxml python-six)) + (home-page "https://github.com/aerkalov/ebooklib") + (synopsis "Ebook library which can handle EPUB2/EPUB3 and Kindle format") + (description "Ebook library which can handle EPUB2/EPUB3 and Kindle +format.") + (license license:agpl3))) -- 2.37.2