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

Bruno Pagani archange at gemini.archlinux.org
Thu Jun 16 17:29:13 UTC 2022


    Date: Thursday, June 16, 2022 @ 17:29:13
  Author: archange
Revision: 1238157

upgpkg: python-locket 1.0.0-1

Modified:
  python-locket/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-16 17:25:33 UTC (rev 1238156)
+++ PKGBUILD	2022-06-16 17:29:13 UTC (rev 1238157)
@@ -2,8 +2,8 @@
 
 _pkg=locket
 pkgname=python-${_pkg}
-pkgver=0.2.1
-pkgrel=4
+pkgver=1.0.0
+pkgrel=1
 pkgdesc="File-based locks for Python"
 arch=(any)
 url="https://github.com/mwilliamson/locket.py"
@@ -10,11 +10,11 @@
 license=(BSD)
 makedepends=(python-setuptools)
 depends=(python)
-checkdepends=(python-nose python-spur)
+checkdepends=(python-pytest python-spur)
 # No tests in pypi tarballs
 #source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
 source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('cda50c4b8b759dd2661451897a1fc69c655467cd6654f5305eae4508e6c659d0')
+sha256sums=('1017278428998ac23c0716660587eeb39f069493d39922b7f5ae6c39c62f86c6')
 
 build() {
   cd ${_pkg}.py-${pkgver}
@@ -23,7 +23,7 @@
 
 check() {
   cd ${_pkg}.py-${pkgver}
-  PYTHONPATH="${PWD}/build/lib/" nosetests
+  PYTHONPATH="${PWD}/build/lib/" pytest
 }
 
 package() {



More information about the arch-commits mailing list