[arch-commits] Commit in vdirsyncer/repos (4 files)

David Runge dvzrv at archlinux.org
Mon Jul 16 23:23:19 UTC 2018


    Date: Monday, July 16, 2018 @ 23:23:19
  Author: dvzrv
Revision: 360311

archrelease: copy trunk to community-staging-any

Added:
  vdirsyncer/repos/community-staging-any/
  vdirsyncer/repos/community-staging-any/PKGBUILD
    (from rev 360310, vdirsyncer/trunk/PKGBUILD)
  vdirsyncer/repos/community-staging-any/vdirsyncer.service
    (from rev 360310, vdirsyncer/trunk/vdirsyncer.service)
  vdirsyncer/repos/community-staging-any/vdirsyncer.timer
    (from rev 360310, vdirsyncer/trunk/vdirsyncer.timer)

--------------------+
 PKGBUILD           |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++
 vdirsyncer.service |    7 +++++
 vdirsyncer.timer   |   10 ++++++++
 3 files changed, 77 insertions(+)

Copied: vdirsyncer/repos/community-staging-any/PKGBUILD (from rev 360310, vdirsyncer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-16 23:23:19 UTC (rev 360311)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+
+pkgname=vdirsyncer
+pkgver=0.16.6
+pkgrel=2
+pkgdesc="Synchronize CalDAV and CardDAV."
+arch=('any')
+url="https://vdirsyncer.pimutils.org/en/stable/"
+license=('BSD')
+depends=('python-click' 'python-setuptools' 'python-requests-toolbelt'
+'python-atomicwrites' 'python-click-threading' 'python-click-log')
+makedepends=('python-setuptools-scm')
+optdepends=('python-requests-oauthlib: Google support'
+            'python-etesync: Etesync support')
+checkdepends=('python-pytest' 'python-wsgi-intercept' 'radicale'
+'python-pytest-xprocess' 'python-pytest-localserver' 'python-hypothesis'
+'python-pytest-subtesthack')
+source=("${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/v/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+        "https://raw.githubusercontent.com/pimutils/${pkgname}/${pkgver}/contrib/${pkgname}.service"
+        "https://raw.githubusercontent.com/pimutils/${pkgname}/${pkgver}/contrib/${pkgname}.timer")
+sha512sums=('b96467da4aeedbf6c582dfcc31cc6fbb88f8031e0e3c7c2fffc2e921cb927c6fcc937ac0da5ab74861bef34959dc05bd15208ec0380d83e727b3f55a5872404a'
+            'f0d1f9755b21358b0371d94cb0d2f1fc12b8dc095d2536c7fc9025906d666ec33b85b3a3924b16a3311dc81e136e0790d50f84c7c8f9f65aaed80613fa69d066'
+            'ac2656edc5ad39dbdc31a71117d98bfdc4ab5001729fc6a76f54e1e34ff81192f29e6162b2f8e429a5e02b8842fe1f2f51b00e84637eda53ba1448b8f08c6b80')
+
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # disabling failing test: https://github.com/pimutils/vdirsyncer/issues/754
+  sed -e 's/test_open_graphical_browser/disable_&/g' \
+      -i tests/system/utils/test_main.py
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  make DETERMINISTIC_TESTS=true test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  # license
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+  # systemd
+  install -t "${pkgdir}/usr/lib/systemd/user/" \
+    -vDm 644 "${srcdir}/${pkgname}."{service,timer}
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm 644 {AUTHORS,CHANGELOG,README}.rst
+}
+

Copied: vdirsyncer/repos/community-staging-any/vdirsyncer.service (from rev 360310, vdirsyncer/trunk/vdirsyncer.service)
===================================================================
--- community-staging-any/vdirsyncer.service	                        (rev 0)
+++ community-staging-any/vdirsyncer.service	2018-07-16 23:23:19 UTC (rev 360311)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Synchronize calendars and contacts
+Documentation=https://vdirsyncer.readthedocs.org/
+
+[Service]
+ExecStart=/usr/bin/vdirsyncer sync
+Type=oneshot

Copied: vdirsyncer/repos/community-staging-any/vdirsyncer.timer (from rev 360310, vdirsyncer/trunk/vdirsyncer.timer)
===================================================================
--- community-staging-any/vdirsyncer.timer	                        (rev 0)
+++ community-staging-any/vdirsyncer.timer	2018-07-16 23:23:19 UTC (rev 360311)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Synchronize vdirs
+
+[Timer]
+OnBootSec=5m
+OnUnitActiveSec=15m
+AccuracySec=5m
+
+[Install]
+WantedBy=timers.target



More information about the arch-commits mailing list