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

Felix Yan felixonmars at archlinux.org
Wed Nov 18 22:47:35 UTC 2020


    Date: Wednesday, November 18, 2020 @ 22:47:34
  Author: felixonmars
Revision: 757288

upgpkg: python-sybil 2.0.0-1

Modified:
  python-sybil/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-18 22:46:57 UTC (rev 757287)
+++ PKGBUILD	2020-11-18 22:47:34 UTC (rev 757288)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-sybil
-pkgver=1.4.0
-pkgrel=3
+pkgver=2.0.0
+pkgrel=1
 pkgdesc='Automated testing for the examples in your documentation.'
 arch=('any')
 license=('MIT')
@@ -9,18 +9,18 @@
 url='https://github.com/cjw296/sybil'
 depends=('python')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-nose')
+checkdepends=('python-pytest')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/cjw296/sybil/archive/$pkgver.tar.gz")
-sha512sums=('ba5361265a43d35b1f2576a9aace9adf6c9f6ebc0ab60da69671f462f08c276df15b4fd5cd291e621d457d8a17f256fbaf86c11eef3d53fcd84f42e460e89682')
+sha512sums=('c441619db2404175e04b22c754d449095c219e5b6e97ed1411941797b8ac554980eb2a77371a84bb005e9497d42e42ffecc2ee3c34f2098e5c2fd220c3398895')
 
 build() {
-  cd "$srcdir"/sybil-$pkgver
+  cd sybil-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/sybil-$pkgver
-  python setup.py pytest
+  cd sybil-$pkgver
+  python -m pytest
 }
 
 package() {



More information about the arch-commits mailing list