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

Felix Yan felixonmars at archlinux.org
Wed Aug 5 18:20:18 UTC 2020


    Date: Wednesday, August 5, 2020 @ 18:20:18
  Author: felixonmars
Revision: 670290

upgpkg: python-update-checker 0.18.0-1

Modified:
  python-update-checker/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 18:16:30 UTC (rev 670289)
+++ PKGBUILD	2020-08-05 18:20:18 UTC (rev 670290)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-update-checker
-pkgver=0.17
+pkgver=0.18.0
 pkgrel=1
 pkgdesc="A python module that will check for package updates"
 arch=('any')
@@ -12,17 +12,18 @@
 conflicts=('python-update_checker')
 replaces=('python-update_checker')
 makedepends=('python-setuptools' 'python-requests')
+checkdepends=('python-pytest')
 source=("https://pypi.io/packages/source/u/update_checker/update_checker-$pkgver.tar.gz")
-sha512sums=('22498dccd3881323e194d8ab04d3cbac3c76a43d1e334cb57c653db3e1ccd5815004b7f3bf2309816466a8c19bef9c5f89c5145540bd8995e1843e164c0edf9a')
+sha512sums=('ab77b4904f27fc3a4f382dda08cf86fceedc6fa1c6a1f2b1d6ea42688f95ea1fbef4168d69233aec4a489d9ff7f93af60e8f1bf62854aa4d2f54136c540d26f1')
 
 build() {
-  cd "$srcdir"/update_checker-$pkgver
+  cd update_checker-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/update_checker-$pkgver
-  python setup.py test || echo "Ignoring test failures as it's the same in upstream CI."
+  cd update_checker-$pkgver
+  pytest
 }
 
 package() {



More information about the arch-commits mailing list