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

David Runge dvzrv at archlinux.org
Sun Feb 4 20:00:40 UTC 2018


    Date: Sunday, February 4, 2018 @ 20:00:39
  Author: dvzrv
Revision: 289068

archrelease: copy trunk to community-testing-any

Added:
  vdirsyncer/repos/community-testing-any/
  vdirsyncer/repos/community-testing-any/PKGBUILD
    (from rev 289067, vdirsyncer/trunk/PKGBUILD)
  vdirsyncer/repos/community-testing-any/remove-broken-test.diff
    (from rev 289067, vdirsyncer/trunk/remove-broken-test.diff)
  vdirsyncer/repos/community-testing-any/vdirsyncer.service
    (from rev 289067, vdirsyncer/trunk/vdirsyncer.service)
  vdirsyncer/repos/community-testing-any/vdirsyncer.timer
    (from rev 289067, vdirsyncer/trunk/vdirsyncer.timer)

-------------------------+
 PKGBUILD                |   60 ++++++++++++++++++++++++++++++++++++++++++++++
 remove-broken-test.diff |   23 +++++++++++++++++
 vdirsyncer.service      |    7 +++++
 vdirsyncer.timer        |   10 +++++++
 4 files changed, 100 insertions(+)

Copied: vdirsyncer/repos/community-testing-any/PKGBUILD (from rev 289067, vdirsyncer/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-02-04 20:00:39 UTC (rev 289068)
@@ -0,0 +1,60 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+
+pkgname=vdirsyncer
+pkgver=0.16.3
+pkgrel=2
+pkgdesc="Synchronize CalDAV and CardDAV."
+arch=('any')
+url="https://vdirsyncer.readthedocs.org/"
+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"
+        'remove-broken-test.diff'
+        "https://raw.githubusercontent.com/pimutils/${pkgname}/${pkgver}/contrib/${pkgname}.service"
+        "https://raw.githubusercontent.com/pimutils/${pkgname}/${pkgver}/contrib/${pkgname}.timer")
+sha512sums=('8f71cc71527d68836405722b4be03695b9010f72729c1c9b6d0199996bcf6821628a26297ff2d3a45047910618d570566e00edefccc428d29ba9fc9033caddff'
+            '5875127cf637bdefda4e733edb03e4455cde44e368183b289788343961c536e6bf8c8332f17e46ace2c3c662857cab20a79abe6b366d77e92f0aab80f5198d07'
+            'f0d1f9755b21358b0371d94cb0d2f1fc12b8dc095d2536c7fc9025906d666ec33b85b3a3924b16a3311dc81e136e0790d50f84c7c8f9f65aaed80613fa69d066'
+            'ac2656edc5ad39dbdc31a71117d98bfdc4ab5001729fc6a76f54e1e34ff81192f29e6162b2f8e429a5e02b8842fe1f2f51b00e84637eda53ba1448b8f08c6b80')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/remove-broken-test.diff"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+#  make DETERMINISTIC_TESTS=true test
+  make test
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" -vDm644 {AUTHORS,CHANGELOG,README}.rst
+  install -vDm644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
+  install -vDm644 "${srcdir}/${pkgname}.timer" "${pkgdir}/usr/lib/systemd/user/${pkgname}.timer"
+}
+

Copied: vdirsyncer/repos/community-testing-any/remove-broken-test.diff (from rev 289067, vdirsyncer/trunk/remove-broken-test.diff)
===================================================================
--- community-testing-any/remove-broken-test.diff	                        (rev 0)
+++ community-testing-any/remove-broken-test.diff	2018-02-04 20:00:39 UTC (rev 289068)
@@ -0,0 +1,23 @@
+diff -ruN vdirsyncer-0.16.3-a/tests/storage/__init__.py vdirsyncer-0.16.3-b/tests/storage/__init__.py
+--- vdirsyncer-0.16.3-a/tests/storage/__init__.py	2017-10-03 10:50:44.000000000 +0200
++++ vdirsyncer-0.16.3-b/tests/storage/__init__.py	2018-02-04 20:48:29.051827826 +0100
+@@ -297,19 +297,6 @@
+             assert rv == x
+             assert isinstance(rv, str)
+ 
+-    @given(value=st.one_of(
+-        st.none(),
+-        printable_characters_strategy.filter(lambda x: x.strip() != x)
+-    ))
+-    def test_metadata_normalization(self, requires_metadata, s, value):
+-        x = s.get_meta('displayname')
+-        assert x == normalize_meta_value(x)
+-
+-        if not getattr(self, 'dav_server', None):
+-            # ownCloud replaces "" with "unnamed"
+-            s.set_meta('displayname', value)
+-            assert s.get_meta('displayname') == normalize_meta_value(value)
+-
+     def test_recurring_events(self, s, item_type):
+         if item_type != 'VEVENT':
+             pytest.skip('This storage instance doesn\'t support iCalendar.')

Copied: vdirsyncer/repos/community-testing-any/vdirsyncer.service (from rev 289067, vdirsyncer/trunk/vdirsyncer.service)
===================================================================
--- community-testing-any/vdirsyncer.service	                        (rev 0)
+++ community-testing-any/vdirsyncer.service	2018-02-04 20:00:39 UTC (rev 289068)
@@ -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-testing-any/vdirsyncer.timer (from rev 289067, vdirsyncer/trunk/vdirsyncer.timer)
===================================================================
--- community-testing-any/vdirsyncer.timer	                        (rev 0)
+++ community-testing-any/vdirsyncer.timer	2018-02-04 20:00:39 UTC (rev 289068)
@@ -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