From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 12/17] gnu: Add vdirsyncer. Date: Wed, 6 Jan 2016 21:11:30 +0200 Message-ID: <20160106211130.36c59af9@debian-netbook> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/81YpoD2riARIG./jnOesPT7"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGtUh-0006dk-Jz for guix-devel@gnu.org; Wed, 06 Jan 2016 14:11:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGtUc-0005Sv-Uz for guix-devel@gnu.org; Wed, 06 Jan 2016 14:11:39 -0500 Received: from flashner.co.il ([178.62.234.194]:33637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGtUc-0005Sr-Je for guix-devel@gnu.org; Wed, 06 Jan 2016 14:11:34 -0500 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org --Sig_/81YpoD2riARIG./jnOesPT7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 3 Jan 2016 19:05:10 -0500 Leo Famulari wrote: > * gnu/packages/dav.scm (vdirsyncer): New variable. > --- > gnu/packages/dav.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 58 insertions(+) >=20 > diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm > index 07fdcb1..10ca0b2 100644 > --- a/gnu/packages/dav.scm > +++ b/gnu/packages/dav.scm > @@ -48,3 +48,61 @@ Instead, it supports the CalDAV and CardDAV implementa= tions of popular > clients.") > (home-page "http://radicale.org/") > (license gpl3+))) > + > +(define-public vdirsyncer > + (package > + (name "vdirsyncer") > + (version "0.7.5") > + (source (origin > + (method url-fetch) > + (uri (pypi-uri "vdirsyncer" version)) > + (sha256 > + (base32 > + "0dvar4k95n689fgw5gy19mb7ggaw32c8j2gbglr33wn7pbxc2l9z")))) > + (build-system python-build-system) > + (arguments > + `(#:phases (modify-phases %standard-phases > + (replace 'check > + (lambda _ > + (setenv "DAV_SERVER" "radicale") > + (setenv "REMOTESTORAGE_SERVER" "skip") > + (zero? (system* "py.test")))) > + ;; vdirsyncer requires itself to be installed in order to build > + ;; the manpage. > + (add-after 'install 'manpage > + (lambda* (#:key outputs #:allow-other-keys) > + (setenv "PYTHONPATH" > + (string-append > + (getenv "PYTHONPATH") > + ":" (assoc-ref outputs "out"))) > + (zero? (system* "make" "--directory=3Ddocs/" "man")) > + (install-file > + "docs/_build/man/vdirsyncer.1" > + (string-append > + (assoc-ref outputs "out") > + "/share/man/man1"))))))) > + (native-inputs > + `(("python-oauthlib" ,python-oauthlib) > + ("python-setuptools-scm" ,python-setuptools-scm) > + ("python-sphinx" ,python-sphinx) > + ;; Required for testing > + ("python-pytest" ,python-pytest) > + ("python-pytest-localserver" ,python-pytest-localserver) > + ("python-pytest-xprocess" ,python-pytest-xprocess) > + ("python-wsgi-intercept" ,python-wsgi-intercept) > + ("radicale" ,radicale))) > + (propagated-inputs > + `(("python-atomicwrites" ,python-atomicwrites) > + ("python-click" ,python-click) > + ("python-click-log" ,python-click-log) > + ("python-click-threading" ,python-click-threading) > + ("python-lxml" ,python-lxml) ; which one? > + ("python-requests-toolbelt" ,python-requests-toolbelt))) > + (synopsis "Synchronize calendars and contacts") > + (description "Vdirsyncer synchronizes your calendars and addressbooks > +between two storages. The most popular purpose is to synchronize a CalD= AV or how about "between two storage locations." > +CardDAV server with a local folder or file. The local data can then be > +accessed via a variety of programs, none of which have to know or worry = about > +syncing to a server.") > + (home-page "https://github.com/untitaker/vdirsyncer") > + (license expat))) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Sig_/81YpoD2riARIG./jnOesPT7 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWjWbiAAoJEPTB05F+rO6TcAAP/i2a+wICS/XSPs7qnLDZFgTC eIKWduiEfZmpalT3kvnEHvqmbfBoc3knlZfQzBQoO1PPmPguYSbm73kwYk2scA8t ZhQrBoYUSf1KLelAqeyN9HSOY2MFGOs0lgm34SS24/rf3bQaGSdOSzDwvv08hyHE jj6km52HvNN3I4e802rABu1EJW7Xw4AwTeI1dmXaRTZs+FMVEfNCk8l2DybcfrYR uB2/LW2MUagkcys4IKQ3TOc1YeFnqCx6z+j+WJ+G8OAOXWByP327d5sFjDDMTOeM 1DbCTrHWfqel2C9/6P/dzrqqlpPkgeJYYKZaEufYC+foU4oeATbKxFqQ+YPg0NbW zzDt+8s0Wu7ofUqj2SHA3D2U+2NFG8yJ5IZIGdJLJPW0aH5KnNLsNy5rl3HH8ERy Wu2T8YKwN+uveoVyVWkdM9q1JSIIZJf5zoCeLnhg/T72DmRZUvP5DFbhVPYvlo3y 796VC/4m3OupzT9LKbIOtzbK5Z6cIQyKoOwva1+IsI/I805B9UNdPKsF80EkGXPS QACyW3bEH/CXjwDD+55iqF0Wd4nvYbx7GjBK7HEK9F3PxF7O2iqVPeS8TitL4p7n 5uFPtlDfBISK1/IdsQPtqXDnEny5sn+v7FKwHZAB6RUl9mif//IhwWERU5Hsb46t kMHqsnV5YBqONafV1dyg =PDhX -----END PGP SIGNATURE----- --Sig_/81YpoD2riARIG./jnOesPT7--