[arch-commits] Commit in radicale/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Aug 21 18:46:52 UTC 2018
Date: Tuesday, August 21, 2018 @ 18:46:51
Author: dvzrv
Revision: 373166
upgpkg: radicale 2.1.10-1
Upgrading to 2.1.10. Adding back tests. Removing call to flake8 due to bug (reported upstream).
Modified:
radicale/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-21 18:41:24 UTC (rev 373165)
+++ PKGBUILD 2018-08-21 18:46:51 UTC (rev 373166)
@@ -4,8 +4,8 @@
pkgname=radicale
_name=Radicale
-pkgver=2.1.9
-pkgrel=3
+pkgver=2.1.10
+pkgrel=1
pkgdesc='Simple calendar (CalDAV) and contact (CardDAV) server'
arch=('any')
url="http://www.radicale.org/"
@@ -17,7 +17,7 @@
"${pkgname}-sysusers.conf"
"${pkgname}-tmpfiles.conf"
"${pkgname}.service")
-sha512sums=('30df36772f4dd38c9c79ecd9669da8b40c7284afa9e2949c174c159838c33a66edec1a49adf7c110017dc83c592415be6fa43e2de6007d7e154b8707773c4a44'
+sha512sums=('8be15a0777e437b38c48f80ae67b84ab9459414e6f493c8f2f2628fdbe5907757c61610d1b1c38bb161353baf7ac6488105639836a0f0e5d2e7ef163d014c25f'
'444489ba929680490884e338acc311fb61d81f9d9f0282c92c40a80317af9e61123e4764e803d1698876417170efd40bfe7f56408570891c4e426de3be17c302'
'4570ed393b73bc5a3fd571947acae78b96b5e17f659e3169f542b9c481635680c724d5c6c0952661fae063caf04c786afe7043c5052945e7a00bb66326dec016'
'6a3452009bebc0f8680ea8e64b9a398c04f3fb6b20752c377392e22641845a04dbfda78d586271c9a25bd7d5ba42b7a8f74774afed68732f19ddd764f53e11cc')
@@ -25,11 +25,9 @@
prepare() {
mv -v ${_name}-${pkgver} ${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}
- # removing version pinning, as we are rolling release
- # expect to hit bugs!
- sed -e 's/vobject\=\=0\.9\.5/vobject/' \
- -e 's/python-dateutil\=\=2\.6\.1/python-dateutil/' \
- -i setup.py
+ # removing call to flake8 from tests:
+ # https://github.com/Kozea/Radicale/issues/859
+ sed -e 's/--flake8//g' -i setup.cfg
}
build() {
@@ -37,18 +35,17 @@
python setup.py build
}
-# checks are disabled for now https://bugs.archlinux.org/task/58344
-#check() {
-# cd "${pkgname}-${pkgver}"
-# python setup.py test
-#}
+check() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py test
+}
package() {
cd "${pkgname}-${pkgver}"
python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
# config
install -vDm 644 config "${pkgdir}/etc/${pkgname}/config"
# fcgi/wsgi
More information about the arch-commits
mailing list