[arch-commits] Commit in xandikos/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:11:41 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:11:40
  Author: felixonmars
Revision: 753359

archrelease: copy trunk to community-staging-any

Added:
  xandikos/repos/community-staging-any/
  xandikos/repos/community-staging-any/PKGBUILD
    (from rev 753358, xandikos/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: xandikos/repos/community-staging-any/PKGBUILD (from rev 753358, xandikos/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:11:40 UTC (rev 753359)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=xandikos
+pkgver=0.2.3
+pkgrel=2
+pkgdesc='Lightweight yet complete CardDAV/CalDAV server that backs onto a Git repository'
+arch=('any')
+url=https://www.xandikos.org/
+license=('GPL3')
+depends=('python-aiohttp' 'python-defusedxml' 'python-dulwich'
+         'python-icalendar' 'python-jinja' 'python-multidict')
+makedepends=('python-setuptools')
+optdepends=('python-prometheus_client: for metrics with the standalone server'
+            'uwsgi-plugin-python: for the WSGI interface')
+source=("https://files.pythonhosted.org/packages/source/x/xandikos/xandikos-$pkgver.tar.gz")
+sha256sums=('245170565c7b028f2108923afa8db2cb7f94f812123356d65782dca424ab338e')
+
+prepare() {
+  rm xandikos-$pkgver/examples/*~
+}
+
+build() {
+  cd xandikos-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd xandikos-$pkgver
+  python -m unittest xandikos.tests.test_suite
+}
+
+package() {
+  cd xandikos-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos README.rst
+  install -Dm644 -t "$pkgdir"/usr/share/doc/xandikos/examples examples/*
+  install -Dm644 -t "$pkgdir"/usr/share/man/man1 xandikos.1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list