[arch-commits] Commit in khard/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Apr 4 20:36:47 UTC 2020


    Date: Saturday, April 4, 2020 @ 20:36:47
  Author: dvzrv
Revision: 611736

upgpkg: khard 0.16.0-1: Upgrading to 0.16.0.

Adding python-sphinx-autoapi as makedepends.
Running pytest directly in check() instead of via setuptools.
Cleanups.

Modified:
  khard/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-04 20:34:06 UTC (rev 611735)
+++ PKGBUILD	2020-04-04 20:36:47 UTC (rev 611736)
@@ -1,6 +1,7 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
+
 pkgname=khard
-pkgver=0.15.1
+pkgver=0.16.0
 pkgrel=1
 pkgdesc="Console CardDAV client"
 arch=('any')
@@ -8,12 +9,13 @@
 license=('GPL3')
 depends=('python-atomicwrites' 'python-configobj' 'python-ruamel-yaml'
 'python-setuptools' 'python-unidecode' 'python-vobject')
-makedepends=('python-setuptools_scm' 'python-sphinx')
+makedepends=('python-sphinx-autoapi' 'python-sphinx-autodoc-typehints'
+'python-setuptools_scm' 'python-sphinx')
 checkdepends=('python-pytest')
 optdepends=('vdirsyncer: Synchronization of address books with a DAV server'
             'diffutils: Using sdiff_khard_wrapper.sh')
 source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('64ba1acf7e4046cd2e93034eb6e56fa38390993121880109a83411ef10839272b63e32c84efd9508230a93aed2b9a965f8333ed32344204f179ada936d9cce48')
+sha512sums=('3bc9c580ea3e1a4aa38366a50beaa7ae5ae40688100024ecef058cc899ac22ff9b47fbdb5279ee2377d8340edeb7e6e896c910f4f3d9a93ae4323952bb8765d4')
 
 build() {
   cd "$pkgname-$pkgver"
@@ -23,7 +25,7 @@
 
 check() {
   cd "$pkgname-$pkgver"
-  python setup.py test
+  pytest -v
 }
 
 package() {
@@ -38,14 +40,13 @@
   # twinkle integration
   install -vDm 644 misc/twinkle/scripts/*.py \
     -t "${pkgdir}/usr/share/${pkgname}/twinkle/scripts/"
-  install -vDm 644 misc/twinkle/sounds/*.wav \
+  install -vDm 644 misc/twinkle/sounds/*.ogg \
     -t "${pkgdir}/usr/share/${pkgname}/twinkle/sounds/"
   # zsh
   install -vDm 644 "misc/zsh/_"*"${pkgname}" \
     -t "${pkgdir}/usr/share/zsh/site-functions/"
   # docs
-  install -vDm 644 {AUTHORS,CHANGES,README.md} \
-                   "misc/${pkgname}/"*.{example,yaml} \
+  install -vDm 644 {CHANGES,CONTRIBUTING.rst,README.md} \
     -t "${pkgdir}/usr/share/doc/${pkgname}/"
   # man
   install -vDm 644 "doc/build/man/${pkgname}.1" \



More information about the arch-commits mailing list