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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 23:01:06 UTC 2019


    Date: Monday, November 4, 2019 @ 23:01:06
  Author: felixonmars
Revision: 524154

archrelease: copy trunk to community-staging-any

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

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

Copied: vdirsyncer/repos/community-staging-any/PKGBUILD (from rev 524152, vdirsyncer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 23:01:06 UTC (rev 524154)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+
+pkgname=vdirsyncer
+pkgver=0.16.7
+pkgrel=3
+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=('218c6781139a9e979077308dc732756cc27ecb67966e4b52be31cb1ebf04d224443036102d5c4bad253b9dcf533939f0b72082166f0fe94e042a7e946b8fad0e'
+            'f0d1f9755b21358b0371d94cb0d2f1fc12b8dc095d2536c7fc9025906d666ec33b85b3a3924b16a3311dc81e136e0790d50f84c7c8f9f65aaed80613fa69d066'
+            'ac2656edc5ad39dbdc31a71117d98bfdc4ab5001729fc6a76f54e1e34ff81192f29e6162b2f8e429a5e02b8842fe1f2f51b00e84637eda53ba1448b8f08c6b80')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # removing obsoleted use of health_check in hypothesis
+  sed -e '/_health_/d' \
+      -i tests/{unit/test_repair,conftest}.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 524153, vdirsyncer/trunk/vdirsyncer.service)
===================================================================
--- community-staging-any/vdirsyncer.service	                        (rev 0)
+++ community-staging-any/vdirsyncer.service	2019-11-04 23:01:06 UTC (rev 524154)
@@ -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 524153, vdirsyncer/trunk/vdirsyncer.timer)
===================================================================
--- community-staging-any/vdirsyncer.timer	                        (rev 0)
+++ community-staging-any/vdirsyncer.timer	2019-11-04 23:01:06 UTC (rev 524154)
@@ -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