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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:52:49 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:52:49
  Author: felixonmars
Revision: 1059456

archrelease: copy trunk to community-staging-any

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

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

Copied: vdirsyncer/repos/community-staging-any/PKGBUILD (from rev 1059453, vdirsyncer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:52:49 UTC (rev 1059456)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+
+pkgname=vdirsyncer
+pkgver=0.18.0
+pkgrel=2
+pkgdesc="Synchronize CalDAV and CardDAV."
+arch=('any')
+url="https://vdirsyncer.pimutils.org/en/stable/"
+license=('BSD')
+depends=('python-atomicwrites' 'python-click' 'python-click-log'
+         'python-click-threading' 'python-requests' 'python-requests-toolbelt')
+makedepends=('git' 'python-setuptools-scm' 'python-sphinx')
+optdepends=('python-requests-oauthlib: Google support'
+            'python-etesync: Etesync support'
+            'python-django: Etesync support')
+checkdepends=('python-hypothesis' 'python-pytest' 'python-pytest-localserver'
+              'python-pytest-subtesthack')
+source=("git+https://github.com/pimutils/vdirsyncer.git#tag=${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=('951082781CA308E4A529DEFD6F9FFF122B98C0CD') # Hugo Osvaldo Barrera <hugo at barrera.io>
+
+build() {
+  cd "${pkgname}"
+  python setup.py build
+  export PYTHONPATH="build:${PYTHONPATH}"
+  sphinx-build -b man docs/ build/
+}
+
+check() {
+  cd "${pkgname}"
+  export DETERMINISTIC_TESTS=true
+  pytest --tb=short -c /dev/null
+}
+
+package() {
+  cd "${pkgname}"
+  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 -vDm 644 "contrib/${pkgname}."{service,timer} \
+    -t "${pkgdir}/usr/lib/systemd/user/"
+  # man page
+  install -vDm 644 "build/${pkgname}.1" -t "${pkgdir}/usr/share/man/man1"
+  # docs
+  install -vDm 644 {AUTHORS,CHANGELOG,README}.rst \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Copied: vdirsyncer/repos/community-staging-any/vdirsyncer.service (from rev 1059453, vdirsyncer/trunk/vdirsyncer.service)
===================================================================
--- community-staging-any/vdirsyncer.service	                        (rev 0)
+++ community-staging-any/vdirsyncer.service	2021-12-01 14:52:49 UTC (rev 1059456)
@@ -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 1059453, vdirsyncer/trunk/vdirsyncer.timer)
===================================================================
--- community-staging-any/vdirsyncer.timer	                        (rev 0)
+++ community-staging-any/vdirsyncer.timer	2021-12-01 14:52:49 UTC (rev 1059456)
@@ -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