Date: Wednesday, December 14, 2022 @ 13:35:51
  Author: alucryd
Revision: 1359025

python-voluptuous-serialize 2.5.0-3: use pytest

Modified:
  python-voluptuous-serialize/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-14 13:25:40 UTC (rev 1359024)
+++ PKGBUILD    2022-12-14 13:35:51 UTC (rev 1359025)
@@ -1,8 +1,9 @@
-# Maintainer: Jameson Pugh <[email protected]>
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Jameson Pugh <[email protected]>
 
 pkgname=python-voluptuous-serialize
 pkgver=2.5.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Convert voluptuous schemas to JSON'
 arch=(any)
 url=https://github.com/balloob/voluptuous-serialize
@@ -15,29 +16,25 @@
 checkdepends=(python-pytest)
 _tag=bea77030a4a8b782eb19d0391fb15842ff6cbd40
 source=(git+https://github.com/balloob/voluptuous-serialize.git#tag=${_tag})
-sha256sums=(SKIP)
+b2sums=(SKIP)
 
 pkgver() {
   cd voluptuous-serialize
-
   git describe --tags
 }
 
 build() {
   cd voluptuous-serialize
-
   python setup.py build
 }
 
 check() {
   cd voluptuous-serialize
-
-  python setup.py test
+  PYTHONPATH=$PWD/build/lib pytest
 }
 
 package() {
   cd voluptuous-serialize
-
   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
 }
 

Reply via email to