From patchwork Thu Aug 27 20:58:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23806 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 F00E927BBE7; Thu, 27 Aug 2020 21:59:08 +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, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, URIBL_BLOCKED autolearn=ham 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 ESMTP id 92E2F27BBE6 for ; Thu, 27 Aug 2020 21:59:08 +0100 (BST) Received: from localhost ([::1]:44660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBOzE-0004QT-2q for patchwork@mira.cbaines.net; Thu, 27 Aug 2020 16:59:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBOz8-0004Po-JX for guix-patches@gnu.org; Thu, 27 Aug 2020 16:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBOz8-00048o-9z for guix-patches@gnu.org; Thu, 27 Aug 2020 16:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBOz8-0001xg-9i for guix-patches@gnu.org; Thu, 27 Aug 2020 16:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43074] [PATCH 1/2] gnu: Add xandikos. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Aug 2020 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43074@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15985619287519 (code B ref -1); Thu, 27 Aug 2020 20:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Aug 2020 20:58:48 +0000 Received: from localhost ([127.0.0.1]:44263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBOyo-0001x8-HM for submit@debbugs.gnu.org; Thu, 27 Aug 2020 16:58:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:52492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBOym-0001wy-0U for submit@debbugs.gnu.org; Thu, 27 Aug 2020 16:58:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBOyl-0004OA-Fa for guix-patches@gnu.org; Thu, 27 Aug 2020 16:58:39 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBOyj-00047q-2V for guix-patches@gnu.org; Thu, 27 Aug 2020 16:58:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 144C42400FB for ; Thu, 27 Aug 2020 22:58:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1598561914; bh=wp9GBAo/cTWNc5A7hz+Lb6ETyUvzwj1UKw+E1zftGpQ=; h=From:To:Cc:Subject:Date:From; b=pat5Nigm1XRcpUarbeBkQ/T64kTjGk6UumozfSZ0VT0dRh7rEM9ktnQ9vk91FHxCN ME+4uW0wKzhCLrU11BO/aPOSGIB3m1kv2ey8Uvtr7fgd8xREW3b7sXPEAAfM9GS7vd RDlmwdaDJFObQbmBAdYiRriuFjqDURHojMLhKNlRAQB14t7AwTh/ojlcwcFedduhMe 9ldcYQTSPaKWFOgH+mlLFYrKxqISvt+UsZGHU3tqlJjSeW8EG62DdLuiWjPkixHu1m JmWOedpnOfornI7TJjxPG0GCY/hnx6vnM6Tu2WbpKtvlClCGn6jeVVYNwN0+V7OzIW 9mMmQU0DrVojQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bcw7D3MClz6tmF; Thu, 27 Aug 2020 22:58:32 +0200 (CEST) From: Vinicius Monego Date: Thu, 27 Aug 2020 17:58:25 -0300 Message-Id: <20200827205825.50164-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/27 16:10:41 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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/dav.scm (xandikos): New variable. --- gnu/packages/dav.scm | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index b9e210c84b..ab50c86f14 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2015, 2016, 2017 Leo Famulari ;;; Copyright © 2018, 2019 Efraim Flashner ;;; Copyright © 2020 Tobias Geerinckx-Rice +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,7 +29,8 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) - #:use-module (gnu packages sphinx)) + #:use-module (gnu packages sphinx) + #:use-module (gnu packages xml)) (define-public radicale (package @@ -58,6 +60,44 @@ clients.") (home-page "https://radicale.org/") (license gpl3+))) +(define-public xandikos + (package + (name "xandikos") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "xandikos" version)) + (sha256 + (base32 "13ikmcja9p42azb5ccqj2bw98zybna6zlflj10hqy0kvbib70l94")))) + (build-system python-build-system) + (propagated-inputs + `(("python-aiohttp" ,python-aiohttp) + ("python-defusedxml" ,python-defusedxml) + ("python-dulwich" ,python-dulwich) + ("python-icalendar" ,python-icalendar) + ("python-jinja2" ,python-jinja2) + ("python-multidict" ,python-multidict))) + (home-page "https://www.xandikos.org/") + (synopsis "Lightweight CalDAV/CardDAV server") + (description + "Xandikos is a lightweight yet complete CardDAV/CalDAV server that backs +onto a Git repository. + +Features: + +@itemize +@item Easy to set up +@item Share calendars (events, todo items, journal entries) via CalDAV and +contacts (vCard) via CardDAV +@item Automatically keep history and back up changes in Git +@item Supports synchronization extensions for CalDAV/CardDAV for quick and +efficient syncing +@item Automatically keep history and back up +@item Works with all tested CalDAV and CardDAV clients +@end itemize") + (license gpl3+))) + (define-public vdirsyncer (package (name "vdirsyncer") From patchwork Thu Aug 27 21:00:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23807 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 42D2227BBE6; Thu, 27 Aug 2020 22:01:16 +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, 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 ESMTP id F414927BBE5 for ; Thu, 27 Aug 2020 22:01:15 +0100 (BST) Received: from localhost ([::1]:45244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBP1H-0004pr-IP for patchwork@mira.cbaines.net; Thu, 27 Aug 2020 17:01:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBP14-0004pc-HH for guix-patches@gnu.org; Thu, 27 Aug 2020 17:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBP14-0004Uq-7p for guix-patches@gnu.org; Thu, 27 Aug 2020 17:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBP14-00023U-56 for guix-patches@gnu.org; Thu, 27 Aug 2020 17:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43074] [PATCH 2/2] gnu: radicale: Update to 3.0.4. References: <20200827205825.50164-1-monego@posteo.net> In-Reply-To: <20200827205825.50164-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Aug 2020 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43074@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43074-submit@debbugs.gnu.org id=B43074.15985620477871 (code B ref 43074); Thu, 27 Aug 2020 21:01:02 +0000 Received: (at 43074) by debbugs.gnu.org; 27 Aug 2020 21:00:47 +0000 Received: from localhost ([127.0.0.1]:44285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBP0p-00022t-Cc for submit@debbugs.gnu.org; Thu, 27 Aug 2020 17:00:47 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBP0n-00022f-P7 for 43074@debbugs.gnu.org; Thu, 27 Aug 2020 17:00:46 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5313216005C for <43074@debbugs.gnu.org>; Thu, 27 Aug 2020 23:00:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1598562039; bh=kj5hKZXPNmePWkuTCslUlDUX93DfQCKeXo7pbc3rWQA=; h=From:To:Cc:Subject:Date:From; b=FrLZdpjGDWJhxqcjuleMIphs5WoHHuEwFEdu4JEXgQ61vv//n0atxXpURErUXtko+ 5sFlGz6Aj75Q3XvfyCGS9zKYlAK4Q6PTRUI72zrTOftVcSmLq1asDB+s1yIoo2IbhB SeyydLIqJ7OP1A6k3GfrxVVX7r5OzzCZS12fQEtlC7UWdp2AXXpYf29JeUOetJ8Rez g3hOoNCcr5ZbtxPtXIOLETOweWYbB0fhWWVXQyuGIRdb7XelCi7Eor/Zyh16ls+nrl RVviDuTMRTmQTiBstp+olsCiRpf4RFvwldx3UXWDClZS6uLdSTI/Lb0akPgp51y63s MXvURUlqS6acg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bcw9d4Hs6z9rxV; Thu, 27 Aug 2020 23:00:37 +0200 (CEST) From: Vinicius Monego Date: Thu, 27 Aug 2020 18:00:24 -0300 Message-Id: <20200827210024.50409-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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/dav.scm (radicale): Update to 3.0.4. --- gnu/packages/dav.scm | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm index ab50c86f14..f56a3a837b 100644 --- a/gnu/packages/dav.scm +++ b/gnu/packages/dav.scm @@ -24,30 +24,46 @@ #:use-module (guix download) #:use-module (guix licenses) #:use-module (guix packages) + #:use-module (guix git-download) #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages sphinx) + #:use-module (gnu packages time) #:use-module (gnu packages xml)) (define-public radicale (package (name "radicale") - (version "1.1.6") - (source (origin - (method url-fetch) - (uri (pypi-uri "Radicale" version)) - (sha256 - (base32 - "0ay90nj6fmr2aq8imi0mbjl4m2rzq7a83ikj8qs9gxsylj71j1y0")))) + (version "3.0.4") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/Kozea/Radicale") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hj9mmhrj32mzhxlnjcfijb7768cyjsn603nalp54clgb2gkmvw8")))) (build-system python-build-system) - (arguments - '(#:tests? #f)) ; The tests are not distributed in the PyPi release. + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-flake8" ,python-pytest-flake8) + ("python-pytest-isort" ,python-pytest-isort) + ("python-pytest-runner" ,python-pytest-runner) + ("python-waitress" ,python-waitress))) (propagated-inputs - ;; TODO: Add python-pam - `(("python-requests" ,python-requests))) + `(("python-dateutil" ,python-dateutil) + ("python-defusedxml" ,python-defusedxml) + ("python-passlib" ,python-passlib) + ("python-vobject" ,python-vobject))) + (home-page "https://radicale.org/") (synopsis "Basic CalDAV and CardDAV server") (description "Radicale is a CalDAV and CardDAV server for UNIX-like platforms. Calendars and address books are available for both local and remote @@ -57,7 +73,6 @@ and edited by calendar and contact clients on mobile phones or computers. Radicale intentionally does not fully comply with the CalDAV and CardDAV RFCs. Instead, it supports the CalDAV and CardDAV implementations of popular clients.") - (home-page "https://radicale.org/") (license gpl3+))) (define-public xandikos