Date: Monday, December 31, 2018 @ 16:29:42
  Author: dvzrv
Revision: 420037

upgpkg: khard 0.13.0-1

Upgrading to 0.13.0. Switching to pythonhosted.org for source. Running tests in 
check().

Modified:
  khard/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-12-31 16:05:50 UTC (rev 420036)
+++ PKGBUILD    2018-12-31 16:29:42 UTC (rev 420037)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <d...@sleepmap.de>
 pkgname=khard
-pkgver=0.12.2
-pkgrel=4
+pkgver=0.13.0
+pkgrel=1
 pkgdesc="Console CardDAV client"
 arch=('any')
 url="https://github.com/scheibler/khard";
@@ -9,10 +9,11 @@
 depends=('python-atomicwrites' 'python-configobj' 'python-ruamel-yaml'
 'python-setuptools' 'python-unidecode' 'python-vobject')
 makedepends=('python-setuptools')
+checkdepends=('python-pytest')
 optdepends=('vdirsyncer: Synchronization of address books with a DAV server'
             'diffutils: Using sdiff_khard_wrapper.sh')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/scheibler/${pkgname}/archive/v${pkgver}.tar.gz";)
-sha512sums=('b46a51b8eea976ce7db0adc9e4e9ac1c0715e0b5e157bf6a437bea50d62f31028dde39d24af3ffe3ddbe066daf1992d7858545e7d5014de2fed35b11b1d9c0b2')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('353a51a06d6c7aa27b0f1cf35b3f7c113097ea4fa5e27bcb400f00de0cdd65ccaeadcc835b1cba541361a0395265cb967f731b23d875162f2be13381bc0979a6')
 
 build() {
   cd "$pkgname-$pkgver"
@@ -19,6 +20,11 @@
   python setup.py build
 }
 
+check() {
+  cd "$pkgname-$pkgver"
+  python setup.py test
+}
+
 package() {
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \

Reply via email to